From 38b7c80217c4e72b1d8988eb1e60bb6e77334114 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:22 +0200 Subject: Adding upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- .../fortinet/fortios/plugins/httpapi/fortios.py | 22 +- .../plugins/module_utils/fortios/comparison.py | 55 +- .../plugins/module_utils/fortios/fortios.py | 68 +- .../plugins/module_utils/fortios/secret_field.py | 3 +- .../plugins/modules/fortios_alertemail_setting.py | 2600 +- .../modules/fortios_antivirus_exempt_list.py | 63 +- .../plugins/modules/fortios_antivirus_heuristic.py | 102 +- .../modules/fortios_antivirus_mms_checksum.py | 179 +- .../modules/fortios_antivirus_notification.py | 203 +- .../plugins/modules/fortios_antivirus_profile.py | 16888 +-------- .../modules/fortios_antivirus_quarantine.py | 4006 +- .../plugins/modules/fortios_antivirus_settings.py | 509 +- .../plugins/modules/fortios_application_custom.py | 355 +- .../plugins/modules/fortios_application_group.py | 666 +- .../plugins/modules/fortios_application_list.py | 3665 +- .../plugins/modules/fortios_application_name.py | 455 +- .../modules/fortios_application_rule_settings.py | 85 +- .../plugins/modules/fortios_authentication_rule.py | 1083 +- .../modules/fortios_authentication_scheme.py | 1039 +- .../modules/fortios_authentication_setting.py | 947 +- .../plugins/modules/fortios_automation_setting.py | 62 +- .../plugins/modules/fortios_casb_profile.py | 684 + .../modules/fortios_casb_saas_application.py | 414 + .../plugins/modules/fortios_casb_user_activity.py | 819 + .../plugins/modules/fortios_certificate_ca.py | 666 +- .../plugins/modules/fortios_certificate_crl.py | 638 +- .../plugins/modules/fortios_certificate_local.py | 1507 +- .../plugins/modules/fortios_certificate_remote.py | 310 +- .../modules/fortios_cifs_domain_controller.py | 117 +- .../plugins/modules/fortios_cifs_profile.py | 344 +- .../plugins/modules/fortios_configuration_fact.py | 293 +- .../fortios_credential_store_domain_controller.py | 91 +- .../plugins/modules/fortios_dlp_data_type.py | 172 +- .../plugins/modules/fortios_dlp_dictionary.py | 284 +- .../plugins/modules/fortios_dlp_filepattern.py | 2110 +- .../plugins/modules/fortios_dlp_fp_doc_source.py | 1286 +- .../plugins/modules/fortios_dlp_fp_sensitivity.py | 49 +- .../fortios/plugins/modules/fortios_dlp_profile.py | 962 +- .../plugins/modules/fortios_dlp_sensitivity.py | 93 +- .../fortios/plugins/modules/fortios_dlp_sensor.py | 2591 +- .../plugins/modules/fortios_dlp_settings.py | 300 +- .../modules/fortios_dnsfilter_domain_filter.py | 589 +- .../plugins/modules/fortios_dnsfilter_profile.py | 1788 +- .../fortios/plugins/modules/fortios_dpdk_cpus.py | 126 +- .../fortios/plugins/modules/fortios_dpdk_global.py | 444 +- .../fortios_emailfilter_block_allow_list.py | 612 +- .../plugins/modules/fortios_emailfilter_bwl.py | 379 +- .../plugins/modules/fortios_emailfilter_bword.py | 861 +- .../plugins/modules/fortios_emailfilter_dnsbl.py | 402 +- .../modules/fortios_emailfilter_fortishield.py | 241 +- .../plugins/modules/fortios_emailfilter_iptrust.py | 431 +- .../plugins/modules/fortios_emailfilter_mheader.py | 512 +- .../plugins/modules/fortios_emailfilter_options.py | 81 +- .../plugins/modules/fortios_emailfilter_profile.py | 3249 +- .../modules/fortios_endpoint_control_client.py | 99 +- .../modules/fortios_endpoint_control_fctems.py | 1453 +- .../fortios_endpoint_control_fctems_override.py | 219 +- .../fortios_endpoint_control_forticlient_ems.py | 124 +- ...dpoint_control_forticlient_registration_sync.py | 52 +- .../modules/fortios_endpoint_control_profile.py | 1535 +- ...tios_endpoint_control_registered_forticlient.py | 91 +- .../modules/fortios_endpoint_control_settings.py | 245 +- .../modules/fortios_export_config_playbook.py | 251 +- .../fortios_extender_controller_dataplan.py | 736 +- .../fortios_extender_controller_extender.py | 2764 +- ...fortios_extender_controller_extender_profile.py | 2509 +- .../modules/fortios_extender_extender_info.py | 59 +- .../fortios_extender_lte_carrier_by_mcc_mnc.py | 56 +- .../modules/fortios_extender_lte_carrier_list.py | 56 +- .../modules/fortios_extender_modem_status.py | 64 +- .../plugins/modules/fortios_extender_sys_info.py | 67 +- .../fortios_extension_controller_dataplan.py | 429 +- .../fortios_extension_controller_extender.py | 485 +- ...ortios_extension_controller_extender_profile.py | 1759 +- .../fortios_extension_controller_fortigate.py | 140 +- ...rtios_extension_controller_fortigate_profile.py | 98 +- .../plugins/modules/fortios_file_filter_profile.py | 961 +- .../modules/fortios_firewall_access_proxy.py | 8183 +---- .../modules/fortios_firewall_access_proxy6.py | 7829 +--- ...ortios_firewall_access_proxy_ssh_client_cert.py | 600 +- .../fortios_firewall_access_proxy_virtual_host.py | 189 +- .../plugins/modules/fortios_firewall_acl.py | 399 +- .../plugins/modules/fortios_firewall_acl6.py | 399 +- .../plugins/modules/fortios_firewall_address.py | 2704 +- .../plugins/modules/fortios_firewall_address6.py | 1630 +- .../modules/fortios_firewall_address6_template.py | 541 +- .../plugins/modules/fortios_firewall_addrgrp.py | 914 +- .../plugins/modules/fortios_firewall_addrgrp6.py | 587 +- .../modules/fortios_firewall_auth_portal.py | 243 +- .../fortios_firewall_carrier_endpoint_bwl.py | 293 +- .../modules/fortios_firewall_central_snat_map.py | 1154 +- .../plugins/modules/fortios_firewall_city.py | 86 +- .../fortios_firewall_consolidated_policy.py | 1794 +- .../plugins/modules/fortios_firewall_country.py | 120 +- .../fortios_firewall_decrypted_traffic_mirror.py | 316 +- .../modules/fortios_firewall_dnstranslation.py | 199 +- .../plugins/modules/fortios_firewall_dos_policy.py | 1093 +- .../modules/fortios_firewall_dos_policy6.py | 1093 +- .../plugins/modules/fortios_firewall_global.py | 67 +- .../plugins/modules/fortios_firewall_gtp.py | 9683 +---- .../fortios_firewall_identity_based_route.py | 317 +- .../modules/fortios_firewall_interface_policy.py | 1535 +- .../modules/fortios_firewall_interface_policy6.py | 1535 +- .../modules/fortios_firewall_internet_service.py | 473 +- .../fortios_firewall_internet_service_addition.py | 372 +- .../fortios_firewall_internet_service_append.py | 154 +- .../fortios_firewall_internet_service_botnet.py | 86 +- .../fortios_firewall_internet_service_custom.py | 598 +- ...rtios_firewall_internet_service_custom_group.py | 191 +- ...fortios_firewall_internet_service_definition.py | 293 +- .../fortios_firewall_internet_service_extension.py | 886 +- .../fortios_firewall_internet_service_group.py | 316 +- ...ortios_firewall_internet_service_ipbl_reason.py | 103 +- ...ortios_firewall_internet_service_ipbl_vendor.py | 103 +- .../fortios_firewall_internet_service_list.py | 103 +- .../fortios_firewall_internet_service_name.py | 254 +- .../fortios_firewall_internet_service_owner.py | 103 +- ...fortios_firewall_internet_service_reputation.py | 103 +- .../fortios_firewall_internet_service_sld.py | 103 +- .../modules/fortios_firewall_ip_translation.py | 260 +- .../fortios_firewall_ipmacbinding_setting.py | 323 +- .../modules/fortios_firewall_ipmacbinding_table.py | 289 +- .../plugins/modules/fortios_firewall_ippool.py | 1020 +- .../plugins/modules/fortios_firewall_ippool6.py | 331 +- .../modules/fortios_firewall_iprope_list.py | 64 +- .../modules/fortios_firewall_ipv6_eh_filter.py | 651 +- .../modules/fortios_firewall_ldb_monitor.py | 694 +- .../modules/fortios_firewall_local_in_policy.py | 925 +- .../modules/fortios_firewall_local_in_policy6.py | 835 +- .../modules/fortios_firewall_mms_profile.py | 4216 +-- .../modules/fortios_firewall_multicast_address.py | 572 +- .../modules/fortios_firewall_multicast_address6.py | 386 +- .../modules/fortios_firewall_multicast_policy.py | 1025 +- .../modules/fortios_firewall_multicast_policy6.py | 839 +- .../fortios_firewall_network_service_dynamic.py | 77 +- .../plugins/modules/fortios_firewall_pfcp.py | 354 +- .../plugins/modules/fortios_firewall_policy.py | 10892 +----- .../plugins/modules/fortios_firewall_policy46.py | 766 +- .../plugins/modules/fortios_firewall_policy6.py | 2415 +- .../plugins/modules/fortios_firewall_policy64.py | 766 +- .../modules/fortios_firewall_profile_group.py | 738 +- .../fortios_firewall_profile_protocol_options.py | 8860 +---- .../plugins/modules/fortios_firewall_proute.py | 64 +- .../modules/fortios_firewall_proxy_address.py | 1951 +- .../modules/fortios_firewall_proxy_addrgrp.py | 536 +- .../modules/fortios_firewall_proxy_policy.py | 4408 +-- .../plugins/modules/fortios_firewall_region.py | 120 +- .../modules/fortios_firewall_schedule_group.py | 263 +- .../modules/fortios_firewall_schedule_onetime.py | 363 +- .../modules/fortios_firewall_schedule_recurring.py | 536 +- .../modules/fortios_firewall_security_policy.py | 3878 +- .../modules/fortios_firewall_service_category.py | 203 +- .../modules/fortios_firewall_service_custom.py | 2231 +- .../modules/fortios_firewall_service_group.py | 385 +- .../fortios_firewall_shaper_per_ip_shaper.py | 590 +- .../fortios_firewall_shaper_traffic_shaper.py | 1021 +- .../modules/fortios_firewall_shaping_policy.py | 2508 +- .../modules/fortios_firewall_shaping_profile.py | 766 +- .../plugins/modules/fortios_firewall_sniffer.py | 2546 +- .../modules/fortios_firewall_ssh_host_key.py | 773 +- .../modules/fortios_firewall_ssh_local_ca.py | 285 +- .../modules/fortios_firewall_ssh_local_key.py | 285 +- .../modules/fortios_firewall_ssh_setting.py | 399 +- .../plugins/modules/fortios_firewall_ssl_server.py | 1272 +- .../modules/fortios_firewall_ssl_setting.py | 694 +- .../modules/fortios_firewall_ssl_ssh_profile.py | 12822 +------ .../modules/fortios_firewall_traffic_class.py | 126 +- .../plugins/modules/fortios_firewall_ttl_policy.py | 499 +- .../plugins/modules/fortios_firewall_vendor_mac.py | 116 +- .../plugins/modules/fortios_firewall_vip.py | 12535 +------ .../plugins/modules/fortios_firewall_vip46.py | 1032 +- .../plugins/modules/fortios_firewall_vip6.py | 11646 +----- .../plugins/modules/fortios_firewall_vip64.py | 1011 +- .../plugins/modules/fortios_firewall_vipgrp.py | 287 +- .../plugins/modules/fortios_firewall_vipgrp46.py | 164 +- .../plugins/modules/fortios_firewall_vipgrp6.py | 255 +- .../plugins/modules/fortios_firewall_vipgrp64.py | 164 +- .../fortios_firewall_wildcard_fqdn_custom.py | 266 +- .../fortios_firewall_wildcard_fqdn_group.py | 294 +- .../plugins/modules/fortios_ftp_proxy_explicit.py | 723 +- .../fortios/plugins/modules/fortios_gtp_apn.py | 106 +- .../plugins/modules/fortios_gtp_apn_shaper.py | 253 +- .../fortios/plugins/modules/fortios_gtp_apngrp.py | 131 +- .../plugins/modules/fortios_gtp_ie_allow_list.py | 106 +- .../plugins/modules/fortios_gtp_ie_white_list.py | 141 +- .../modules/fortios_gtp_message_filter_v0v1.py | 2681 +- .../modules/fortios_gtp_message_filter_v2.py | 2301 +- .../modules/fortios_gtp_rat_timeout_profile.py | 168 +- .../plugins/modules/fortios_gtp_tunnel_limit.py | 106 +- .../plugins/modules/fortios_hardware_nic.py | 64 +- .../modules/fortios_hardware_npu_np6_dce.py | 64 +- .../fortios_hardware_npu_np6_session_stats.py | 64 +- .../modules/fortios_hardware_npu_np6_sse_stats.py | 64 +- .../plugins/modules/fortios_icap_profile.py | 2375 +- .../fortios/plugins/modules/fortios_icap_server.py | 582 +- .../plugins/modules/fortios_icap_server_group.py | 126 +- .../fortios/plugins/modules/fortios_ips_custom.py | 706 +- .../fortios/plugins/modules/fortios_ips_decoder.py | 149 +- .../fortios/plugins/modules/fortios_ips_global.py | 1387 +- .../fortios/plugins/modules/fortios_ips_rule.py | 647 +- .../plugins/modules/fortios_ips_rule_settings.py | 85 +- .../fortios/plugins/modules/fortios_ips_sensor.py | 2946 +- .../plugins/modules/fortios_ips_settings.py | 181 +- .../plugins/modules/fortios_ips_view_map.py | 285 +- .../plugins/modules/fortios_json_generic.py | 184 +- .../plugins/modules/fortios_log_custom_field.py | 163 +- .../plugins/modules/fortios_log_disk_filter.py | 2460 +- .../plugins/modules/fortios_log_disk_setting.py | 2407 +- .../plugins/modules/fortios_log_eventfilter.py | 1450 +- .../fortios/plugins/modules/fortios_log_fact.py | 39 +- .../modules/fortios_log_fortianalyzer2_filter.py | 1719 +- .../fortios_log_fortianalyzer2_override_filter.py | 1555 +- .../fortios_log_fortianalyzer2_override_setting.py | 1736 +- .../modules/fortios_log_fortianalyzer2_setting.py | 1808 +- .../modules/fortios_log_fortianalyzer3_filter.py | 1719 +- .../fortios_log_fortianalyzer3_override_filter.py | 1555 +- .../fortios_log_fortianalyzer3_override_setting.py | 1736 +- .../modules/fortios_log_fortianalyzer3_setting.py | 1808 +- .../fortios_log_fortianalyzer_cloud_filter.py | 1658 +- ...tios_log_fortianalyzer_cloud_override_filter.py | 1658 +- ...ios_log_fortianalyzer_cloud_override_setting.py | 176 +- .../fortios_log_fortianalyzer_cloud_setting.py | 1579 +- .../modules/fortios_log_fortianalyzer_filter.py | 1719 +- .../fortios_log_fortianalyzer_override_filter.py | 1719 +- .../fortios_log_fortianalyzer_override_setting.py | 1929 +- .../modules/fortios_log_fortianalyzer_setting.py | 1808 +- .../modules/fortios_log_fortiguard_filter.py | 1644 +- .../fortios_log_fortiguard_override_filter.py | 1644 +- .../fortios_log_fortiguard_override_setting.py | 747 +- .../modules/fortios_log_fortiguard_setting.py | 1145 +- .../plugins/modules/fortios_log_gui_display.py | 323 +- .../plugins/modules/fortios_log_memory_filter.py | 2370 +- .../modules/fortios_log_memory_global_setting.py | 172 +- .../plugins/modules/fortios_log_memory_setting.py | 173 +- .../modules/fortios_log_null_device_filter.py | 1629 +- .../modules/fortios_log_null_device_setting.py | 143 +- .../fortios/plugins/modules/fortios_log_setting.py | 2078 +- .../plugins/modules/fortios_log_syslogd2_filter.py | 1629 +- .../fortios_log_syslogd2_override_filter.py | 1474 +- .../fortios_log_syslogd2_override_setting.py | 1822 +- .../modules/fortios_log_syslogd2_setting.py | 2002 +- .../plugins/modules/fortios_log_syslogd3_filter.py | 1629 +- .../fortios_log_syslogd3_override_filter.py | 1474 +- .../fortios_log_syslogd3_override_setting.py | 1822 +- .../modules/fortios_log_syslogd3_setting.py | 2002 +- .../plugins/modules/fortios_log_syslogd4_filter.py | 1629 +- .../fortios_log_syslogd4_override_filter.py | 1474 +- .../fortios_log_syslogd4_override_setting.py | 1822 +- .../modules/fortios_log_syslogd4_setting.py | 2002 +- .../plugins/modules/fortios_log_syslogd_filter.py | 1629 +- .../modules/fortios_log_syslogd_override_filter.py | 1629 +- .../fortios_log_syslogd_override_setting.py | 2033 +- .../plugins/modules/fortios_log_syslogd_setting.py | 2002 +- .../fortios_log_tacacsplusaccounting2_filter.py | 203 +- .../fortios_log_tacacsplusaccounting2_setting.py | 198 +- .../fortios_log_tacacsplusaccounting3_filter.py | 203 +- .../fortios_log_tacacsplusaccounting3_setting.py | 198 +- .../fortios_log_tacacsplusaccounting_filter.py | 203 +- .../fortios_log_tacacsplusaccounting_setting.py | 198 +- .../plugins/modules/fortios_log_threat_weight.py | 5719 +-- .../modules/fortios_log_webtrends_filter.py | 1629 +- .../modules/fortios_log_webtrends_setting.py | 175 +- .../fortios/plugins/modules/fortios_monitor.py | 104 +- .../plugins/modules/fortios_monitor_fact.py | 116 +- .../modules/fortios_monitoring_np6_ipsec_engine.py | 168 +- .../plugins/modules/fortios_monitoring_npu_hpe.py | 108 +- .../plugins/modules/fortios_nsxt_service_chain.py | 184 +- .../plugins/modules/fortios_nsxt_setting.py | 112 +- .../plugins/modules/fortios_pfcp_message_filter.py | 583 +- .../plugins/modules/fortios_report_chart.py | 2127 +- .../plugins/modules/fortios_report_dataset.py | 405 +- .../plugins/modules/fortios_report_layout.py | 3483 +- .../plugins/modules/fortios_report_setting.py | 416 +- .../plugins/modules/fortios_report_style.py | 890 +- .../plugins/modules/fortios_report_theme.py | 661 +- .../plugins/modules/fortios_router_access_list.py | 455 +- .../plugins/modules/fortios_router_access_list6.py | 427 +- .../plugins/modules/fortios_router_aspath_list.py | 283 +- .../plugins/modules/fortios_router_auth_path.py | 163 +- .../fortios/plugins/modules/fortios_router_bfd.py | 333 +- .../fortios/plugins/modules/fortios_router_bfd6.py | 329 +- .../fortios/plugins/modules/fortios_router_bgp.py | 20492 +---------- .../modules/fortios_router_community_list.py | 405 +- .../modules/fortios_router_extcommunity_list.py | 95 +- .../fortios/plugins/modules/fortios_router_isis.py | 5472 +-- .../plugins/modules/fortios_router_key_chain.py | 383 +- .../plugins/modules/fortios_router_multicast.py | 3237 +- .../plugins/modules/fortios_router_multicast6.py | 512 +- .../modules/fortios_router_multicast_flow.py | 257 +- .../fortios/plugins/modules/fortios_router_ospf.py | 5901 +-- .../plugins/modules/fortios_router_ospf6.py | 5365 +-- .../plugins/modules/fortios_router_policy.py | 1287 +- .../plugins/modules/fortios_router_policy6.py | 1009 +- .../plugins/modules/fortios_router_prefix_list.py | 397 +- .../plugins/modules/fortios_router_prefix_list6.py | 401 +- .../fortios/plugins/modules/fortios_router_rip.py | 2337 +- .../plugins/modules/fortios_router_ripng.py | 1900 +- .../plugins/modules/fortios_router_route_map.py | 2507 +- .../plugins/modules/fortios_router_setting.py | 405 +- .../plugins/modules/fortios_router_static.py | 1126 +- .../plugins/modules/fortios_router_static6.py | 972 +- .../plugins/modules/fortios_sctp_filter_profile.py | 242 +- .../plugins/modules/fortios_spamfilter_bwl.py | 223 +- .../plugins/modules/fortios_spamfilter_bword.py | 269 +- .../plugins/modules/fortios_spamfilter_dnsbl.py | 132 +- .../modules/fortios_spamfilter_fortishield.py | 65 +- .../plugins/modules/fortios_spamfilter_iptrust.py | 139 +- .../plugins/modules/fortios_spamfilter_mheader.py | 162 +- .../plugins/modules/fortios_spamfilter_options.py | 35 +- .../plugins/modules/fortios_spamfilter_profile.py | 684 +- .../plugins/modules/fortios_ssh_filter_profile.py | 1588 +- .../fortios_switch_controller_802_1x_settings.py | 291 +- .../modules/fortios_switch_controller_acl_group.py | 48 +- .../fortios_switch_controller_acl_ingress.py | 86 +- ...fortios_switch_controller_auto_config_custom.py | 176 +- ...ortios_switch_controller_auto_config_default.py | 137 +- ...fortios_switch_controller_auto_config_policy.py | 394 +- .../fortios_switch_controller_custom_command.py | 159 +- ...ortios_switch_controller_dynamic_port_policy.py | 590 +- .../fortios_switch_controller_flow_tracking.py | 1069 +- ...fortios_switch_controller_fortilink_settings.py | 397 +- .../modules/fortios_switch_controller_global.py | 1602 +- .../fortios_switch_controller_igmp_snooping.py | 204 +- ...os_switch_controller_initial_config_template.py | 548 +- ...rtios_switch_controller_initial_config_vlans.py | 221 +- .../fortios_switch_controller_lldp_profile.py | 1379 +- .../fortios_switch_controller_lldp_settings.py | 330 +- .../modules/fortios_switch_controller_location.py | 1501 +- .../fortios_switch_controller_mac_policy.py | 326 +- .../fortios_switch_controller_mac_sync_settings.py | 35 +- .../fortios_switch_controller_managed_switch.py | 15049 +------- .../fortios_switch_controller_nac_device.py | 111 +- .../fortios_switch_controller_nac_settings.py | 123 +- ...s_switch_controller_network_monitor_settings.py | 143 +- .../modules/fortios_switch_controller_poe.py | 41 +- .../fortios_switch_controller_port_policy.py | 106 +- ...rtios_switch_controller_ptp_interface_policy.py | 388 + .../fortios_switch_controller_ptp_policy.py | 145 +- .../fortios_switch_controller_ptp_profile.py | 444 + .../fortios_switch_controller_ptp_settings.py | 132 +- .../fortios_switch_controller_qos_dot1p_map.py | 2367 +- .../fortios_switch_controller_qos_ip_dscp_map.py | 1183 +- .../fortios_switch_controller_qos_qos_policy.py | 227 +- .../fortios_switch_controller_qos_queue_policy.py | 717 +- .../fortios_switch_controller_quarantine.py | 305 +- .../fortios_switch_controller_remote_log.py | 1229 +- ...ios_switch_controller_security_policy_802_1x.py | 1262 +- ...ch_controller_security_policy_captive_portal.py | 80 +- ...itch_controller_security_policy_local_access.py | 523 +- .../modules/fortios_switch_controller_sflow.py | 117 +- .../fortios_switch_controller_snmp_community.py | 951 +- .../fortios_switch_controller_snmp_sysinfo.py | 247 +- ...ortios_switch_controller_snmp_trap_threshold.py | 137 +- .../modules/fortios_switch_controller_snmp_user.py | 770 +- .../fortios_switch_controller_storm_control.py | 355 +- ...rtios_switch_controller_storm_control_policy.py | 501 +- .../fortios_switch_controller_stp_instance.py | 147 +- .../fortios_switch_controller_stp_settings.py | 308 +- .../fortios_switch_controller_switch_group.py | 235 +- ...rtios_switch_controller_switch_interface_tag.py | 99 +- .../fortios_switch_controller_switch_log.py | 412 +- .../fortios_switch_controller_switch_profile.py | 373 +- .../modules/fortios_switch_controller_system.py | 533 +- .../fortios_switch_controller_traffic_policy.py | 383 +- .../fortios_switch_controller_traffic_sniffer.py | 575 +- .../fortios_switch_controller_virtual_port_pool.py | 131 +- .../modules/fortios_switch_controller_vlan.py | 247 +- .../fortios_switch_controller_vlan_policy.py | 412 +- .../modules/fortios_system_3g_modem_custom.py | 270 +- .../plugins/modules/fortios_system_accprofile.py | 5657 +-- .../fortios/plugins/modules/fortios_system_acme.py | 305 +- .../plugins/modules/fortios_system_admin.py | 3320 +- .../modules/fortios_system_affinity_interrupt.py | 98 +- ...ortios_system_affinity_packet_redistribution.py | 135 +- .../plugins/modules/fortios_system_alarm.py | 871 +- .../plugins/modules/fortios_system_alias.py | 131 +- .../plugins/modules/fortios_system_api_user.py | 656 +- .../plugins/modules/fortios_system_arp_table.py | 199 +- .../plugins/modules/fortios_system_auto_install.py | 297 +- .../plugins/modules/fortios_system_auto_script.py | 349 +- .../modules/fortios_system_automation_action.py | 2762 +- .../fortios_system_automation_destination.py | 281 +- .../modules/fortios_system_automation_stitch.py | 497 +- .../modules/fortios_system_automation_trigger.py | 2299 +- .../fortios_system_autoupdate_push_update.py | 171 +- .../modules/fortios_system_autoupdate_schedule.py | 563 +- .../modules/fortios_system_autoupdate_tunneling.py | 271 +- .../modules/fortios_system_central_management.py | 1907 +- .../plugins/modules/fortios_system_cluster_sync.py | 908 +- .../plugins/modules/fortios_system_console.py | 585 +- .../fortios/plugins/modules/fortios_system_csf.py | 1871 +- .../modules/fortios_system_custom_language.py | 163 +- .../fortios/plugins/modules/fortios_system_ddns.py | 1342 +- .../modules/fortios_system_dedicated_mgmt.py | 393 +- .../modules/fortios_system_device_upgrade.py | 188 +- .../plugins/modules/fortios_system_dhcp6_server.py | 1352 +- .../plugins/modules/fortios_system_dhcp_server.py | 6991 +--- .../fortios/plugins/modules/fortios_system_dns.py | 1173 +- .../plugins/modules/fortios_system_dns64.py | 177 +- .../plugins/modules/fortios_system_dns_database.py | 1418 +- .../plugins/modules/fortios_system_dns_server.py | 348 +- .../modules/fortios_system_dscp_based_priority.py | 254 +- .../plugins/modules/fortios_system_email_server.py | 941 +- .../fortios/plugins/modules/fortios_system_evpn.py | 84 +- .../modules/fortios_system_external_resource.py | 871 +- .../plugins/modules/fortios_system_fabric_vpn.py | 251 +- .../modules/fortios_system_federated_upgrade.py | 1012 +- .../plugins/modules/fortios_system_fips_cc.py | 388 +- .../fortios/plugins/modules/fortios_system_fm.py | 317 +- .../plugins/modules/fortios_system_fortiai.py | 147 +- .../plugins/modules/fortios_system_fortiguard.py | 3176 +- .../plugins/modules/fortios_system_fortimanager.py | 351 +- .../plugins/modules/fortios_system_fortindr.py | 146 +- .../plugins/modules/fortios_system_fortisandbox.py | 785 +- .../plugins/modules/fortios_system_fsso_polling.py | 297 +- .../plugins/modules/fortios_system_ftm_push.py | 289 +- .../plugins/modules/fortios_system_geneve.py | 388 +- .../modules/fortios_system_geoip_country.py | 99 +- .../modules/fortios_system_geoip_override.py | 394 +- .../plugins/modules/fortios_system_gi_gk.py | 93 +- .../plugins/modules/fortios_system_global.py | 19917 +--------- .../plugins/modules/fortios_system_gre_tunnel.py | 947 +- .../fortios/plugins/modules/fortios_system_ha.py | 5171 +-- .../plugins/modules/fortios_system_ha_monitor.py | 207 +- .../fortios/plugins/modules/fortios_system_ike.py | 3409 +- .../plugins/modules/fortios_system_interface.py | 21022 +---------- .../fortios/plugins/modules/fortios_system_ipam.py | 494 +- .../plugins/modules/fortios_system_ipip_tunnel.py | 342 +- .../fortios/plugins/modules/fortios_system_ips.py | 132 +- .../modules/fortios_system_ips_urlfilter_dns.py | 279 +- .../modules/fortios_system_ips_urlfilter_dns6.py | 189 +- .../modules/fortios_system_ipsec_aggregate.py | 308 +- .../modules/fortios_system_ipv6_neighbor_cache.py | 199 +- .../plugins/modules/fortios_system_ipv6_tunnel.py | 342 +- .../modules/fortios_system_isf_queue_profile.py | 111 +- .../plugins/modules/fortios_system_link_monitor.py | 1976 +- .../modules/fortios_system_lldp_network_policy.py | 2530 +- .../plugins/modules/fortios_system_lte_modem.py | 477 +- .../modules/fortios_system_mac_address_table.py | 163 +- .../modules/fortios_system_management_tunnel.py | 625 +- .../plugins/modules/fortios_system_mem_mgr.py | 53 +- .../modules/fortios_system_mobile_tunnel.py | 815 +- .../plugins/modules/fortios_system_modem.py | 2613 +- .../plugins/modules/fortios_system_nat64.py | 367 +- .../plugins/modules/fortios_system_nd_proxy.py | 203 +- .../plugins/modules/fortios_system_netflow.py | 395 +- .../modules/fortios_system_network_visibility.py | 477 +- .../fortios/plugins/modules/fortios_system_np6.py | 4389 +-- .../fortios/plugins/modules/fortios_system_npu.py | 2141 +- .../fortios/plugins/modules/fortios_system_ntp.py | 1190 +- .../modules/fortios_system_object_tagging.py | 638 +- .../modules/fortios_system_password_policy.py | 685 +- .../fortios_system_password_policy_guest_admin.py | 656 +- .../plugins/modules/fortios_system_pcp_server.py | 161 +- .../modules/fortios_system_performance_top.py | 64 +- .../modules/fortios_system_physical_switch.py | 358 +- .../modules/fortios_system_pppoe_interface.py | 900 +- .../modules/fortios_system_probe_response.py | 509 +- .../plugins/modules/fortios_system_proxy_arp.py | 199 +- .../fortios/plugins/modules/fortios_system_ptp.py | 539 +- .../modules/fortios_system_replacemsg_admin.py | 298 +- .../modules/fortios_system_replacemsg_alertmail.py | 298 +- .../modules/fortios_system_replacemsg_auth.py | 298 +- .../fortios_system_replacemsg_automation.py | 162 +- ...os_system_replacemsg_device_detection_portal.py | 199 +- .../modules/fortios_system_replacemsg_ec.py | 95 +- .../fortios_system_replacemsg_fortiguard_wf.py | 298 +- .../modules/fortios_system_replacemsg_ftp.py | 298 +- .../modules/fortios_system_replacemsg_group.py | 8847 +---- .../modules/fortios_system_replacemsg_http.py | 298 +- .../modules/fortios_system_replacemsg_icap.py | 298 +- .../modules/fortios_system_replacemsg_image.py | 280 +- .../modules/fortios_system_replacemsg_mail.py | 298 +- .../modules/fortios_system_replacemsg_mm1.py | 704 +- .../modules/fortios_system_replacemsg_mm3.py | 432 +- .../modules/fortios_system_replacemsg_mm4.py | 640 +- .../modules/fortios_system_replacemsg_mm7.py | 949 +- .../modules/fortios_system_replacemsg_mms.py | 245 +- .../modules/fortios_system_replacemsg_nac_quar.py | 298 +- .../modules/fortios_system_replacemsg_nntp.py | 199 +- .../modules/fortios_system_replacemsg_spam.py | 298 +- .../modules/fortios_system_replacemsg_sslvpn.py | 298 +- .../fortios_system_replacemsg_traffic_quota.py | 298 +- .../modules/fortios_system_replacemsg_utm.py | 298 +- .../modules/fortios_system_replacemsg_webproxy.py | 298 +- .../modules/fortios_system_resource_limits.py | 629 +- .../fortios/plugins/modules/fortios_system_saml.py | 1227 +- .../modules/fortios_system_sdn_connector.py | 3571 +- .../plugins/modules/fortios_system_sdn_proxy.py | 57 +- .../plugins/modules/fortios_system_sdwan.py | 7439 +--- .../modules/fortios_system_session_helper.py | 750 +- .../plugins/modules/fortios_system_session_ttl.py | 289 +- .../plugins/modules/fortios_system_settings.py | 10595 +----- .../plugins/modules/fortios_system_sflow.py | 267 +- .../plugins/modules/fortios_system_sit_tunnel.py | 374 +- .../plugins/modules/fortios_system_smc_ntp.py | 61 +- .../plugins/modules/fortios_system_sms_server.py | 131 +- .../modules/fortios_system_snmp_community.py | 2836 +- .../modules/fortios_system_snmp_mib_view.py | 68 +- .../plugins/modules/fortios_system_snmp_sysinfo.py | 453 +- .../plugins/modules/fortios_system_snmp_user.py | 2607 +- .../modules/fortios_system_speed_test_schedule.py | 487 +- .../modules/fortios_system_speed_test_server.py | 372 +- .../modules/fortios_system_speed_test_setting.py | 342 + .../plugins/modules/fortios_system_sso_admin.py | 443 +- .../modules/fortios_system_sso_forticloud_admin.py | 128 +- .../fortios_system_sso_fortigate_cloud_admin.py | 50 +- .../modules/fortios_system_standalone_cluster.py | 585 +- .../plugins/modules/fortios_system_storage.py | 645 +- .../fortios/plugins/modules/fortios_system_stp.py | 521 +- .../modules/fortios_system_switch_interface.py | 701 +- .../modules/fortios_system_tos_based_priority.py | 254 +- .../fortios/plugins/modules/fortios_system_vdom.py | 202 +- .../plugins/modules/fortios_system_vdom_dns.py | 803 +- .../modules/fortios_system_vdom_exception.py | 1440 +- .../plugins/modules/fortios_system_vdom_link.py | 305 +- .../plugins/modules/fortios_system_vdom_netflow.py | 357 +- .../modules/fortios_system_vdom_property.py | 685 +- .../modules/fortios_system_vdom_radius_server.py | 221 +- .../plugins/modules/fortios_system_vdom_sflow.py | 359 +- .../modules/fortios_system_virtual_switch.py | 699 +- .../modules/fortios_system_virtual_wan_link.py | 2747 +- .../modules/fortios_system_virtual_wire_pair.py | 281 +- .../plugins/modules/fortios_system_vne_tunnel.py | 462 +- .../plugins/modules/fortios_system_vxlan.py | 570 +- .../fortios/plugins/modules/fortios_system_wccp.py | 1549 +- .../fortios/plugins/modules/fortios_system_zone.py | 435 +- .../fortios/plugins/modules/fortios_user_adgrp.py | 185 +- .../plugins/modules/fortios_user_certificate.py | 231 +- .../fortios/plugins/modules/fortios_user_device.py | 302 +- .../modules/fortios_user_device_access_list.py | 102 +- .../modules/fortios_user_device_category.py | 59 +- .../plugins/modules/fortios_user_device_group.py | 128 +- .../modules/fortios_user_domain_controller.py | 1160 +- .../plugins/modules/fortios_user_exchange.py | 984 +- .../plugins/modules/fortios_user_fortitoken.py | 411 +- .../fortios/plugins/modules/fortios_user_fsso.py | 1369 +- .../plugins/modules/fortios_user_fsso_polling.py | 677 +- .../fortios/plugins/modules/fortios_user_group.py | 2138 +- .../plugins/modules/fortios_user_krb_keytab.py | 320 +- .../fortios/plugins/modules/fortios_user_ldap.py | 2364 +- .../fortios/plugins/modules/fortios_user_local.py | 1505 +- .../plugins/modules/fortios_user_nac_policy.py | 809 +- .../modules/fortios_user_password_policy.py | 320 +- .../fortios/plugins/modules/fortios_user_peer.py | 840 +- .../plugins/modules/fortios_user_peergrp.py | 159 +- .../fortios/plugins/modules/fortios_user_pop3.py | 463 +- .../plugins/modules/fortios_user_quarantine.py | 499 +- .../fortios/plugins/modules/fortios_user_radius.py | 5891 +-- .../fortios/plugins/modules/fortios_user_saml.py | 1508 +- .../modules/fortios_user_security_exempt_list.py | 394 +- .../plugins/modules/fortios_user_setting.py | 1798 +- .../plugins/modules/fortios_user_tacacsplus.py | 760 +- .../plugins/modules/fortios_videofilter_profile.py | 599 +- .../fortios_videofilter_youtube_channel_filter.py | 454 +- .../modules/fortios_videofilter_youtube_key.py | 101 +- .../modules/fortios_virtual_patch_profile.py | 535 + .../plugins/modules/fortios_voip_profile.py | 10918 +----- .../plugins/modules/fortios_vpn_certificate_ca.py | 666 +- .../plugins/modules/fortios_vpn_certificate_crl.py | 638 +- .../modules/fortios_vpn_certificate_local.py | 1508 +- .../modules/fortios_vpn_certificate_ocsp_server.py | 349 +- .../modules/fortios_vpn_certificate_remote.py | 340 +- .../modules/fortios_vpn_certificate_setting.py | 2160 +- .../plugins/modules/fortios_vpn_ike_gateway.py | 64 +- .../modules/fortios_vpn_ipsec_concentrator.py | 285 +- .../plugins/modules/fortios_vpn_ipsec_fec.py | 228 +- .../modules/fortios_vpn_ipsec_forticlient.py | 253 +- .../plugins/modules/fortios_vpn_ipsec_manualkey.py | 951 +- .../fortios_vpn_ipsec_manualkey_interface.py | 1195 +- .../plugins/modules/fortios_vpn_ipsec_phase1.py | 10311 +----- .../modules/fortios_vpn_ipsec_phase1_interface.py | 12780 +------ .../plugins/modules/fortios_vpn_ipsec_phase2.py | 5175 +-- .../modules/fortios_vpn_ipsec_phase2_interface.py | 5444 +-- .../plugins/modules/fortios_vpn_kmip_server.py | 116 +- .../fortios/plugins/modules/fortios_vpn_l2tp.py | 501 +- .../fortios/plugins/modules/fortios_vpn_ocvpn.py | 1568 +- .../fortios/plugins/modules/fortios_vpn_pptp.py | 361 +- .../plugins/modules/fortios_vpn_ssl_client.py | 456 +- .../plugins/modules/fortios_vpn_ssl_settings.py | 6254 +--- .../fortios_vpn_ssl_web_host_check_software.py | 738 +- .../plugins/modules/fortios_vpn_ssl_web_portal.py | 9507 +---- .../plugins/modules/fortios_vpn_ssl_web_realm.py | 396 +- .../modules/fortios_vpn_ssl_web_user_bookmark.py | 3341 +- .../fortios_vpn_ssl_web_user_group_bookmark.py | 3309 +- .../plugins/modules/fortios_waf_main_class.py | 135 +- .../fortios/plugins/modules/fortios_waf_profile.py | 11416 +----- .../plugins/modules/fortios_waf_signature.py | 135 +- .../plugins/modules/fortios_waf_sub_class.py | 135 +- .../plugins/modules/fortios_wanopt_auth_group.py | 404 +- .../modules/fortios_wanopt_cache_service.py | 760 +- ...fortios_wanopt_content_delivery_network_rule.py | 2362 +- .../fortios/plugins/modules/fortios_wanopt_peer.py | 127 +- .../plugins/modules/fortios_wanopt_profile.py | 3830 +- .../modules/fortios_wanopt_remote_storage.py | 239 +- .../plugins/modules/fortios_wanopt_settings.py | 362 +- .../plugins/modules/fortios_wanopt_webcache.py | 1235 +- .../plugins/modules/fortios_web_proxy_debug_url.py | 311 +- .../plugins/modules/fortios_web_proxy_explicit.py | 2288 +- .../modules/fortios_web_proxy_fast_fallback.py | 415 + .../modules/fortios_web_proxy_forward_server.py | 601 +- .../fortios_web_proxy_forward_server_group.py | 490 +- .../plugins/modules/fortios_web_proxy_global.py | 1153 +- .../plugins/modules/fortios_web_proxy_profile.py | 1925 +- .../plugins/modules/fortios_web_proxy_url_match.py | 382 +- .../plugins/modules/fortios_web_proxy_wisp.py | 291 +- .../plugins/modules/fortios_webfilter_content.py | 828 +- .../modules/fortios_webfilter_content_header.py | 375 +- .../modules/fortios_webfilter_fortiguard.py | 770 +- .../modules/fortios_webfilter_ftgd_local_cat.py | 221 +- .../modules/fortios_webfilter_ftgd_local_rating.py | 253 +- ...ortios_webfilter_ips_urlfilter_cache_setting.py | 117 +- .../fortios_webfilter_ips_urlfilter_setting.py | 181 +- .../fortios_webfilter_ips_urlfilter_setting6.py | 181 +- .../plugins/modules/fortios_webfilter_override.py | 598 +- .../plugins/modules/fortios_webfilter_profile.py | 8352 +---- .../modules/fortios_webfilter_search_engine.py | 586 +- .../plugins/modules/fortios_webfilter_status.py | 64 +- .../plugins/modules/fortios_webfilter_urlfilter.py | 1391 +- ...tios_wireless_controller_access_control_list.py | 644 +- .../modules/fortios_wireless_controller_address.py | 173 +- .../modules/fortios_wireless_controller_addrgrp.py | 193 +- .../fortios_wireless_controller_ap_status.py | 286 +- .../fortios_wireless_controller_apcfg_profile.py | 544 +- .../fortios_wireless_controller_arrp_profile.py | 669 +- .../fortios_wireless_controller_ble_profile.py | 1042 +- .../fortios_wireless_controller_bonjour_profile.py | 710 +- .../fortios_wireless_controller_client_info.py | 67 +- .../modules/fortios_wireless_controller_global.py | 1352 +- ...less_controller_hotspot20_anqp_3gpp_cellular.py | 225 +- ...ss_controller_hotspot20_anqp_ip_address_type.py | 487 +- ...wireless_controller_hotspot20_anqp_nai_realm.py | 1752 +- ..._controller_hotspot20_anqp_network_auth_type.py | 280 +- ...controller_hotspot20_anqp_roaming_consortium.py | 225 +- ...ireless_controller_hotspot20_anqp_venue_name.py | 225 +- ...wireless_controller_hotspot20_anqp_venue_url.py | 140 +- ...s_controller_hotspot20_h2qp_advice_of_charge.py | 323 +- ...ss_controller_hotspot20_h2qp_conn_capability.py | 1408 +- ...less_controller_hotspot20_h2qp_operator_name.py | 225 +- ...eless_controller_hotspot20_h2qp_osu_provider.py | 566 +- ...s_controller_hotspot20_h2qp_osu_provider_nai.py | 118 +- ...ntroller_hotspot20_h2qp_terms_and_conditions.py | 122 +- ...ireless_controller_hotspot20_h2qp_wan_metric.py | 558 +- ...ios_wireless_controller_hotspot20_hs_profile.py | 4136 +-- .../fortios_wireless_controller_hotspot20_icon.py | 466 +- ...ortios_wireless_controller_hotspot20_qos_map.py | 383 +- ...fortios_wireless_controller_inter_controller.py | 626 +- .../modules/fortios_wireless_controller_log.py | 2793 +- .../fortios_wireless_controller_mpsk_profile.py | 490 +- .../fortios_wireless_controller_nac_profile.py | 110 +- .../fortios_wireless_controller_qos_profile.py | 1339 +- .../modules/fortios_wireless_controller_region.py | 242 +- .../fortios_wireless_controller_rf_analysis.py | 64 +- .../modules/fortios_wireless_controller_setting.py | 6723 +--- .../modules/fortios_wireless_controller_snmp.py | 1444 +- .../fortios_wireless_controller_spectral_info.py | 67 +- .../fortios_wireless_controller_ssid_policy.py | 110 +- .../modules/fortios_wireless_controller_status.py | 64 +- .../fortios_wireless_controller_syslog_profile.py | 411 +- .../modules/fortios_wireless_controller_timers.py | 621 +- .../fortios_wireless_controller_utm_profile.py | 468 +- .../modules/fortios_wireless_controller_vap.py | 16239 +-------- .../fortios_wireless_controller_vap_group.py | 191 +- .../fortios_wireless_controller_vap_status.py | 64 +- .../fortios_wireless_controller_wag_profile.py | 377 +- .../fortios_wireless_controller_wids_profile.py | 2913 +- .../modules/fortios_wireless_controller_wtp.py | 11407 +----- .../fortios_wireless_controller_wtp_group.py | 2472 +- .../fortios_wireless_controller_wtp_profile.py | 36094 ++----------------- .../fortios_wireless_controller_wtp_status.py | 64 +- 670 files changed, 65783 insertions(+), 806392 deletions(-) create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_profile.py create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_saas_application.py create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_user_activity.py create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_interface_policy.py create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_profile.py create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_setting.py create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_virtual_patch_profile.py create mode 100644 ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_fast_fallback.py (limited to 'ansible_collections/fortinet/fortios/plugins') diff --git a/ansible_collections/fortinet/fortios/plugins/httpapi/fortios.py b/ansible_collections/fortinet/fortios/plugins/httpapi/fortios.py index d87410bc9..2c06e5297 100644 --- a/ansible_collections/fortinet/fortios/plugins/httpapi/fortios.py +++ b/ansible_collections/fortinet/fortios/plugins/httpapi/fortios.py @@ -36,7 +36,7 @@ class HttpApi(HttpApiBase): self._conn = connection self._system_version = None self._ansible_fos_version = 'v6.0.0' - self._ansible_galaxy_version = '2.3.0' + self._ansible_galaxy_version = '2.3.5' self._log = None self._logged_in = False self._session_key = '' @@ -46,7 +46,7 @@ class HttpApi(HttpApiBase): if not log_enabled: return if not self._log: - self._log = open("/tmp/fortios.ansible.log", "a") + self._log = open("/tmp/fortios.ansible.log", "w") log_message = str(datetime.now()) log_message += ": " + str(msg) + '\n' self._log.write(log_message) @@ -72,6 +72,11 @@ class HttpApi(HttpApiBase): def login(self, username, password): """Call a defined login endpoint to receive an authentication token. try API based authentication first and fall back to web based auth.""" + + if self._logged_in: + self.log("Already logged in, skipping") + return + if (username is None or password is None) and self.get_access_token() is None: raise Exception('Please provide access token or username/password to login') @@ -101,17 +106,18 @@ class HttpApi(HttpApiBase): data=json.dumps(auth_payload), method='POST', ) - if status_code == 401: + if status_code in [401, 404]: self.log('API based auth login attempt failed, fall back to /logincheck') data = "username=" + urllib.parse.quote(username) + "&secretkey=" + urllib.parse.quote(password) + "&ajax=1" dummy, result_data = self.send_request(url='/logincheck', should_pre_login=False, data=data, method='POST') self.log('/logincheck with user: %s %s' % (username, 'succeeds' if result_data[0] == '1' else 'fails')) if result_data[0] != '1': raise Exception('Wrong credentials. Please check') + self._logged_in = True else: self.log('API based auth with user: %s %s' % (username, 'succeeds' if "LOGIN_SUCCESS" in result_data else 'fails')) if "LOGIN_SUCCESS" not in result_data: - raise Exception('Wrong credentials. Please check') + raise Exception('API based auth failed: wrong credentials. Please check') self._logged_in = True try: json_result_data = json.loads(result_data) @@ -144,6 +150,7 @@ class HttpApi(HttpApiBase): access_token = self.get_access_token() if access_token is not None: self.log('using access token - no auth update needed: %s' % access_token) + headers["Authorization"] = "Bearer " + access_token return headers cookie_dict = {} @@ -209,14 +216,13 @@ class HttpApi(HttpApiBase): """ if not self._logged_in and message_kwargs.get('should_pre_login', True): self.log('perform pre request login') - self.login( - self.connection.get_option("remote_user"), - self.connection.get_option("password"), - ) + # trigger automated login call by httpapi + self.connection.send("/logincheck", {}) url = message_kwargs.get('url', '/') if self.get_access_token() is not None: url = self._concat_token(message_kwargs.get('url', '/')) + data = message_kwargs.get('data', '') method = message_kwargs.get('method', 'GET') params = message_kwargs.get('params', {}) diff --git a/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/comparison.py b/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/comparison.py index 8fba737ab..0ed53cffb 100644 --- a/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/comparison.py +++ b/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/comparison.py @@ -24,7 +24,7 @@ def is_same_ip_address(current_ip, applied_ip): 2 same as above and "10.10.10.0/24" ''' - if type(current_ip) is list: + if isinstance(current_ip, list): current_ip = ' '.join(current_ip) if len(current_ip) == 0 and len(applied_ip) == 0: return True @@ -42,7 +42,6 @@ def is_same_ip_address(current_ip, applied_ip): splitted_current_ip = current_ip.split(' ') elif '/' in current_ip: splitted_current_ip = current_ip.split('/') - if ' ' in applied_ip: splitted_applied_ip = applied_ip.split(' ') elif '/' in applied_ip: @@ -55,7 +54,6 @@ def is_same_ip_address(current_ip, applied_ip): total_bits_current_ip = sum([bits(int(s)) for s in splitted_current_ip[1].split('.')]) else: total_bits_current_ip = int(splitted_current_ip[1]) - if '.' in splitted_applied_ip[1]: total_bits_applied_ip = sum([bits(int(s)) for s in splitted_applied_ip[1].split('.')]) else: @@ -68,33 +66,50 @@ def is_same_comparison(reorder_current, reorder_filtered): for key, value in reorder_filtered.items(): if key not in reorder_current: return False - - if type(value) == dict: + if isinstance(value, dict): if not is_same_comparison(reorder_current[key], value): return False - elif type(value) == list: + elif isinstance(value, list): if len(value) != len(reorder_current[key]): return False - if len(value) and type(value[0]) == dict: + if len(value) and isinstance(value[0], dict): for current_dict in reorder_current[key]: if not is_same_comparison(current_dict, value[0]): return False elif reorder_current[key] != value: return False - elif type(value) == str and IP_PREFIX.match(value): + elif isinstance(value, str) and IP_PREFIX.match(value): return is_same_ip_address(reorder_current[key], value) - elif reorder_current[key] != value: return False return True +def find_current_values(reorder_current, reorder_filtered): + '''Find keyvalues in current according to keys from filtered''' + result = {} + for key, value in reorder_filtered.items(): + if isinstance(value, dict): + result[key] = find_current_values(reorder_current[key], value) + elif isinstance(value, list): + result[key] = [] + for i in range(len(value)): + if isinstance(value[i], dict): + result[key].append(find_current_values(reorder_current[key][i], value[i])) + else: + result[key].append(reorder_current[key]) + elif isinstance(value, str): + result[key] = reorder_current[key] + + return result + + def serialize(data): - if type(data) == str and ' ' in data: + if isinstance(data, str) and ' ' in data: return serialize(data.split(' ')) - if type(data) == list and len(data) > 0: - if type(data[0]) == dict: + if isinstance(data, list) and len(data) > 0: + if isinstance(data[0], dict): list_to_order = [] for dt in data: ret = {} @@ -106,7 +121,7 @@ def serialize(data): else: return sorted(data) - if type(data) == dict: + if isinstance(data[0], dict): result = {} for key, value in data.items(): result[key] = serialize(value) @@ -119,17 +134,3 @@ def serialize(data): def validate_result(result, desc): if not result: raise AssertionError("failed on test " + desc) - - -if __name__ == '__main__': - validate_result(is_same_ip_address("10.29.0.0", "10.29.0.0"), "ip only") - validate_result(is_same_ip_address("10.29.0.0/24", "10.29.0.0/24"), 'slash and slash') - validate_result(is_same_ip_address("11.11.10.0 255.255.254.0", "11.11.10.0/23"), 'slash and space') - validate_result(is_same_ip_address("10.29.0.0/24", "10.29.0.0 255.255.255.0"), 'slash and space') - validate_result(is_same_ip_address("10.29.0.0/24", "10.29.0.0 255.255.255.0"), 'slash and space') - validate_result(is_same_ip_address("10.29.0.0", "10.29.0.0"), 'ip only') - validate_result(is_same_ip_address("10.29.0.0 255.255.255.0", "10.29.0.0 255.255.255.0"), 'space and space') - validate_result(is_same_ip_address("10.29.0.0 255.255.255.0", "10.29.0.0 255.255.255.0"), 'space and space') - validate_result(is_same_ip_address("10.29.0.0 255.255.255.0", "10.29.0.0 255.255.255.0"), 'space and space') - validate_result(is_same_ip_address(["10.29.0.0", "255.255.255.0"], "10.29.0.0 255.255.255.0"), 'space and space') - validate_result(is_same_ip_address(["10.29.0.0", "255.255.255.0"], "10.29.0.0/24"), 'space and space') diff --git a/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/fortios.py b/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/fortios.py index a88719b06..f6a2c6738 100644 --- a/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/fortios.py +++ b/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/fortios.py @@ -16,9 +16,7 @@ import traceback from ansible.module_utils._text import to_text import json -from ansible_collections.fortinet.fortios.plugins.module_utils.common.type_utils import ( - underscore_to_hyphen, -) +from ansible_collections.fortinet.fortios.plugins.module_utils.common.type_utils import underscore_to_hyphen from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.secret_field import is_secret_field try: @@ -103,6 +101,52 @@ def schema_to_module_spec(schema): return rdata +def __convert_version_to_number(version): + version = version[1:] if version.startswith('v') else version + seg = version.split('.') + if len(seg) != 3: + raise "Invalid fortios system version number: " + version + ". Should be of format [major].[minor].[patch]" + return int(seg[0]) * 10000 + int(seg[1]) * 100 + int(seg[2]) + + +def __format_single_range_desc(one_range): + if len(one_range) != 2: + raise BaseException("Incorrect version range, expecting [start, end]: " + str(one_range)) + + if one_range[0] == one_range[1]: + return one_range[0] + elif one_range[1] == '': + return one_range[0] + ' -> latest' + else: + return one_range[0] + ' -> ' + one_range[1] + + +def __check_if_system_version_is_supported(v_range, version): + '''check the current system version is supported in v_range''' + + if not v_range: + return {"supported": True} + system_version_number = __convert_version_to_number(version) + + v_range_desc = ", ".join(list(map(__format_single_range_desc, v_range))) + for [single_range_start, single_range_end] in v_range: + single_range_start_number = __convert_version_to_number(single_range_start) + if system_version_number < single_range_start_number: + + return { + "supported": False, + "reason": "Supported version ranges are " + v_range_desc + } + + if single_range_end == '' or system_version_number <= __convert_version_to_number(single_range_end): + return {"supported": True} + + return { + "supported": False, + "reason": "Supported version ranges are " + v_range_desc + } + + def __check_version(revisions, version): result = dict() resolved_versions = list(revisions.keys()) @@ -153,10 +197,7 @@ def __concat_attribute_sequence(trace_path): def check_schema_versioning_internal(results, trace, schema, params, version): if not schema or not params: return - if 'revisions' not in schema: - raise AssertionError() - revision = schema['revisions'] - matched = __check_version(revision, version) + matched = __check_if_system_version_is_supported(schema['v_range'] if 'v_range' in schema else {}, version) if matched['supported'] is False: results['mismatches'].append('option %s %s' % (__concat_attribute_sequence(trace), matched['reason'])) @@ -224,9 +265,9 @@ def check_schema_versioning(fos, versioned_schema, top_level_param): # in case no top level parameters are given. # see module: fortios_firewall_policy return results - module_revisions = versioned_schema['revisions'] - module_matched = __check_version(module_revisions, system_version) - if module_matched['supported'] is False: + v_range = versioned_schema['v_range'] + module_matched = __check_if_system_version_is_supported(v_range, system_version) + if not module_matched['supported']: results['matched'] = False results['mismatches'].append('module fortios_%s %s' % (top_level_param, module_matched['reason'])) return results @@ -642,7 +683,12 @@ class FortiOSHandler(object): else: url += "?" url += specific_params - http_status, result_data = self._conn.send_request(url=url, method=method, data=json.dumps(data), params=parameters) + + if method == 'GET': + http_status, result_data = self._conn.send_request(url=url, method='GET', params=parameters) + else: + http_status, result_data = self._conn.send_request(url=url, method=method, data=json.dumps(data), params=parameters) + return self.formatresponse(result_data, http_status, vdom=vdom) # BEGIN DEPRECATED diff --git a/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/secret_field.py b/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/secret_field.py index 13269b46e..597efeb04 100644 --- a/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/secret_field.py +++ b/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/secret_field.py @@ -24,7 +24,8 @@ secret_fields = [ "parent_key", "switch_dhcp_opt43_key", "fortitoken", "password_expire", "aws_api_key", "azure_api_key", "ddns_keyname", "eap_password", "n_mhae_key", "passwd1", "passwd2", "passwd3", "http_password", "password_attr", "passwd_policy", "passwd_time", "rsso_secret", "secondary_secret", "secret", "sso_attribute_key", "secondary_key", - "tertiary_key", "sae_private_key", "tertiary_secret" + "tertiary_key", "sae_private_key", "tertiary_secret", "search_key", "est_http_password", "est_srp_password", + "fortitoken_cloud_sync_interval", "mfa_password", "default_user_password_policy", "polestar_server_token" ] diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_alertemail_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_alertemail_setting.py index 9f86d1a66..b4b2ab226 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_alertemail_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_alertemail_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -296,57 +296,46 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure alert email settings. - fortios_alertemail_setting: - vdom: "{{ vdom }}" +- name: Configure alert email settings. + fortinet.fortios.fortios_alertemail_setting: + vdom: "{{ vdom }}" alertemail_setting: - admin_login_logs: "enable" - alert_interval: "2" - amc_interface_bypass_mode: "enable" - antivirus_logs: "enable" - configuration_changes_logs: "enable" - critical_interval: "3" - debug_interval: "60" - email_interval: "5" - emergency_interval: "1" - error_interval: "5" - FDS_license_expiring_days: "15" - FDS_license_expiring_warning: "enable" - FDS_update_logs: "enable" - filter_mode: "category" - FIPS_CC_errors: "enable" - firewall_authentication_failure_logs: "enable" - fortiguard_log_quota_warning: "enable" - FSSO_disconnect_logs: "enable" - HA_logs: "enable" - information_interval: "30" - IPS_logs: "enable" - IPsec_errors_logs: "enable" - local_disk_usage: "75" - log_disk_usage_warning: "enable" - mailto1: "" - mailto2: "" - mailto3: "" - notification_interval: "20" - PPP_errors_logs: "enable" - severity: "emergency" - ssh_logs: "enable" - sslvpn_authentication_errors_logs: "enable" - username: "" - violation_traffic_logs: "enable" - warning_interval: "10" - webfilter_logs: "enable" - + admin_login_logs: "enable" + alert_interval: "2" + amc_interface_bypass_mode: "enable" + antivirus_logs: "enable" + configuration_changes_logs: "enable" + critical_interval: "3" + debug_interval: "60" + email_interval: "5" + emergency_interval: "1" + error_interval: "5" + FDS_license_expiring_days: "15" + FDS_license_expiring_warning: "enable" + FDS_update_logs: "enable" + filter_mode: "category" + FIPS_CC_errors: "enable" + firewall_authentication_failure_logs: "enable" + fortiguard_log_quota_warning: "enable" + FSSO_disconnect_logs: "enable" + HA_logs: "enable" + information_interval: "30" + IPS_logs: "enable" + IPsec_errors_logs: "enable" + local_disk_usage: "75" + log_disk_usage_warning: "enable" + mailto1: "" + mailto2: "" + mailto3: "" + notification_interval: "20" + PPP_errors_logs: "enable" + severity: "emergency" + ssh_logs: "enable" + sslvpn_authentication_errors_logs: "enable" + username: "" + violation_traffic_logs: "enable" + warning_interval: "10" + webfilter_logs: "enable" """ RETURN = """ @@ -405,7 +394,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -515,7 +503,6 @@ def is_successful_status(resp): def fortios_alertemail(data, fos): - fos.do_member_operation("alertemail", "setting") if data["alertemail_setting"]: resp = alertemail_setting(data, fos) @@ -532,2509 +519,139 @@ def fortios_alertemail(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mailto1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mailto2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mailto3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mailto1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mailto2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mailto3": {"v_range": [["v6.0.0", ""]], "type": "string"}, "filter_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "category", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "threshold", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "email_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "category"}, {"value": "threshold"}], }, + "email_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "IPS_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "firewall_authentication_failure_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "HA_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "IPsec_errors_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "FDS_update_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "PPP_errors_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_authentication_errors_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "antivirus_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webfilter_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "configuration_changes_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "violation_traffic_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "admin_login_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "FDS_license_expiring_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_disk_usage_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiguard_log_quota_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "amc_interface_bypass_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "FIPS_CC_errors": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "FSSO_disconnect_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_logs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "local_disk_usage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "emergency_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "alert_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "critical_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "error_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "warning_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "notification_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "information_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "debug_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "local_disk_usage": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "emergency_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "alert_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "critical_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "error_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "warning_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "notification_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "information_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "debug_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "FDS_license_expiring_days": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "integer", }, }, @@ -3071,6 +688,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_exempt_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_exempt_list.py index a03323e79..675bfae2e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_exempt_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_exempt_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,28 +119,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure a list of hashes to be exempt from AV scanning. - fortios_antivirus_exempt_list: - vdom: "{{ vdom }}" +- name: Configure a list of hashes to be exempt from AV scanning. + fortinet.fortios.fortios_antivirus_exempt_list: + vdom: "{{ vdom }}" state: "present" access_token: "" antivirus_exempt_list: - comment: "Comment." - hash: "" - hash_type: "md5" - name: "default_name_6" - status: "disable" - + comment: "Comment." + hash: "" + hash_type: "md5" + name: "default_name_6" + status: "disable" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -283,7 +271,6 @@ def is_successful_status(resp): def fortios_antivirus(data, fos): - fos.do_member_operation("antivirus", "exempt-list") if data["antivirus_exempt_list"]: resp = antivirus_exempt_list(data, fos) @@ -303,32 +290,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "required": True, - }, - "comment": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, + "name": {"v_range": [["v7.2.4", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.2.4", ""]], "type": "string"}, "hash_type": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "md5", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "sha1", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "sha256", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "md5"}, {"value": "sha1"}, {"value": "sha256"}], }, - "hash": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, + "hash": {"v_range": [["v7.2.4", ""]], "type": "string"}, "status": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], } @@ -365,6 +341,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_heuristic.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_heuristic.py index 3bb4f1164..3b7bfd769 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_heuristic.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_heuristic.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,22 +91,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure global heuristic options. - fortios_antivirus_heuristic: - vdom: "{{ vdom }}" +- name: Configure global heuristic options. + fortinet.fortios.fortios_antivirus_heuristic: + vdom: "{{ vdom }}" antivirus_heuristic: - mode: "pass" - + mode: "pass" """ RETURN = """ @@ -165,7 +154,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -238,7 +226,6 @@ def is_successful_status(resp): def fortios_antivirus(data, fos): - fos.do_member_operation("antivirus", "heuristic") if data["antivirus_heuristic"]: resp = antivirus_heuristic(data, fos) @@ -255,81 +242,13 @@ def fortios_antivirus(data, fos): versioned_schema = { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "dict", "children": { "mode": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "block"}, {"value": "disable"}], } }, } @@ -365,6 +284,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_mms_checksum.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_mms_checksum.py index ae1869077..f68cfc0b0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_mms_checksum.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_mms_checksum.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -116,7 +118,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -126,31 +128,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure MMS content checksum list. - fortios_antivirus_mms_checksum: - vdom: "{{ vdom }}" +- name: Configure MMS content checksum list. + fortinet.fortios.fortios_antivirus_mms_checksum: + vdom: "{{ vdom }}" state: "present" access_token: "" antivirus_mms_checksum: - comment: "Optional comments." - entries: - - - checksum: "" - name: "default_name_6" - status: "enable" - id: "8" - name: "default_name_9" - + comment: "Optional comments." + entries: + - + checksum: "" + name: "default_name_6" + status: "enable" + id: "8" + name: "default_name_9" """ RETURN = """ @@ -209,7 +200,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -237,6 +227,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_antivirus_mms_checksum_data(json): @@ -266,7 +259,6 @@ def underscore_to_hyphen(data): def antivirus_mms_checksum(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -302,11 +294,16 @@ def antivirus_mms_checksum(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -356,13 +353,12 @@ def is_successful_status(resp): def fortios_antivirus(data, fos, check_mode): - fos.do_member_operation("antivirus", "mms-checksum") if data["antivirus_mms_checksum"]: resp = antivirus_mms_checksum(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("antivirus_mms_checksum")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -377,131 +373,29 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, - "checksum": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "checksum": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -538,6 +432,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_notification.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_notification.py index 51e9e4233..02bf6577f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_notification.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_notification.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,7 +121,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -129,31 +131,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiVirus notification lists. - fortios_antivirus_notification: - vdom: "{{ vdom }}" +- name: Configure AntiVirus notification lists. + fortinet.fortios.fortios_antivirus_notification: + vdom: "{{ vdom }}" state: "present" access_token: "" antivirus_notification: - comment: "Optional comments." - entries: - - - name: "default_name_5" - prefix: "enable" - status: "enable" - id: "8" - name: "default_name_9" - + comment: "Optional comments." + entries: + - + name: "default_name_5" + prefix: "enable" + status: "enable" + id: "8" + name: "default_name_9" """ RETURN = """ @@ -212,7 +203,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,6 +230,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_antivirus_notification_data(json): @@ -269,7 +262,6 @@ def underscore_to_hyphen(data): def antivirus_notification(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -305,11 +297,16 @@ def antivirus_notification(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -359,13 +356,12 @@ def is_successful_status(resp): def fortios_antivirus(data, fos, check_mode): - fos.do_member_operation("antivirus", "notification") if data["antivirus_notification"]: resp = antivirus_notification(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("antivirus_notification")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -380,157 +376,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "prefix": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -567,6 +439,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_profile.py index 42a26cab2..4afe858b4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -1572,205 +1572,194 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiVirus profiles. - fortios_antivirus_profile: - vdom: "{{ vdom }}" +- name: Configure AntiVirus profiles. + fortinet.fortios.fortios_antivirus_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" antivirus_profile: - analytics_accept_filetype: "0" - analytics_bl_filetype: "2147483647" - analytics_db: "disable" - analytics_ignore_filetype: "0" - analytics_max_upload: "10" - analytics_wl_filetype: "2147483647" - av_block_log: "enable" - av_virus_log: "enable" - cifs: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - emulator: "enable" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - comment: "Comment." - content_disarm: - cover_page: "disable" - detect_only: "disable" - error_action: "block" - office_action: "disable" - office_dde: "disable" - office_embed: "disable" - office_hylink: "disable" - office_linked: "disable" - office_macro: "disable" - original_file_destination: "fortisandbox" - pdf_act_form: "disable" - pdf_act_gotor: "disable" - pdf_act_java: "disable" - pdf_act_launch: "disable" - pdf_act_movie: "disable" - pdf_act_sound: "disable" - pdf_embedfile: "disable" - pdf_hyperlink: "disable" - pdf_javacode: "disable" - ems_threat_feed: "disable" - extended_log: "enable" - external_blocklist: - - - name: "default_name_47 (source system.external-resource.name)" - external_blocklist_archive_scan: "disable" - external_blocklist_enable_all: "disable" - feature_set: "flow" - fortiai_error_action: "log-only" - fortiai_timeout_action: "log-only" - fortindr_error_action: "log-only" - fortindr_timeout_action: "log-only" - fortisandbox_error_action: "log-only" - fortisandbox_max_upload: "10" - fortisandbox_mode: "inline" - fortisandbox_timeout_action: "log-only" - ftgd_analytics: "disable" - ftp: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - emulator: "enable" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - http: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - content_disarm: "disable" - emulator: "enable" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - unknown_content_encoding: "block" - imap: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - content_disarm: "disable" - emulator: "enable" - executables: "default" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - inspection_mode: "proxy" - mapi: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - emulator: "enable" - executables: "default" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - mobile_malware_db: "disable" - nac_quar: - expiry: "" - infected: "none" - log: "enable" - name: "default_name_119" - nntp: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - emulator: "enable" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - outbreak_prevention: - external_blocklist: "disable" - ftgd_service: "disable" - outbreak_prevention_archive_scan: "disable" - pop3: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - content_disarm: "disable" - emulator: "enable" - executables: "default" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - replacemsg_group: " (source system.replacemsg-group.name)" - scan_mode: "default" - smb: - archive_block: "encrypted" - archive_log: "encrypted" - emulator: "enable" - options: "scan" - outbreak_prevention: "disabled" - smtp: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - content_disarm: "disable" - emulator: "enable" - executables: "default" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - ssh: - archive_block: "encrypted" - archive_log: "encrypted" - av_scan: "disable" - emulator: "enable" - external_blocklist: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - options: "scan" - outbreak_prevention: "disable" - quarantine: "disable" - + analytics_accept_filetype: "0" + analytics_bl_filetype: "2147483647" + analytics_db: "disable" + analytics_ignore_filetype: "0" + analytics_max_upload: "10" + analytics_wl_filetype: "2147483647" + av_block_log: "enable" + av_virus_log: "enable" + cifs: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + emulator: "enable" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + comment: "Comment." + content_disarm: + cover_page: "disable" + detect_only: "disable" + error_action: "block" + office_action: "disable" + office_dde: "disable" + office_embed: "disable" + office_hylink: "disable" + office_linked: "disable" + office_macro: "disable" + original_file_destination: "fortisandbox" + pdf_act_form: "disable" + pdf_act_gotor: "disable" + pdf_act_java: "disable" + pdf_act_launch: "disable" + pdf_act_movie: "disable" + pdf_act_sound: "disable" + pdf_embedfile: "disable" + pdf_hyperlink: "disable" + pdf_javacode: "disable" + ems_threat_feed: "disable" + extended_log: "enable" + external_blocklist: + - + name: "default_name_47 (source system.external-resource.name)" + external_blocklist_archive_scan: "disable" + external_blocklist_enable_all: "disable" + feature_set: "flow" + fortiai_error_action: "log-only" + fortiai_timeout_action: "log-only" + fortindr_error_action: "log-only" + fortindr_timeout_action: "log-only" + fortisandbox_error_action: "log-only" + fortisandbox_max_upload: "10" + fortisandbox_mode: "inline" + fortisandbox_timeout_action: "log-only" + ftgd_analytics: "disable" + ftp: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + emulator: "enable" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + http: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + content_disarm: "disable" + emulator: "enable" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + unknown_content_encoding: "block" + imap: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + content_disarm: "disable" + emulator: "enable" + executables: "default" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + inspection_mode: "proxy" + mapi: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + emulator: "enable" + executables: "default" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + mobile_malware_db: "disable" + nac_quar: + expiry: "" + infected: "none" + log: "enable" + name: "default_name_119" + nntp: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + emulator: "enable" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + outbreak_prevention: + external_blocklist: "disable" + ftgd_service: "disable" + outbreak_prevention_archive_scan: "disable" + pop3: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + content_disarm: "disable" + emulator: "enable" + executables: "default" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + replacemsg_group: " (source system.replacemsg-group.name)" + scan_mode: "default" + smb: + archive_block: "encrypted" + archive_log: "encrypted" + emulator: "enable" + options: "scan" + outbreak_prevention: "disabled" + smtp: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + content_disarm: "disable" + emulator: "enable" + executables: "default" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" + ssh: + archive_block: "encrypted" + archive_log: "encrypted" + av_scan: "disable" + emulator: "enable" + external_blocklist: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + options: "scan" + outbreak_prevention: "disable" + quarantine: "disable" """ RETURN = """ @@ -1829,7 +1818,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -2011,7 +1999,6 @@ def is_successful_status(resp): def fortios_antivirus(data, fos): - fos.do_member_operation("antivirus", "profile") if data["antivirus_profile"]: resp = antivirus_profile(data, fos) @@ -2031,1973 +2018,162 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "replacemsg_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "feature_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "flow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "flow"}, {"value": "proxy"}], }, "fortisandbox_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "inline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "analytics-suspicious", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "analytics-everything", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "inline"}, + {"value": "analytics-suspicious"}, + {"value": "analytics-everything"}, ], }, - "fortisandbox_max_upload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "analytics_ignore_filetype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "analytics_accept_filetype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "fortisandbox_max_upload": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "analytics_ignore_filetype": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "analytics_accept_filetype": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "analytics_db": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "mobile_malware_db": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "content_disarm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "unknown_content_encoding": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", "v7.2.2"]], "type": "string", "options": [ - { - "value": "block", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "bypass", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, + {"value": "block"}, + {"value": "inspect"}, + {"value": "bypass"}, ], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -4005,1341 +2181,117 @@ versioned_schema = { }, }, "ftp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -5347,1519 +2299,127 @@ versioned_schema = { }, }, "imap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "executables": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "virus"}], }, "content_disarm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -6867,1519 +2427,127 @@ versioned_schema = { }, }, "pop3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "executables": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "virus"}], }, "content_disarm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -8387,1519 +2555,127 @@ versioned_schema = { }, }, "smtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "executables": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "virus"}], }, "content_disarm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -9907,1427 +2683,122 @@ versioned_schema = { }, }, "mapi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "executables": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "virus"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -11335,1341 +2806,117 @@ versioned_schema = { }, }, "nntp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.0.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -12677,1221 +2924,117 @@ versioned_schema = { }, }, "cifs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.2.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.2.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.2.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.2.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.2.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -13899,1221 +3042,117 @@ versioned_schema = { }, }, "ssh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "av_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable", "v_range": [["v7.0.0", ""]]}, + {"value": "block", "v_range": [["v7.0.0", ""]]}, + {"value": "monitor", "v_range": [["v7.0.0", ""]]}, + {"value": "disabled", "v_range": [["v6.2.0", "v6.4.4"]]}, + {"value": "files", "v_range": [["v6.2.0", "v6.4.4"]]}, + {"value": "full-archive", "v_range": [["v6.2.0", "v6.4.4"]]}, ], }, "external_blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortindr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "fortisandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "archive_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.2.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "archive_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "timeout"}, + {"value": "unhandled"}, + {"value": "fileslimit", "v_range": [["v6.2.0", "v7.0.1"]]}, ], "multiple_values": True, "elements": "str", }, "emulator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "block"}, + {"value": "monitor"}, ], }, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "scan", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], "multiple_values": True, "elements": "str", @@ -15121,3526 +3160,312 @@ versioned_schema = { }, }, "nac_quar": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "infected": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quar-src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "quar-src-ip"}], }, + "expiry": {"v_range": [["v6.0.0", ""]], "type": "string"}, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "content_disarm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "original_file_destination": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "fortisandbox", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "fortisandbox"}, + {"value": "quarantine"}, + {"value": "discard"}, ], }, "error_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "log-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "block"}, + {"value": "log-only"}, + {"value": "ignore"}, ], }, "office_macro": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "office_hylink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "office_linked": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "office_embed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "office_dde": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "office_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_javacode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_embedfile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_hyperlink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_act_gotor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_act_launch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_act_sound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_act_movie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_act_java": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pdf_act_form": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "cover_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "detect_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "outbreak_prevention_archive_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "external_blocklist_enable_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "external_blocklist": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "ems_threat_feed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "fortindr_error_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", - "options": [ - { - "value": "log-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "log-only"}, {"value": "block"}, {"value": "ignore"}], }, "fortindr_timeout_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", ""]], "type": "string", - "options": [ - { - "value": "log-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "log-only"}, {"value": "block"}, {"value": "ignore"}], }, "fortisandbox_error_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "log-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "log-only"}, {"value": "block"}, {"value": "ignore"}], }, "fortisandbox_timeout_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "log-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "log-only"}, {"value": "block"}, {"value": "ignore"}], }, "av_virus_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "scan_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "legacy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "quick", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "full", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "default", "v_range": [["v6.2.0", ""]]}, + {"value": "legacy", "v_range": [["v6.2.0", ""]]}, + {"value": "quick", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "full", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, "av_block_log": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ftgd_analytics": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "suspicious", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "everything", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "suspicious"}, + {"value": "everything"}, ], }, - "analytics_max_upload": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "analytics_max_upload": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "integer"}, "fortiai_error_action": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", - "options": [ - { - "value": "log-only", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "log-only"}, {"value": "block"}, {"value": "ignore"}], }, "fortiai_timeout_action": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.0.7"]], "type": "string", - "options": [ - { - "value": "log-only", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "log-only"}, {"value": "block"}, {"value": "ignore"}], }, "external_blocklist_archive_scan": { - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.0.0": True}}, - {"value": "enable", "revisions": {"v7.0.0": True}}, - ], - }, - "analytics_wl_filetype": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "analytics_bl_filetype": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "analytics_wl_filetype": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, + "analytics_bl_filetype": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, "outbreak_prevention": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "dict", "children": { "ftgd_service": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "external_blocklist": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "inspection_mode": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "proxy", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "flow-based", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "proxy"}, {"value": "flow-based"}], }, "smb": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "options": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "scan", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avmonitor", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "scan"}, + {"value": "avmonitor"}, + {"value": "quarantine"}, ], }, "archive_block": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "encrypted", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "fileslimit"}, + {"value": "timeout"}, + {"value": "unhandled"}, ], }, "archive_log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "encrypted", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "corrupted", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partiallycorrupted", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multipart", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nested", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mailbomb", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fileslimit", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unhandled", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "encrypted"}, + {"value": "corrupted"}, + {"value": "partiallycorrupted"}, + {"value": "multipart"}, + {"value": "nested"}, + {"value": "mailbomb"}, + {"value": "fileslimit"}, + {"value": "timeout"}, + {"value": "unhandled"}, ], }, "emulator": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "outbreak_prevention": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disabled"}, + {"value": "files"}, + {"value": "full-archive"}, ], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -18675,6 +3500,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_quarantine.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_quarantine.py index 2a6c3d492..2f52d03e3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_quarantine.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_quarantine.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -338,36 +338,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure quarantine options. - fortios_antivirus_quarantine: - vdom: "{{ vdom }}" +- name: Configure quarantine options. + fortinet.fortios.fortios_antivirus_quarantine: + vdom: "{{ vdom }}" antivirus_quarantine: - agelimit: "0" - destination: "NULL" - drop_blocked: "imap" - drop_heuristic: "imap" - drop_infected: "imap" - drop_intercepted: "imap" - drop_machine_learning: "imap" - lowspace: "drop-new" - maxfilesize: "0" - quarantine_quota: "0" - store_blocked: "imap" - store_heuristic: "imap" - store_infected: "imap" - store_intercepted: "imap" - store_machine_learning: "imap" - + agelimit: "0" + destination: "NULL" + drop_blocked: "imap" + drop_heuristic: "imap" + drop_infected: "imap" + drop_intercepted: "imap" + drop_machine_learning: "imap" + lowspace: "drop-new" + maxfilesize: "0" + quarantine_quota: "0" + store_blocked: "imap" + store_heuristic: "imap" + store_infected: "imap" + store_intercepted: "imap" + store_machine_learning: "imap" """ RETURN = """ @@ -426,7 +415,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -501,10 +489,10 @@ def flatten_multilists_attributes(data): multilist_attrs = [ ["drop_infected"], ["store_infected"], - ["drop_blocked"], - ["store_blocked"], ["drop_machine_learning"], ["store_machine_learning"], + ["drop_blocked"], + ["store_blocked"], ["drop_heuristic"], ["store_heuristic"], ["drop_intercepted"], @@ -554,7 +542,6 @@ def is_successful_status(resp): def fortios_antivirus(data, fos): - fos.do_member_operation("antivirus", "quarantine") if data["antivirus_quarantine"]: resp = antivirus_quarantine(data, fos) @@ -571,3818 +558,268 @@ def fortios_antivirus(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "agelimit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "maxfilesize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "quarantine_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "agelimit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "maxfilesize": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "quarantine_quota": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "drop_infected": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh", "v_range": [["v6.2.0", ""]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, "store_infected": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh", "v_range": [["v6.2.0", ""]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, - "drop_blocked": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "drop_machine_learning": { + "v_range": [["v7.0.1", ""]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh"}, ], "multiple_values": True, "elements": "str", }, - "store_blocked": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "store_machine_learning": { + "v_range": [["v7.0.1", ""]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh"}, ], "multiple_values": True, "elements": "str", }, - "drop_machine_learning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "list", + "lowspace": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "drop-new"}, {"value": "ovrw-old"}], + }, + "destination": { + "v_range": [["v6.0.0", ""]], + "type": "string", "options": [ - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "NULL"}, + {"value": "disk"}, + {"value": "FortiAnalyzer"}, ], - "multiple_values": True, - "elements": "str", }, - "store_machine_learning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "drop_blocked": { + "v_range": [["v6.0.0", "v7.4.0"]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https", "v_range": [["v7.4.0", "v7.4.0"]]}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh", "v_range": [["v6.2.0", "v7.4.0"]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, - "lowspace": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "drop-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ovrw-old", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "destination": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "store_blocked": { + "v_range": [["v6.0.0", "v7.4.0"]], + "type": "list", "options": [ - { - "value": "NULL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FortiAnalyzer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https", "v_range": [["v7.4.0", "v7.4.0"]]}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh", "v_range": [["v6.2.0", "v7.4.0"]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], + "multiple_values": True, + "elements": "str", }, "drop_heuristic": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh", "v_range": [["v6.2.0", "v7.0.0"]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, "store_heuristic": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh", "v_range": [["v6.2.0", "v7.0.0"]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, "drop_intercepted": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "mm1"}, + {"value": "mm3"}, + {"value": "mm4"}, + {"value": "mm7"}, ], "multiple_values": True, "elements": "str", }, "store_intercepted": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "imap", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftps", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "imap"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "http"}, + {"value": "ftp"}, + {"value": "imaps"}, + {"value": "smtps"}, + {"value": "pop3s"}, + {"value": "https"}, + {"value": "ftps"}, + {"value": "mapi"}, + {"value": "mm1"}, + {"value": "mm3"}, + {"value": "mm4"}, + {"value": "mm7"}, ], "multiple_values": True, "elements": "str", @@ -4421,6 +858,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_settings.py index 03bcb6efd..a1df0ea8c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -132,28 +132,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiVirus settings. - fortios_antivirus_settings: - vdom: "{{ vdom }}" +- name: Configure AntiVirus settings. + fortinet.fortios.fortios_antivirus_settings: + vdom: "{{ vdom }}" antivirus_settings: - cache_clean_result: "enable" - cache_infected_result: "enable" - default_db: "normal" - grayware: "enable" - machine_learning_detection: "enable" - override_timeout: "0" - use_extreme_db: "enable" - + cache_clean_result: "enable" + cache_infected_result: "enable" + default_db: "normal" + grayware: "enable" + machine_learning_detection: "enable" + override_timeout: "0" + use_extreme_db: "enable" """ RETURN = """ @@ -212,7 +201,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -293,7 +281,6 @@ def is_successful_status(resp): def fortios_antivirus(data, fos): - fos.do_member_operation("antivirus", "settings") if data["antivirus_settings"]: resp = antivirus_settings(data, fos) @@ -310,479 +297,46 @@ def fortios_antivirus(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "machine_learning_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "enable"}, + {"value": "monitor"}, + {"value": "disable"}, ], }, "use_extreme_db": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "grayware": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "override_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "override_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "cache_infected_result": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cache_clean_result": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.0.7"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default_db": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extreme", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "normal"}, + {"value": "extended"}, + {"value": "extreme"}, ], }, }, @@ -819,6 +373,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_custom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_custom.py index 145f0b664..a6894a1ac 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_custom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_custom.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -132,33 +132,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure custom application signatures. - fortios_application_custom: - vdom: "{{ vdom }}" +- name: Configure custom application signatures. + fortinet.fortios.fortios_application_custom: + vdom: "{{ vdom }}" state: "present" access_token: "" application_custom: - behavior: "" - category: "0" - comment: "Comment." - id: "6" - name: "default_name_7" - protocol: "" - signature: "" - tag: "" - technology: "" - vendor: "" - + behavior: "" + category: "0" + comment: "Comment." + id: "6" + name: "default_name_7" + protocol: "" + signature: "" + tag: "" + technology: "" + vendor: "" """ RETURN = """ @@ -217,7 +206,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -245,6 +233,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_application_custom_data(json): @@ -285,7 +276,6 @@ def underscore_to_hyphen(data): def application_custom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -321,11 +311,16 @@ def application_custom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -373,13 +368,12 @@ def is_successful_status(resp): def fortios_application(data, fos, check_mode): - fos.do_member_operation("application", "custom") if data["application_custom"]: resp = application_custom(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("application_custom")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -394,298 +388,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "signature": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "technology": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "behavior": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vendor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "tag": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "signature": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "category": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "technology": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "behavior": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vendor": {"v_range": [["v6.0.0", ""]], "type": "string"}, "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "name": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -720,6 +440,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_group.py index 94c48380b..9cd734797 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: suboptions: id: description: - - Application IDs. + - Application IDs. see Notes. required: true type: int behavior: @@ -112,7 +112,7 @@ options: suboptions: id: description: - - Category IDs. + - Category IDs. see Notes. required: true type: int comment: @@ -148,7 +148,8 @@ options: suboptions: level: description: - - Risk, or impact, of allowing traffic from this application to occur (1 - 5; Low, Elevated, Medium, High, and Critical). + - Risk, or impact, of allowing traffic from this application to occur (1 - 5; Low, Elevated, Medium, High, and Critical). see Notes. required: true type: int technology: @@ -172,40 +173,29 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure firewall application groups. - fortios_application_group: - vdom: "{{ vdom }}" +- name: Configure firewall application groups. + fortinet.fortios.fortios_application_group: + vdom: "{{ vdom }}" state: "present" access_token: "" application_group: - application: - - - id: "4" - behavior: "" - category: - - - id: "7" - comment: "Comments." - name: "default_name_9" - popularity: "1" - protocols: "" - risk: - - - level: "0" - technology: "" - type: "application" - vendor: "" - + application: + - + id: "4" + behavior: "" + category: + - + id: "7" + comment: "Comments." + name: "default_name_9" + popularity: "1" + protocols: "" + risk: + - + level: "" + technology: "" + type: "application" + vendor: "" """ RETURN = """ @@ -264,7 +254,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -292,6 +281,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_application_group_data(json): @@ -366,7 +358,6 @@ def underscore_to_hyphen(data): def application_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -403,11 +394,16 @@ def application_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -455,13 +451,12 @@ def is_successful_status(resp): def fortios_application(data, fos, check_mode): - fos.do_member_operation("application", "group") if data["application_group"]: resp = application_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("application_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -476,624 +471,84 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "application", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "category", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "application"}, + {"value": "filter", "v_range": [["v7.0.0", ""]]}, + {"value": "category", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "application": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "category": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "risk": { "type": "list", "elements": "dict", "children": { "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "protocols": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "vendor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "technology": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "behavior": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "popularity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "1"}, + {"value": "2"}, + {"value": "3"}, + {"value": "4"}, + {"value": "5"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1128,6 +583,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_list.py index 64f7d89ce..4a203f5d5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -121,7 +121,7 @@ options: suboptions: id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int port: @@ -182,7 +182,7 @@ options: suboptions: id: description: - - Application IDs. + - Application IDs. see Notes. required: true type: int behavior: @@ -198,7 +198,7 @@ options: suboptions: id: description: - - Application category ID. + - Application category ID. see Notes. required: true type: int exclusion: @@ -209,12 +209,12 @@ options: suboptions: id: description: - - Excluded application IDs. + - Excluded application IDs. see Notes. required: true type: int id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int log: @@ -239,7 +239,7 @@ options: suboptions: id: description: - - Parameter tuple ID. + - Parameter tuple ID. see Notes. required: true type: int members: @@ -250,7 +250,7 @@ options: suboptions: id: description: - - Parameter. + - Parameter. see Notes. required: true type: int name: @@ -337,6 +337,7 @@ options: level: description: - Risk, or impact, of allowing traffic from this application to occur (1 - 5; Low, Elevated, Medium, High, and Critical). + see Notes. required: true type: int session_ttl: @@ -359,7 +360,7 @@ options: suboptions: id: description: - - Application sub-category ID. + - Application sub-category ID. see Notes. required: true type: int technology: @@ -455,91 +456,80 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure application control lists. - fortios_application_list: - vdom: "{{ vdom }}" +- name: Configure application control lists. + fortinet.fortios.fortios_application_list: + vdom: "{{ vdom }}" state: "present" access_token: "" application_list: - app_replacemsg: "disable" - comment: "Comments." - control_default_network_services: "disable" - deep_app_inspection: "disable" - default_network_services: - - - id: "8" - port: "0" - services: "http" - violation_action: "pass" - enforce_default_app_port: "disable" - entries: - - - action: "pass" - application: - - - id: "16" - behavior: "" - category: - - - id: "19" - exclusion: - - - id: "21" - id: "22" - log: "disable" - log_packet: "disable" - parameters: - - - id: "26" - members: - - - id: "28" - name: "default_name_29" - value: "" - value: "" - per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" - popularity: "1" - protocols: "" - quarantine: "none" - quarantine_expiry: "" - quarantine_log: "disable" - rate_count: "0" - rate_duration: "60" - rate_mode: "periodical" - rate_track: "none" - risk: - - - level: "0" - session_ttl: "0" - shaper: " (source firewall.shaper.traffic-shaper.name)" - shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" - sub_category: - - - id: "48" - technology: "" - vendor: "" - extended_log: "enable" - force_inclusion_ssl_di_sigs: "disable" - name: "default_name_53" - options: "allow-dns" - other_application_action: "pass" - other_application_log: "disable" - p2p_black_list: "skype" - p2p_block_list: "skype" - replacemsg_group: " (source system.replacemsg-group.name)" - unknown_application_action: "pass" - unknown_application_log: "disable" - + app_replacemsg: "disable" + comment: "Comments." + control_default_network_services: "disable" + deep_app_inspection: "disable" + default_network_services: + - + id: "8" + port: "0" + services: "http" + violation_action: "pass" + enforce_default_app_port: "disable" + entries: + - + action: "pass" + application: + - + id: "16" + behavior: "" + category: + - + id: "19" + exclusion: + - + id: "21" + id: "22" + log: "disable" + log_packet: "disable" + parameters: + - + id: "26" + members: + - + id: "28" + name: "default_name_29" + value: "" + value: "" + per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" + popularity: "1" + protocols: "" + quarantine: "none" + quarantine_expiry: "" + quarantine_log: "disable" + rate_count: "0" + rate_duration: "60" + rate_mode: "periodical" + rate_track: "none" + risk: + - + level: "" + session_ttl: "0" + shaper: " (source firewall.shaper.traffic-shaper.name)" + shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" + sub_category: + - + id: "48" + technology: "" + vendor: "" + extended_log: "enable" + force_inclusion_ssl_di_sigs: "disable" + name: "default_name_53" + options: "allow-dns" + other_application_action: "pass" + other_application_log: "disable" + p2p_black_list: "skype" + p2p_block_list: "skype" + replacemsg_group: " (source system.replacemsg-group.name)" + unknown_application_action: "pass" + unknown_application_log: "disable" """ RETURN = """ @@ -598,7 +588,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -626,6 +615,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_application_list_data(json): @@ -711,7 +703,6 @@ def underscore_to_hyphen(data): def application_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -748,11 +739,16 @@ def application_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -800,13 +796,12 @@ def is_successful_status(resp): def fortios_application(data, fos, check_mode): - fos.do_member_operation("application", "list") if data["application_list"]: resp = application_list(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("application_list")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -821,1143 +816,74 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "replacemsg_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "other_application_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "block"}], }, "app_replacemsg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "other_application_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "enforce_default_app_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "force_inclusion_ssl_di_sigs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "unknown_application_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "block"}], }, "unknown_application_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "p2p_block_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "options": [ - { - "value": "skype", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "edonkey", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "bittorrent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "skype"}, + {"value": "edonkey"}, + {"value": "bittorrent"}, ], "multiple_values": True, "elements": "str", }, "deep_app_inspection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "allow-dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow-icmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow-http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow-ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow-quic", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow-dns"}, + {"value": "allow-icmp"}, + {"value": "allow-http"}, + {"value": "allow-ssl"}, + {"value": "allow-quic", "v_range": [["v6.0.0", "v7.2.2"]]}, ], "multiple_values": True, "elements": "str", @@ -1967,32 +893,7 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, @@ -2001,485 +902,70 @@ versioned_schema = { "elements": "dict", "children": { "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "category": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "application": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "protocols": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "vendor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "technology": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "behavior": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "popularity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "1"}, + {"value": "2"}, + {"value": "3"}, + {"value": "4"}, + {"value": "5"}, ], "multiple_values": True, "elements": "str", @@ -2489,86 +975,19 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], }, "parameters": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, @@ -2577,1819 +996,148 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string"}, "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "value": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.4.0", ""]], }, + "value": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reset", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "reset"}, ], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_packet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "rate_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "rate_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "rate_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "rate_duration": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "rate_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "periodical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "continuous", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "periodical"}, {"value": "continuous"}], }, "rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp-client-mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-domain", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, + {"value": "dhcp-client-mac"}, + {"value": "dns-domain"}, ], }, - "session_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "shaper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "shaper_reverse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "per_ip_shaper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "session_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "shaper": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "shaper_reverse": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "per_ip_shaper": {"v_range": [["v6.0.0", ""]], "type": "string"}, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attacker", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "quarantine_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "attacker"}], }, + "quarantine_expiry": {"v_range": [["v6.0.0", ""]], "type": "string"}, "quarantine_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sub_category": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "control_default_network_services": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "default_network_services": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "services": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "http"}, + {"value": "ssh"}, + {"value": "telnet"}, + {"value": "ftp"}, + {"value": "dns"}, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "imap"}, + {"value": "snmp"}, + {"value": "nntp"}, + {"value": "https"}, ], "multiple_values": True, "elements": "str", }, "violation_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "pass"}, + {"value": "monitor"}, + {"value": "block"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "p2p_black_list": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "skype", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "edonkey", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bittorrent", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "skype"}, + {"value": "edonkey"}, + {"value": "bittorrent"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -4424,6 +1172,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_name.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_name.py index 87b9e2900..88df2a230 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_name.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_name.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,7 +108,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int metaid: @@ -174,44 +174,33 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure application signatures. - fortios_application_name: - vdom: "{{ vdom }}" +- name: Configure application signatures. + fortinet.fortios.fortios_application_name: + vdom: "{{ vdom }}" state: "present" access_token: "" application_name: - behavior: "" - category: "0" - id: "5" - metadata: - - - id: "7" - metaid: "0" - valueid: "0" - name: "default_name_10" - parameter: "" - parameters: - - - default_value: "" - name: "default_name_14" - popularity: "0" - protocol: "" - risk: "0" - sub_category: "127" - technology: "" - vendor: "" - weight: "0" - + behavior: "" + category: "0" + id: "5" + metadata: + - + id: "7" + metaid: "0" + valueid: "0" + name: "default_name_10" + parameter: "" + parameters: + - + default_value: "" + name: "default_name_14" + popularity: "0" + protocol: "" + risk: "0" + sub_category: "127" + technology: "" + vendor: "" + weight: "0" """ RETURN = """ @@ -270,7 +259,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -298,6 +286,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_application_name_data(json): @@ -365,7 +356,6 @@ def valid_attr_to_invalid_attrs(data): def application_name(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -402,11 +392,16 @@ def application_name(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -454,13 +449,12 @@ def is_successful_status(resp): def fortios_application(data, fos, check_mode): - fos.do_member_operation("application", "name") if data["application_name"]: resp = application_name(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("application_name")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -476,224 +470,44 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "category": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "popularity": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "risk": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "weight": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "protocol": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "technology": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "behavior": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "vendor": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "parameters": { @@ -701,193 +515,41 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "default_value": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, "metadata": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "metaid": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "valueid": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, - "sub_category": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "parameter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "sub_category": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "parameter": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -922,6 +584,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_rule_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_rule_settings.py index 6639ce911..0ece60975 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_rule_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_application_rule_settings.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,30 +92,19 @@ options: suboptions: id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure application rule settings. - fortios_application_rule_settings: - vdom: "{{ vdom }}" +- name: Configure application rule settings. + fortinet.fortios.fortios_application_rule_settings: + vdom: "{{ vdom }}" state: "present" access_token: "" application_rule_settings: - id: "3" - + id: "3" """ RETURN = """ @@ -172,7 +163,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -200,6 +190,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_application_rule_settings_data(json): @@ -229,7 +222,6 @@ def underscore_to_hyphen(data): def application_rule_settings(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -265,11 +257,16 @@ def application_rule_settings(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -319,7 +316,6 @@ def is_successful_status(resp): def fortios_application(data, fos, check_mode): - fos.do_member_operation("application", "rule-settings") if data["application_rule_settings"]: resp = application_rule_settings(data, fos, check_mode) @@ -327,7 +323,7 @@ def fortios_application(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("application_rule_settings") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -343,48 +339,12 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -421,6 +381,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_rule.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_rule.py index c0874f25b..1691002b8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_rule.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_rule.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,6 +96,17 @@ options: description: - Comment. type: str + cors_depth: + description: + - Depth to allow CORS access . + type: int + cors_stateful: + description: + - Enable/disable allowance of CORS access . + type: str + choices: + - 'enable' + - 'disable' dstaddr: description: - Select an IPv4 destination address from available options. Required for web proxy authentication. @@ -171,7 +182,7 @@ options: suboptions: name: description: - - Interface name. Source system.interface.name system.zone.name. + - Interface name. Source system.interface.name system.zone.name system.sdwan.zone.name. required: true type: str sso_auth_method: @@ -209,50 +220,41 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Authentication Rules. - fortios_authentication_rule: - vdom: "{{ vdom }}" +- name: Configure Authentication Rules. + fortinet.fortios.fortios_authentication_rule: + vdom: "{{ vdom }}" state: "present" access_token: "" authentication_rule: - active_auth_method: " (source authentication.scheme.name)" - comments: "" - dstaddr: - - - name: "default_name_6 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system - .external-resource.name)" - dstaddr6: - - - name: "default_name_8 (source firewall.address6.name firewall.addrgrp6.name)" - ip_based: "enable" - name: "default_name_10" - protocol: "http" - srcaddr: - - - name: "default_name_13 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system - .external-resource.name)" - srcaddr6: - - - name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name)" - srcintf: - - - name: "default_name_17 (source system.interface.name system.zone.name)" - sso_auth_method: " (source authentication.scheme.name)" - status: "enable" - transaction_based: "enable" - web_auth_cookie: "enable" - web_portal: "enable" - + active_auth_method: " (source authentication.scheme.name)" + comments: "" + cors_depth: "3" + cors_stateful: "enable" + dstaddr: + - + name: "default_name_8 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system + .external-resource.name)" + dstaddr6: + - + name: "default_name_10 (source firewall.address6.name firewall.addrgrp6.name)" + ip_based: "enable" + name: "default_name_12" + protocol: "http" + srcaddr: + - + name: "default_name_15 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system + .external-resource.name)" + srcaddr6: + - + name: "default_name_17 (source firewall.address6.name firewall.addrgrp6.name)" + srcintf: + - + name: "default_name_19 (source system.interface.name system.zone.name system.sdwan.zone.name)" + sso_auth_method: " (source authentication.scheme.name)" + status: "enable" + transaction_based: "enable" + web_auth_cookie: "enable" + web_portal: "enable" """ RETURN = """ @@ -311,7 +313,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -339,12 +340,17 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_authentication_rule_data(json): option_list = [ "active_auth_method", "comments", + "cors_depth", + "cors_stateful", "dstaddr", "dstaddr6", "ip_based", @@ -384,7 +390,6 @@ def underscore_to_hyphen(data): def authentication_rule(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -420,11 +425,16 @@ def authentication_rule(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -474,13 +484,12 @@ def is_successful_status(resp): def fortios_authentication(data, fos, check_mode): - fos.do_member_operation("authentication", "rule") if data["authentication_rule"]: resp = authentication_rule(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("authentication_rule")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -495,270 +504,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "socks", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "http"}, + {"value": "ftp"}, + {"value": "socks"}, + {"value": "ssh"}, ], }, "srcintf": { @@ -766,745 +525,92 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "ip_based": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "active_auth_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "active_auth_method": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sso_auth_method": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "web_auth_cookie": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sso_auth_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "cors_stateful": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "web_auth_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, + "cors_depth": {"v_range": [["v7.4.1", ""]], "type": "integer"}, "transaction_based": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1539,6 +645,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_scheme.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_scheme.py index add8b9160..b48908fb5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_scheme.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_scheme.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -182,39 +182,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Authentication Schemes. - fortios_authentication_scheme: - vdom: "{{ vdom }}" +- name: Configure Authentication Schemes. + fortinet.fortios.fortios_authentication_scheme: + vdom: "{{ vdom }}" state: "present" access_token: "" authentication_scheme: - domain_controller: " (source user.domain-controller.name)" - ems_device_owner: "enable" - fsso_agent_for_ntlm: " (source user.fsso.name)" - fsso_guest: "enable" - kerberos_keytab: " (source user.krb-keytab.name)" - method: "ntlm" - name: "default_name_9" - negotiate_ntlm: "enable" - require_tfa: "enable" - saml_server: " (source user.saml.name)" - saml_timeout: "120" - ssh_ca: " (source firewall.ssh.local-ca.name)" - user_cert: "enable" - user_database: - - - name: "default_name_17 (source system.datasource.name user.radius.name user.tacacs+.name user.ldap.name user.group.name)" - + domain_controller: " (source user.domain-controller.name)" + ems_device_owner: "enable" + fsso_agent_for_ntlm: " (source user.fsso.name)" + fsso_guest: "enable" + kerberos_keytab: " (source user.krb-keytab.name)" + method: "ntlm" + name: "default_name_9" + negotiate_ntlm: "enable" + require_tfa: "enable" + saml_server: " (source user.saml.name)" + saml_timeout: "120" + ssh_ca: " (source firewall.ssh.local-ca.name)" + user_cert: "enable" + user_database: + - + name: "default_name_17 (source system.datasource.name user.radius.name user.tacacs+.name user.ldap.name user.group.name)" """ RETURN = """ @@ -273,7 +262,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -301,6 +289,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_authentication_scheme_data(json): @@ -374,7 +365,6 @@ def underscore_to_hyphen(data): def authentication_scheme(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -413,11 +403,16 @@ def authentication_scheme(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -467,13 +462,12 @@ def is_successful_status(resp): def fortios_authentication(data, fos, check_mode): - fos.do_member_operation("authentication", "scheme") if data["authentication_scheme"]: resp = authentication_scheme(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("authentication_scheme")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -488,976 +482,70 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ntlm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "digest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "form", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "negotiate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fsso", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rsso", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh-publickey", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "saml", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ntlm"}, + {"value": "basic"}, + {"value": "digest"}, + {"value": "form"}, + {"value": "negotiate"}, + {"value": "fsso"}, + {"value": "rsso"}, + {"value": "ssh-publickey"}, + {"value": "cert", "v_range": [["v7.0.0", ""]]}, + {"value": "saml", "v_range": [["v7.0.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "negotiate_ntlm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "kerberos_keytab": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "domain_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "saml_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "saml_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "fsso_agent_for_ntlm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "kerberos_keytab": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "domain_controller": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "saml_server": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "saml_timeout": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "fsso_agent_for_ntlm": {"v_range": [["v6.0.0", ""]], "type": "string"}, "require_tfa": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fsso_guest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "user_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "user_database": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ssh_ca": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "ssh_ca": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ems_device_owner": { - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1494,6 +582,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_setting.py index 14445c4b4..bff03f6c2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_authentication_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -196,46 +196,35 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure authentication setting. - fortios_authentication_setting: - vdom: "{{ vdom }}" +- name: Configure authentication setting. + fortinet.fortios.fortios_authentication_setting: + vdom: "{{ vdom }}" authentication_setting: - active_auth_scheme: " (source authentication.scheme.name)" - auth_https: "enable" - captive_portal: " (source firewall.address.name)" - captive_portal_ip: "" - captive_portal_ip6: "" - captive_portal_port: "7830" - captive_portal_ssl_port: "7831" - captive_portal_type: "fqdn" - captive_portal6: " (source firewall.address6.name)" - cert_auth: "enable" - cert_captive_portal: " (source firewall.address.name)" - cert_captive_portal_ip: "" - cert_captive_portal_port: "7832" - cookie_max_age: "480" - cookie_refresh_div: "2" - dev_range: - - - name: "default_name_19 (source firewall.address.name firewall.addrgrp.name)" - ip_auth_cookie: "enable" - persistent_cookie: "enable" - sso_auth_scheme: " (source authentication.scheme.name)" - update_time: "" - user_cert_ca: - - - name: "default_name_25 (source vpn.certificate.ca.name)" - + active_auth_scheme: " (source authentication.scheme.name)" + auth_https: "enable" + captive_portal: " (source firewall.address.name)" + captive_portal_ip: "" + captive_portal_ip6: "" + captive_portal_port: "7830" + captive_portal_ssl_port: "7831" + captive_portal_type: "fqdn" + captive_portal6: " (source firewall.address6.name)" + cert_auth: "enable" + cert_captive_portal: " (source firewall.address.name)" + cert_captive_portal_ip: "" + cert_captive_portal_port: "7832" + cookie_max_age: "480" + cookie_refresh_div: "2" + dev_range: + - + name: "default_name_19 (source firewall.address.name firewall.addrgrp.name)" + ip_auth_cookie: "enable" + persistent_cookie: "enable" + sso_auth_scheme: " (source authentication.scheme.name)" + update_time: "" + user_cert_ca: + - + name: "default_name_25 (source vpn.certificate.ca.name)" """ RETURN = """ @@ -294,7 +283,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -389,7 +377,6 @@ def is_successful_status(resp): def fortios_authentication(data, fos): - fos.do_member_operation("authentication", "setting") if data["authentication_setting"]: resp = authentication_setting(data, fos) @@ -406,884 +393,71 @@ def fortios_authentication(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "active_auth_scheme": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sso_auth_scheme": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "update_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "active_auth_scheme": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sso_auth_scheme": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "update_time": {"v_range": [["v7.2.0", ""]], "type": "string"}, "persistent_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_auth_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "cookie_max_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "cookie_refresh_div": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "cookie_max_age": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "cookie_refresh_div": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "captive_portal_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "captive_portal_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "captive_portal_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "captive_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "captive_portal6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "fqdn"}, {"value": "ip"}], }, + "captive_portal_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "captive_portal_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "captive_portal": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "captive_portal6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "cert_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "cert_captive_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "cert_captive_portal_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "cert_captive_portal_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "captive_portal_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "cert_captive_portal": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "cert_captive_portal_ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "cert_captive_portal_port": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "captive_portal_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auth_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "captive_portal_ssl_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "captive_portal_ssl_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "user_cert_ca": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "dev_range": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, }, } @@ -1321,6 +495,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_automation_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_automation_setting.py index 9d416f370..3a4f75391 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_automation_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_automation_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,23 +94,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Automation setting configuration. - fortios_automation_setting: - vdom: "{{ vdom }}" +- name: Automation setting configuration. + fortinet.fortios.fortios_automation_setting: + vdom: "{{ vdom }}" automation_setting: - fabric_sync: "enable" - max_concurrent_stitches: "512" - + fabric_sync: "enable" + max_concurrent_stitches: "512" """ RETURN = """ @@ -169,7 +158,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -242,7 +230,6 @@ def is_successful_status(resp): def fortios_automation(data, fos): - fos.do_member_operation("automation", "setting") if data["automation_setting"]: resp = automation_setting(data, fos) @@ -259,38 +246,14 @@ def fortios_automation(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "dict", "children": { - "max_concurrent_stitches": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, + "max_concurrent_stitches": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "fabric_sync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -326,6 +289,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_profile.py new file mode 100644 index 000000000..27ea05cff --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_profile.py @@ -0,0 +1,684 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_casb_profile +short_description: Configure CASB profile in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify casb feature and profile category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + state: + description: + - Indicates whether to create or remove the object. + type: str + required: true + choices: + - 'present' + - 'absent' + casb_profile: + description: + - Configure CASB profile. + default: null + type: dict + suboptions: + name: + description: + - CASB profile name. + required: true + type: str + saas_application: + description: + - CASB profile SaaS application. + type: list + elements: dict + suboptions: + access_rule: + description: + - CASB profile access rule. + type: list + elements: dict + suboptions: + action: + description: + - CASB access rule action. + type: str + choices: + - 'bypass' + - 'block' + - 'monitor' + bypass: + description: + - CASB bypass options. + type: list + elements: str + choices: + - 'av' + - 'dlp' + - 'web-filter' + - 'file-filter' + - 'video-filter' + name: + description: + - CASB access rule activity name. Source casb.user-activity.name. + required: true + type: str + custom_control: + description: + - CASB profile custom control. + type: list + elements: dict + suboptions: + name: + description: + - CASB custom control user activity name. Source casb.user-activity.name. + required: true + type: str + option: + description: + - CASB custom control option. + type: list + elements: dict + suboptions: + name: + description: + - CASB custom control option name. + required: true + type: str + user_input: + description: + - CASB custom control user input. + type: list + elements: dict + suboptions: + value: + description: + - user input value. + required: true + type: str + domain_control: + description: + - Enable/disable domain control. + type: str + choices: + - 'enable' + - 'disable' + domain_control_domains: + description: + - CASB profile domain control domains. + type: list + elements: dict + suboptions: + name: + description: + - Domain control domain name. + required: true + type: str + log: + description: + - Enable/disable log settings. + type: str + choices: + - 'enable' + - 'disable' + name: + description: + - CASB profile SaaS application name. Source casb.saas-application.name. + required: true + type: str + safe_search: + description: + - Enable/disable safe search. + type: str + choices: + - 'enable' + - 'disable' + safe_search_control: + description: + - CASB profile safe search control. + type: list + elements: dict + suboptions: + name: + description: + - Safe search control name. + required: true + type: str + tenant_control: + description: + - Enable/disable tenant control. + type: str + choices: + - 'enable' + - 'disable' + tenant_control_tenants: + description: + - CASB profile tenant control tenants. + type: list + elements: dict + suboptions: + name: + description: + - Tenant control tenants name. + required: true + type: str +""" + +EXAMPLES = """ +- name: Configure CASB profile. + fortinet.fortios.fortios_casb_profile: + vdom: "{{ vdom }}" + state: "present" + access_token: "" + casb_profile: + name: "default_name_3" + saas_application: + - + access_rule: + - + action: "bypass" + bypass: "av" + name: "default_name_8 (source casb.user-activity.name)" + custom_control: + - + name: "default_name_10 (source casb.user-activity.name)" + option: + - + name: "default_name_12" + user_input: + - + value: "" + domain_control: "enable" + domain_control_domains: + - + name: "default_name_17" + log: "enable" + name: "default_name_19 (source casb.saas-application.name)" + safe_search: "enable" + safe_search_control: + - + name: "default_name_22" + tenant_control: "enable" + tenant_control_tenants: + - + name: "default_name_25" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_casb_profile_data(json): + option_list = ["name", "saas_application"] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def flatten_single_path(data, path, index): + if ( + not data + or index == len(path) + or path[index] not in data + or not data[path[index]] + ): + return + + if index == len(path) - 1: + data[path[index]] = " ".join(str(elem) for elem in data[path[index]]) + elif isinstance(data[path[index]], list): + for value in data[path[index]]: + flatten_single_path(value, path, index + 1) + else: + flatten_single_path(data[path[index]], path, index + 1) + + +def flatten_multilists_attributes(data): + multilist_attrs = [ + ["saas_application", "access_rule", "bypass"], + ] + + for attr in multilist_attrs: + flatten_single_path(data, attr, 0) + + return data + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def casb_profile(data, fos): + vdom = data["vdom"] + + state = data["state"] + + casb_profile_data = data["casb_profile"] + casb_profile_data = flatten_multilists_attributes(casb_profile_data) + filtered_data = underscore_to_hyphen(filter_casb_profile_data(casb_profile_data)) + + if state == "present" or state is True: + return fos.set("casb", "profile", data=filtered_data, vdom=vdom) + + elif state == "absent": + return fos.delete("casb", "profile", mkey=filtered_data["name"], vdom=vdom) + else: + fos._module.fail_json(msg="state must be present or absent!") + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_casb(data, fos): + fos.do_member_operation("casb", "profile") + if data["casb_profile"]: + resp = casb_profile(data, fos) + else: + fos._module.fail_json(msg="missing task body: %s" % ("casb_profile")) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "type": "list", + "elements": "dict", + "children": { + "name": {"v_range": [["v7.4.1", ""]], "type": "string", "required": True}, + "saas_application": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + }, + "safe_search": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "safe_search_control": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + "tenant_control": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "tenant_control_tenants": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + "domain_control": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "domain_control_domains": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + "log": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "access_rule": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + }, + "action": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "bypass"}, + {"value": "block"}, + {"value": "monitor"}, + ], + }, + "bypass": { + "v_range": [["v7.4.1", ""]], + "type": "list", + "options": [ + {"value": "av"}, + {"value": "dlp"}, + {"value": "web-filter"}, + {"value": "file-filter"}, + {"value": "video-filter"}, + ], + "multiple_values": True, + "elements": "str", + }, + }, + "v_range": [["v7.4.1", ""]], + }, + "custom_control": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + }, + "option": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + }, + "user_input": { + "type": "list", + "elements": "dict", + "children": { + "value": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = "name" + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "state": {"required": True, "type": "str", "choices": ["present", "absent"]}, + "casb_profile": { + "required": False, + "type": "dict", + "default": None, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["casb_profile"]["options"][attribute_name] = module_spec["options"][ + attribute_name + ] + if mkeyname and mkeyname == attribute_name: + fields["casb_profile"]["options"][attribute_name]["required"] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "casb_profile" + ) + + is_error, has_changed, result, diff = fortios_casb(module.params, fos) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_saas_application.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_saas_application.py new file mode 100644 index 000000000..92e2f79d9 --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_saas_application.py @@ -0,0 +1,414 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_casb_saas_application +short_description: Configure CASB SaaS application in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify casb feature and saas_application category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + state: + description: + - Indicates whether to create or remove the object. + type: str + required: true + choices: + - 'present' + - 'absent' + casb_saas_application: + description: + - Configure CASB SaaS application. + default: null + type: dict + suboptions: + casb_name: + description: + - SaaS application signature name. + type: str + description: + description: + - SaaS application description. + type: str + domains: + description: + - SaaS application domain list. + type: list + elements: dict + suboptions: + domain: + description: + - Domain list separated by space. + required: true + type: str + name: + description: + - SaaS application name. + required: true + type: str + type: + description: + - SaaS application type. + type: str + choices: + - 'built-in' + - 'customized' + uuid: + description: + - Universally Unique Identifier (UUID; automatically assigned but can be manually reset). + type: str +""" + +EXAMPLES = """ +- name: Configure CASB SaaS application. + fortinet.fortios.fortios_casb_saas_application: + vdom: "{{ vdom }}" + state: "present" + access_token: "" + casb_saas_application: + casb_name: "" + description: "" + domains: + - + domain: "" + name: "default_name_7" + type: "built-in" + uuid: "" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_casb_saas_application_data(json): + option_list = ["casb_name", "description", "domains", "name", "type", "uuid"] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def casb_saas_application(data, fos): + vdom = data["vdom"] + + state = data["state"] + + casb_saas_application_data = data["casb_saas_application"] + filtered_data = underscore_to_hyphen( + filter_casb_saas_application_data(casb_saas_application_data) + ) + + if state == "present" or state is True: + return fos.set("casb", "saas-application", data=filtered_data, vdom=vdom) + + elif state == "absent": + return fos.delete( + "casb", "saas-application", mkey=filtered_data["name"], vdom=vdom + ) + else: + fos._module.fail_json(msg="state must be present or absent!") + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_casb(data, fos): + fos.do_member_operation("casb", "saas-application") + if data["casb_saas_application"]: + resp = casb_saas_application(data, fos) + else: + fos._module.fail_json(msg="missing task body: %s" % ("casb_saas_application")) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "type": "list", + "elements": "dict", + "children": { + "name": {"v_range": [["v7.4.1", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "type": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "built-in"}, {"value": "customized"}], + }, + "casb_name": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "description": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "domains": { + "type": "list", + "elements": "dict", + "children": { + "domain": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = "name" + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "state": {"required": True, "type": "str", "choices": ["present", "absent"]}, + "casb_saas_application": { + "required": False, + "type": "dict", + "default": None, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["casb_saas_application"]["options"][attribute_name] = module_spec[ + "options" + ][attribute_name] + if mkeyname and mkeyname == attribute_name: + fields["casb_saas_application"]["options"][attribute_name][ + "required" + ] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "casb_saas_application" + ) + + is_error, has_changed, result, diff = fortios_casb(module.params, fos) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_user_activity.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_user_activity.py new file mode 100644 index 000000000..c5d53b97a --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_casb_user_activity.py @@ -0,0 +1,819 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_casb_user_activity +short_description: Configure CASB user activity in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify casb feature and user_activity category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + state: + description: + - Indicates whether to create or remove the object. + type: str + required: true + choices: + - 'present' + - 'absent' + casb_user_activity: + description: + - Configure CASB user activity. + default: null + type: dict + suboptions: + application: + description: + - CASB SaaS application name. Source casb.saas-application.name. + type: str + casb_name: + description: + - CASB user activity signature name. + type: str + category: + description: + - CASB user activity category. + type: str + choices: + - 'activity-control' + - 'tenant-control' + - 'domain-control' + - 'safe-search-control' + - 'other' + control_options: + description: + - CASB control options. + type: list + elements: dict + suboptions: + name: + description: + - CASB control option name. + required: true + type: str + operations: + description: + - CASB control option operations. + type: list + elements: dict + suboptions: + action: + description: + - CASB operation action. + type: str + choices: + - 'append' + - 'prepend' + - 'replace' + - 'new' + - 'new-on-not-found' + - 'delete' + case_sensitive: + description: + - CASB operation search case sensitive. + type: str + choices: + - 'enable' + - 'disable' + direction: + description: + - CASB operation direction. + type: str + choices: + - 'request' + header_name: + description: + - CASB operation header name to search. + type: str + name: + description: + - CASB control option operation name. + required: true + type: str + search_key: + description: + - CASB operation key to search. + type: str + search_pattern: + description: + - CASB operation search pattern. + type: str + choices: + - 'simple' + - 'substr' + - 'regexp' + target: + description: + - CASB operation target. + type: str + choices: + - 'header' + - 'path' + value_from_input: + description: + - Enable/disable value from user input. + type: str + choices: + - 'enable' + - 'disable' + values: + description: + - CASB operation new values. + type: list + elements: dict + suboptions: + value: + description: + - Operation value. + required: true + type: str + description: + description: + - CASB user activity description. + type: str + match: + description: + - CASB user activity match rules. + type: list + elements: dict + suboptions: + id: + description: + - CASB user activity match rules ID. see Notes. + required: true + type: int + rules: + description: + - CASB user activity rules. + type: list + elements: dict + suboptions: + case_sensitive: + description: + - CASB user activity match case sensitive. + type: str + choices: + - 'enable' + - 'disable' + domains: + description: + - CASB user activity domain list. + type: list + elements: dict + suboptions: + domain: + description: + - Domain list separated by space. + required: true + type: str + header_name: + description: + - CASB user activity rule header name. + type: str + id: + description: + - CASB user activity rule ID. see Notes. + required: true + type: int + match_pattern: + description: + - CASB user activity rule match pattern. + type: str + choices: + - 'simple' + - 'substr' + - 'regexp' + match_value: + description: + - CASB user activity rule match value. + type: str + methods: + description: + - CASB user activity method list. + type: list + elements: dict + suboptions: + method: + description: + - User activity method. + required: true + type: str + negate: + description: + - Enable/disable what the matching strategy must not be. + type: str + choices: + - 'enable' + - 'disable' + type: + description: + - CASB user activity rule type. + type: str + choices: + - 'domains' + - 'host' + - 'path' + - 'header' + - 'header-value' + - 'method' + strategy: + description: + - CASB user activity rules strategy. + type: str + choices: + - 'and' + - 'or' + match_strategy: + description: + - CASB user activity match strategy. + type: str + choices: + - 'and' + - 'or' + name: + description: + - CASB user activity name. + required: true + type: str + type: + description: + - CASB user activity type. + type: str + choices: + - 'built-in' + - 'customized' + uuid: + description: + - Universally Unique Identifier (UUID; automatically assigned but can be manually reset). + type: str +""" + +EXAMPLES = """ +- name: Configure CASB user activity. + fortinet.fortios.fortios_casb_user_activity: + vdom: "{{ vdom }}" + state: "present" + access_token: "" + casb_user_activity: + application: " (source casb.saas-application.name)" + casb_name: "" + category: "activity-control" + control_options: + - + name: "default_name_7" + operations: + - + action: "append" + case_sensitive: "enable" + direction: "request" + header_name: "" + name: "default_name_13" + search_key: "" + search_pattern: "simple" + target: "header" + value_from_input: "enable" + values: + - + value: "" + description: "" + match: + - + id: "22" + rules: + - + case_sensitive: "enable" + domains: + - + domain: "" + header_name: "" + id: "28" + match_pattern: "simple" + match_value: "" + methods: + - + method: "" + negate: "enable" + type: "domains" + strategy: "and" + match_strategy: "and" + name: "default_name_37" + type: "built-in" + uuid: "" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_casb_user_activity_data(json): + option_list = [ + "application", + "casb_name", + "category", + "control_options", + "description", + "match", + "match_strategy", + "name", + "type", + "uuid", + ] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def casb_user_activity(data, fos): + vdom = data["vdom"] + + state = data["state"] + + casb_user_activity_data = data["casb_user_activity"] + filtered_data = underscore_to_hyphen( + filter_casb_user_activity_data(casb_user_activity_data) + ) + + if state == "present" or state is True: + return fos.set("casb", "user-activity", data=filtered_data, vdom=vdom) + + elif state == "absent": + return fos.delete( + "casb", "user-activity", mkey=filtered_data["name"], vdom=vdom + ) + else: + fos._module.fail_json(msg="state must be present or absent!") + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_casb(data, fos): + fos.do_member_operation("casb", "user-activity") + if data["casb_user_activity"]: + resp = casb_user_activity(data, fos) + else: + fos._module.fail_json(msg="missing task body: %s" % ("casb_user_activity")) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "type": "list", + "elements": "dict", + "children": { + "name": {"v_range": [["v7.4.1", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "description": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "type": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "built-in"}, {"value": "customized"}], + }, + "casb_name": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "application": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "category": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "activity-control"}, + {"value": "tenant-control"}, + {"value": "domain-control"}, + {"value": "safe-search-control"}, + {"value": "other"}, + ], + }, + "match_strategy": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "and"}, {"value": "or"}], + }, + "match": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + "required": True, + }, + "strategy": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "and"}, {"value": "or"}], + }, + "rules": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + "required": True, + }, + "type": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "domains"}, + {"value": "host"}, + {"value": "path"}, + {"value": "header"}, + {"value": "header-value"}, + {"value": "method"}, + ], + }, + "domains": { + "type": "list", + "elements": "dict", + "children": { + "domain": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + "methods": { + "type": "list", + "elements": "dict", + "children": { + "method": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + "match_pattern": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "simple"}, + {"value": "substr"}, + {"value": "regexp"}, + ], + }, + "match_value": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "header_name": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "case_sensitive": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "negate": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + "control_options": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + }, + "operations": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + }, + "target": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "header"}, {"value": "path"}], + }, + "action": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "append"}, + {"value": "prepend"}, + {"value": "replace"}, + {"value": "new"}, + {"value": "new-on-not-found"}, + {"value": "delete"}, + ], + }, + "direction": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "request"}], + }, + "header_name": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "search_pattern": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "simple"}, + {"value": "substr"}, + {"value": "regexp"}, + ], + }, + "search_key": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "case_sensitive": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "value_from_input": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "values": { + "type": "list", + "elements": "dict", + "children": { + "value": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = "name" + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "state": {"required": True, "type": "str", "choices": ["present", "absent"]}, + "casb_user_activity": { + "required": False, + "type": "dict", + "default": None, + "no_log": True, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["casb_user_activity"]["options"][attribute_name] = module_spec[ + "options" + ][attribute_name] + if mkeyname and mkeyname == attribute_name: + fields["casb_user_activity"]["options"][attribute_name]["required"] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "casb_user_activity" + ) + + is_error, has_changed, result, diff = fortios_casb(module.params, fos) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_ca.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_ca.py index 201e83d72..09e7cefa7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_ca.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_ca.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,6 +104,10 @@ options: description: - CA identifier of the SCEP server. type: str + est_url: + description: + - URL of the EST server. + type: str last_updated: description: - Time at which CA was last updated. @@ -160,36 +164,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: CA certificate. - fortios_certificate_ca: - vdom: "{{ vdom }}" +- name: CA certificate. + fortinet.fortios.fortios_certificate_ca: + vdom: "{{ vdom }}" state: "present" access_token: "" certificate_ca: - auto_update_days: "0" - auto_update_days_warning: "0" - ca: "" - ca_identifier: "myId_6" - last_updated: "2147483647" - name: "default_name_8" - obsolete: "disable" - range: "global" - scep_url: "" - source: "factory" - source_ip: "84.230.14.43" - ssl_inspection_trusted: "enable" - trusted: "enable" - + auto_update_days: "0" + auto_update_days_warning: "0" + ca: "" + ca_identifier: "myId_6" + est_url: "" + last_updated: "2147483647" + name: "default_name_9" + obsolete: "disable" + range: "global" + scep_url: "" + source: "factory" + source_ip: "84.230.14.43" + ssl_inspection_trusted: "enable" + trusted: "enable" """ RETURN = """ @@ -248,7 +242,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -276,6 +269,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_certificate_ca_data(json): @@ -284,6 +280,7 @@ def filter_certificate_ca_data(json): "auto_update_days_warning", "ca", "ca_identifier", + "est_url", "last_updated", "name", "obsolete", @@ -319,7 +316,6 @@ def underscore_to_hyphen(data): def certificate_ca(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -355,11 +351,16 @@ def certificate_ca(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -407,13 +408,12 @@ def is_successful_status(resp): def fortios_certificate(data, fos, check_mode): - fos.do_member_operation("certificate", "ca") if data["certificate_ca"]: resp = certificate_ca(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("certificate_ca")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -428,600 +428,45 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "ca": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "ca": {"v_range": [["v6.0.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, "ssl_inspection_trusted": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "scep_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auto_update_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_update_days_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ca_identifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "scep_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "est_url": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "auto_update_days": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_update_days_warning": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ca_identifier": {"v_range": [["v7.0.2", ""]], "type": "string"}, "obsolete": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "last_updated": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "trusted": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1056,6 +501,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_crl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_crl.py index a0455c84d..10478a682 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_crl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_crl.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -155,37 +155,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Certificate Revocation List as a PEM file. - fortios_certificate_crl: - vdom: "{{ vdom }}" +- name: Certificate Revocation List as a PEM file. + fortinet.fortios.fortios_certificate_crl: + vdom: "{{ vdom }}" state: "present" access_token: "" certificate_crl: - crl: "" - http_url: "" - last_updated: "2147483647" - ldap_password: "" - ldap_server: "" - ldap_username: "" - name: "default_name_9" - range: "global" - scep_cert: " (source certificate.local.name)" - scep_url: "" - source: "factory" - source_ip: "84.230.14.43" - update_interval: "0" - update_vdom: " (source system.vdom.name)" - + crl: "" + http_url: "" + last_updated: "2147483647" + ldap_password: "" + ldap_server: "" + ldap_username: "" + name: "default_name_9" + range: "global" + scep_cert: " (source certificate.local.name)" + scep_url: "" + source: "factory" + source_ip: "84.230.14.43" + update_interval: "0" + update_vdom: " (source system.vdom.name)" """ RETURN = """ @@ -244,7 +233,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -272,6 +260,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_certificate_crl_data(json): @@ -316,7 +307,6 @@ def underscore_to_hyphen(data): def certificate_crl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -352,11 +342,16 @@ def certificate_crl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -404,13 +399,12 @@ def is_successful_status(resp): def fortios_certificate(data, fos, check_mode): - fos.do_member_operation("certificate", "crl") if data["certificate_crl"]: resp = certificate_crl(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("certificate_crl")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -425,570 +419,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "crl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "crl": {"v_range": [["v6.0.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "update_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "scep_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "scep_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "update_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, + "update_vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "scep_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "scep_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "update_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "last_updated": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1023,6 +480,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_local.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_local.py index b6d4ea6e4..cdfbc0ee2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_local.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_local.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -160,6 +160,39 @@ options: - 'scep' - 'cmpv2' - 'acme2' + - 'est' + est_ca_id: + description: + - CA identifier of the CA server for signing via EST. + type: str + est_client_cert: + description: + - Certificate used to authenticate this FortiGate to EST server. Source certificate.local.name. + type: str + est_http_password: + description: + - HTTP Authentication password for signing via EST. + type: str + est_http_username: + description: + - HTTP Authentication username for signing via EST. + type: str + est_server: + description: + - 'Address and port for EST server (e.g. https://example.com:1234).' + type: str + est_server_cert: + description: + - EST server"s certificate must be verifiable by this certificate to be authenticated. Source certificate.ca.name certificate.remote.name. + type: str + est_srp_password: + description: + - EST SRP authentication password. + type: str + est_srp_username: + description: + - EST SRP authentication username. + type: str ike_localid: description: - Local ID the FortiGate uses for authentication as a VPN client. @@ -236,53 +269,50 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Local keys and certificates. - fortios_certificate_local: - vdom: "{{ vdom }}" +- name: Local keys and certificates. + fortinet.fortios.fortios_certificate_local: + vdom: "{{ vdom }}" state: "present" access_token: "" certificate_local: - acme_ca_url: "" - acme_domain: "" - acme_email: "" - acme_renew_window: "30" - acme_rsa_key_size: "2048" - auto_regenerate_days: "0" - auto_regenerate_days_warning: "0" - ca_identifier: "myId_10" - certificate: "" - cmp_path: "" - cmp_regeneration_method: "keyupate" - cmp_server: "" - cmp_server_cert: " (source certificate.ca.name certificate.remote.name)" - comments: "" - csr: "" - enroll_protocol: "none" - ike_localid: "" - ike_localid_type: "asn1dn" - last_updated: "2147483647" - name: "default_name_22" - name_encoding: "printable" - password: "" - private_key: "" - private_key_retain: "enable" - range: "global" - scep_password: "" - scep_url: "" - source: "factory" - source_ip: "84.230.14.43" - state: "" - + acme_ca_url: "" + acme_domain: "" + acme_email: "" + acme_renew_window: "30" + acme_rsa_key_size: "2048" + auto_regenerate_days: "0" + auto_regenerate_days_warning: "0" + ca_identifier: "myId_10" + certificate: "" + cmp_path: "" + cmp_regeneration_method: "keyupate" + cmp_server: "" + cmp_server_cert: " (source certificate.ca.name certificate.remote.name)" + comments: "" + csr: "" + enroll_protocol: "none" + est_ca_id: "" + est_client_cert: " (source certificate.local.name)" + est_http_password: "" + est_http_username: "" + est_server: "" + est_server_cert: " (source certificate.ca.name certificate.remote.name)" + est_srp_password: "" + est_srp_username: "" + ike_localid: "" + ike_localid_type: "asn1dn" + last_updated: "2147483647" + name: "default_name_30" + name_encoding: "printable" + password: "" + private_key: "" + private_key_retain: "enable" + range: "global" + scep_password: "" + scep_url: "" + source: "factory" + source_ip: "84.230.14.43" + state: "" """ RETURN = """ @@ -341,7 +371,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -369,6 +398,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_certificate_local_data(json): @@ -389,6 +421,14 @@ def filter_certificate_local_data(json): "comments", "csr", "enroll_protocol", + "est_ca_id", + "est_client_cert", + "est_http_password", + "est_http_username", + "est_server", + "est_server_cert", + "est_srp_password", + "est_srp_username", "ike_localid", "ike_localid_type", "last_updated", @@ -429,7 +469,6 @@ def underscore_to_hyphen(data): def certificate_local(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -465,11 +504,16 @@ def certificate_local(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -517,13 +561,12 @@ def is_successful_status(resp): def fortios_certificate(data, fos, check_mode): - fos.do_member_operation("certificate", "local") if data["certificate_local"]: resp = certificate_local(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("certificate_local")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -538,1345 +581,89 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "private_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "csr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "scep_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "private_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "csr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "scep_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_regenerate_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, + "auto_regenerate_days": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auto_regenerate_days_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "scep_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ca_identifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "scep_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ca_identifier": {"v_range": [["v6.0.0", ""]], "type": "string"}, "name_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "printable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utf8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ike_localid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "printable"}, {"value": "utf8"}], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ike_localid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ike_localid_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "asn1dn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "asn1dn"}, {"value": "fqdn"}], }, "enroll_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scep", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cmpv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "acme2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "none"}, + {"value": "scep"}, + {"value": "cmpv2"}, + {"value": "acme2", "v_range": [["v7.0.0", ""]]}, + {"value": "est", "v_range": [["v7.4.1", ""]]}, ], }, "private_key_retain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "cmp_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cmp_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cmp_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "cmp_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cmp_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cmp_server_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "cmp_regeneration_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "keyupate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "renewal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "acme_ca_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "acme_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "acme_email": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - }, - "acme_rsa_key_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "acme_renew_window": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "options": [{"value": "keyupate"}, {"value": "renewal"}], + }, + "acme_ca_url": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "acme_domain": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "acme_email": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "acme_rsa_key_size": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "acme_renew_window": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "est_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_ca_id": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_http_username": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_http_password": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_client_cert": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_server_cert": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_srp_username": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_srp_password": {"v_range": [["v7.4.1", ""]], "type": "string"}, "state": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "last_updated": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1898,6 +685,7 @@ def main(): "required": False, "type": "dict", "default": None, + "no_log": True, "options": {}, }, } @@ -1911,6 +699,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_remote.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_remote.py index 4eadd97ab..b2d1eb470 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_remote.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_certificate_remote.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,27 +115,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Remote certificate as a PEM file. - fortios_certificate_remote: - vdom: "{{ vdom }}" +- name: Remote certificate as a PEM file. + fortinet.fortios.fortios_certificate_remote: + vdom: "{{ vdom }}" state: "present" access_token: "" certificate_remote: - name: "default_name_3" - range: "global" - remote: "" - source: "factory" - + name: "default_name_3" + range: "global" + remote: "" + source: "factory" """ RETURN = """ @@ -194,7 +183,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -222,6 +210,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_certificate_remote_data(json): @@ -251,7 +242,6 @@ def underscore_to_hyphen(data): def certificate_remote(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -287,11 +277,16 @@ def certificate_remote(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -341,13 +336,12 @@ def is_successful_status(resp): def fortios_certificate(data, fos, check_mode): - fos.do_member_operation("certificate", "remote") if data["certificate_remote"]: resp = certificate_remote(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("certificate_remote")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -362,269 +356,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "remote": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "remote": {"v_range": [["v6.2.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -659,6 +404,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_domain_controller.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_domain_controller.py index e95ed88ad..b3722ed1b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_domain_controller.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_domain_controller.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -120,30 +120,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Define known domain controller servers. - fortios_cifs_domain_controller: - vdom: "{{ vdom }}" +- name: Define known domain controller servers. + fortinet.fortios.fortios_cifs_domain_controller: + vdom: "{{ vdom }}" state: "present" access_token: "" cifs_domain_controller: - domain_name: "" - ip: "" - ip6: "" - password: "" - port: "32767" - server_name: "" - username: "" - + domain_name: "" + ip: "" + ip6: "" + password: "" + port: "32767" + server_name: "" + username: "" """ RETURN = """ @@ -202,7 +191,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -230,6 +218,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_cifs_domain_controller_data(json): @@ -267,7 +258,6 @@ def underscore_to_hyphen(data): def cifs_domain_controller(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -303,11 +293,16 @@ def cifs_domain_controller(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -357,13 +352,12 @@ def is_successful_status(resp): def fortios_cifs(data, fos, check_mode): - fos.do_member_operation("cifs", "domain-controller") if data["cifs_domain_controller"]: resp = cifs_domain_controller(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("cifs_domain_controller")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -379,84 +373,36 @@ versioned_schema = { "elements": "dict", "children": { "server_name": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "domain_name": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "username": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "password": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "port": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "ip": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "ip6": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, }, - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], } @@ -493,6 +439,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_profile.py index 6bda845cc..0a39b3308 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_cifs_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -194,44 +194,33 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure CIFS profile. - fortios_cifs_profile: - vdom: "{{ vdom }}" +- name: Configure CIFS profile. + fortinet.fortios.fortios_cifs_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" cifs_profile: - domain_controller: " (source credential-store.domain-controller.server-name)" - file_filter: - entries: - - - action: "log" - comment: "Comment." - direction: "incoming" - file_type: - - - name: "default_name_10 (source antivirus.filetype.name)" - filter: "" - protocol: "cifs" - log: "enable" - status: "enable" - name: "default_name_15" - server_credential_type: "none" - server_keytab: - - - keytab: "" - password: "" - principal: "" - + domain_controller: " (source credential-store.domain-controller.server-name)" + file_filter: + entries: + - + action: "log" + comment: "Comment." + direction: "incoming" + file_type: + - + name: "default_name_10 (source antivirus.filetype.name)" + filter: "" + protocol: "cifs" + log: "enable" + status: "enable" + name: "default_name_15" + server_credential_type: "none" + server_keytab: + - + keytab: "" + password: "" + principal: "" """ RETURN = """ @@ -290,7 +279,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -318,6 +306,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_cifs_profile_data(json): @@ -382,7 +373,6 @@ def underscore_to_hyphen(data): def cifs_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -417,11 +407,16 @@ def cifs_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -469,13 +464,12 @@ def is_successful_status(resp): def fortios_cifs(data, fos, check_mode): - fos.do_member_operation("cifs", "profile") if data["cifs_profile"]: resp = cifs_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("cifs_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -491,66 +485,21 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "server_credential_type": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "credential-replication", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "credential-keytab", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "credential-replication"}, + {"value": "credential-keytab"}, ], }, "domain_controller": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "server_keytab": { @@ -558,194 +507,57 @@ versioned_schema = { "elements": "dict", "children": { "principal": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "keytab": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, - "password": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "string", - }, - }, - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "password": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, "file_filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "dict", "children": { "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "entries": { "type": "list", "elements": "dict", "children": { "filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, }, "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", }, "action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "log"}, {"value": "block"}], }, "direction": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "incoming", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "outgoing", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "incoming"}, + {"value": "outgoing"}, + {"value": "any"}, ], }, "file_type": { @@ -753,50 +565,27 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "protocol": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "list", - "options": [ - {"value": "cifs", "revisions": {"v6.2.3": True}} - ], + "options": [{"value": "cifs"}], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, }, }, }, - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], } @@ -831,6 +620,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_configuration_fact.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_configuration_fact.py index 6a556fbc6..2c1d96e9f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_configuration_fact.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_configuration_fact.py @@ -201,6 +201,7 @@ options: - 'system.lldp_network-policy' - 'system_pcp-server' - 'system_speed-test-schedule' + - 'system_speed-test-setting' - 'system_standalone-cluster' - 'system_fortiguard' - 'system_ips' @@ -307,8 +308,8 @@ options: - 'switch-controller_switch-profile' - 'switch-controller_custom-command' - 'switch-controller_virtual-port-pool' - - 'switch-controller.ptp_settings' - - 'switch-controller.ptp_policy' + - 'switch-controller.ptp_profile' + - 'switch-controller.ptp_interface-policy' - 'switch-controller_vlan-policy' - 'switch-controller.acl_ingress' - 'switch-controller.acl_group' @@ -382,8 +383,8 @@ options: - 'firewall.ipmacbinding_table' - 'firewall_profile-protocol-options' - 'firewall_ssl-ssh-profile' - - 'firewall_profile-group' - 'firewall_ssl-server' + - 'firewall_profile-group' - 'firewall_identity-based-route' - 'firewall_auth-portal' - 'firewall_security-policy' @@ -460,6 +461,7 @@ options: - 'web-proxy_forward-server-group' - 'web-proxy_debug-url' - 'web-proxy_wisp' + - 'web-proxy_fast-fallback' - 'web-proxy_url-match' - 'wanopt_webcache' - 'wanopt_settings' @@ -584,12 +586,16 @@ options: - 'antivirus_profile' - 'ssh-filter_profile' - 'file-filter_profile' + - 'virtual-patch_profile' - 'report_layout' - 'report_setting' - 'waf_main-class' - 'waf_sub-class' - 'waf_signature' - 'waf_profile' + - 'casb_saas-application' + - 'casb_user-activity' + - 'casb_profile' - 'authentication_scheme' - 'authentication_rule' - 'authentication_setting' @@ -631,19 +637,24 @@ options: - 'automation_setting' - 'dpdk_global' - 'dpdk_cpus' + - 'system_isf-queue-profile' - 'system_npu' - 'system_np6' + - 'system_modem' + - 'system.3g-modem_custom' - 'system_lte-modem' + - 'firewall_acl' + - 'firewall_acl6' + - 'monitoring_np6-ipsec-engine' + - 'monitoring_npu-hpe' + - 'switch-controller.ptp_settings' + - 'switch-controller.ptp_policy' - 'system_physical-switch' - 'system_virtual-switch' - 'system_stp' - 'system_gi-gk' - - 'system_modem' - - 'system.3g-modem_custom' - 'firewall_gtp' - 'firewall_pfcp' - - 'firewall_acl' - - 'firewall_acl6' - 'vpn_ocvpn' - 'gtp_apn' - 'gtp_apngrp' @@ -654,9 +665,6 @@ options: - 'gtp_tunnel-limit' - 'gtp_apn-shaper' - 'pfcp_message-filter' - - 'monitoring_np6-ipsec-engine' - - 'monitoring_npu-hpe' - - 'system_isf-queue-profile' - 'system.replacemsg_mail' - 'system.replacemsg_http' - 'system.replacemsg_webproxy' @@ -924,6 +932,7 @@ options: - 'system.lldp_network-policy' - 'system_pcp-server' - 'system_speed-test-schedule' + - 'system_speed-test-setting' - 'system_standalone-cluster' - 'system_fortiguard' - 'system_ips' @@ -1030,8 +1039,8 @@ options: - 'switch-controller_switch-profile' - 'switch-controller_custom-command' - 'switch-controller_virtual-port-pool' - - 'switch-controller.ptp_settings' - - 'switch-controller.ptp_policy' + - 'switch-controller.ptp_profile' + - 'switch-controller.ptp_interface-policy' - 'switch-controller_vlan-policy' - 'switch-controller.acl_ingress' - 'switch-controller.acl_group' @@ -1105,8 +1114,8 @@ options: - 'firewall.ipmacbinding_table' - 'firewall_profile-protocol-options' - 'firewall_ssl-ssh-profile' - - 'firewall_profile-group' - 'firewall_ssl-server' + - 'firewall_profile-group' - 'firewall_identity-based-route' - 'firewall_auth-portal' - 'firewall_security-policy' @@ -1183,6 +1192,7 @@ options: - 'web-proxy_forward-server-group' - 'web-proxy_debug-url' - 'web-proxy_wisp' + - 'web-proxy_fast-fallback' - 'web-proxy_url-match' - 'wanopt_webcache' - 'wanopt_settings' @@ -1307,12 +1317,16 @@ options: - 'antivirus_profile' - 'ssh-filter_profile' - 'file-filter_profile' + - 'virtual-patch_profile' - 'report_layout' - 'report_setting' - 'waf_main-class' - 'waf_sub-class' - 'waf_signature' - 'waf_profile' + - 'casb_saas-application' + - 'casb_user-activity' + - 'casb_profile' - 'authentication_scheme' - 'authentication_rule' - 'authentication_setting' @@ -1354,19 +1368,24 @@ options: - 'automation_setting' - 'dpdk_global' - 'dpdk_cpus' + - 'system_isf-queue-profile' - 'system_npu' - 'system_np6' + - 'system_modem' + - 'system.3g-modem_custom' - 'system_lte-modem' + - 'firewall_acl' + - 'firewall_acl6' + - 'monitoring_np6-ipsec-engine' + - 'monitoring_npu-hpe' + - 'switch-controller.ptp_settings' + - 'switch-controller.ptp_policy' - 'system_physical-switch' - 'system_virtual-switch' - 'system_stp' - 'system_gi-gk' - - 'system_modem' - - 'system.3g-modem_custom' - 'firewall_gtp' - 'firewall_pfcp' - - 'firewall_acl' - - 'firewall_acl6' - 'vpn_ocvpn' - 'gtp_apn' - 'gtp_apngrp' @@ -1377,9 +1396,6 @@ options: - 'gtp_tunnel-limit' - 'gtp_apn-shaper' - 'pfcp_message-filter' - - 'monitoring_np6-ipsec-engine' - - 'monitoring_npu-hpe' - - 'system_isf-queue-profile' - 'system.replacemsg_mail' - 'system.replacemsg_http' - 'system.replacemsg_webproxy' @@ -1576,66 +1592,56 @@ options: """ EXAMPLES = """ -- hosts: fortigateslab - connection: httpapi - collections: - - fortinet.fortios - vars: - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - vdom: "root" - tasks: - - name: Get multiple selectors info concurrently - fortios_configuration_fact: +- name: Get multiple selectors info concurrently + fortinet.fortios.fortios_configuration_fact: selectors: - - selector: firewall_address - params: - name: "gmail.com" - - selector: system_interface - - selector: log_eventfilter - params: {} + - selector: firewall_address + params: + name: "gmail.com" + - selector: system_interface + - selector: log_eventfilter + params: {} - - name: fact gathering - fortios_configuration_fact: - vdom: "" - filters: - - name==port1 - - vlanid==0 - sorters: - - name,vlanid - - management-ip - formatters: - - name - - management-ip - - vlanid - selector: 'system_interface' +- name: fact gathering + fortinet.fortios.fortios_configuration_fact: + vdom: root + filters: + - name==port1 + - vlanid==0 + sorters: + - name,vlanid + - management-ip + formatters: + - name + - management-ip + - vlanid + selector: 'system_interface' - - name: get all - fortios_configuration_fact: - vdom: "" +- name: get all + fortinet.fortios.fortios_configuration_fact: + vdom: root access_token: "" selector: log_custom-field - - name: get single - fortios_configuration_fact: - vdom: "" +- name: get single + fortinet.fortios.fortios_configuration_fact: + vdom: root access_token: "" selector: log_custom-field - #optionally list or single get params: - id: "3" + id: "3" - - name: fetch one firewall address - fortios_configuration_fact: +- name: fetch one firewall address + fortinet.fortios.fortios_configuration_fact: selector: firewall_address params: - name: "login.microsoft.com" + name: "login.microsoft.com" - - name: fetch all firewall addresses - fortios_configuration_fact: +- name: fetch all firewall addresses + fortinet.fortios.fortios_configuration_fact: selector: firewall_address """ + RETURN = """ build: description: Build number of the fortigate image @@ -1688,6 +1694,7 @@ ansible_facts: type: dict """ + from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( @@ -1994,6 +2001,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "interface", "mkey_type": str, }, + "system_speed-test-setting": { + "mkey": "None", + "mkey_type": None, + }, "system_standalone-cluster": { "mkey": "None", "mkey_type": None, @@ -2418,11 +2429,11 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "switch-controller.ptp_settings": { - "mkey": "None", - "mkey_type": None, + "switch-controller.ptp_profile": { + "mkey": "name", + "mkey_type": str, }, - "switch-controller.ptp_policy": { + "switch-controller.ptp_interface-policy": { "mkey": "name", "mkey_type": str, }, @@ -2718,11 +2729,11 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "firewall_profile-group": { + "firewall_ssl-server": { "mkey": "name", "mkey_type": str, }, - "firewall_ssl-server": { + "firewall_profile-group": { "mkey": "name", "mkey_type": str, }, @@ -3030,6 +3041,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "web-proxy_fast-fallback": { + "mkey": "name", + "mkey_type": str, + }, "web-proxy_url-match": { "mkey": "name", "mkey_type": str, @@ -3526,6 +3541,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "virtual-patch_profile": { + "mkey": "name", + "mkey_type": str, + }, "report_layout": { "mkey": "name", "mkey_type": str, @@ -3550,6 +3569,18 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "casb_saas-application": { + "mkey": "name", + "mkey_type": str, + }, + "casb_user-activity": { + "mkey": "name", + "mkey_type": str, + }, + "casb_profile": { + "mkey": "name", + "mkey_type": str, + }, "authentication_scheme": { "mkey": "name", "mkey_type": str, @@ -3714,6 +3745,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "None", "mkey_type": None, }, + "system_isf-queue-profile": { + "mkey": "name", + "mkey_type": str, + }, "system_npu": { "mkey": "None", "mkey_type": None, @@ -3722,10 +3757,42 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "system_modem": { + "mkey": "None", + "mkey_type": None, + }, + "system.3g-modem_custom": { + "mkey": "id", + "mkey_type": int, + }, "system_lte-modem": { "mkey": "None", "mkey_type": None, }, + "firewall_acl": { + "mkey": "policyid", + "mkey_type": int, + }, + "firewall_acl6": { + "mkey": "policyid", + "mkey_type": int, + }, + "monitoring_np6-ipsec-engine": { + "mkey": "None", + "mkey_type": None, + }, + "monitoring_npu-hpe": { + "mkey": "None", + "mkey_type": None, + }, + "switch-controller.ptp_settings": { + "mkey": "None", + "mkey_type": None, + }, + "switch-controller.ptp_policy": { + "mkey": "name", + "mkey_type": str, + }, "system_physical-switch": { "mkey": "name", "mkey_type": str, @@ -3742,14 +3809,6 @@ MODULE_MKEY_DEFINITONS = { "mkey": "None", "mkey_type": None, }, - "system_modem": { - "mkey": "None", - "mkey_type": None, - }, - "system.3g-modem_custom": { - "mkey": "id", - "mkey_type": int, - }, "firewall_gtp": { "mkey": "name", "mkey_type": str, @@ -3758,14 +3817,6 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "firewall_acl": { - "mkey": "policyid", - "mkey_type": int, - }, - "firewall_acl6": { - "mkey": "policyid", - "mkey_type": int, - }, "vpn_ocvpn": { "mkey": "None", "mkey_type": None, @@ -3806,18 +3857,6 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "monitoring_np6-ipsec-engine": { - "mkey": "None", - "mkey_type": None, - }, - "monitoring_npu-hpe": { - "mkey": "None", - "mkey_type": None, - }, - "system_isf-queue-profile": { - "mkey": "name", - "mkey_type": str, - }, "system.replacemsg_mail": { "mkey": "msg_type", "mkey_type": str, @@ -4741,6 +4780,7 @@ def main(): "system.lldp_network-policy", "system_pcp-server", "system_speed-test-schedule", + "system_speed-test-setting", "system_standalone-cluster", "system_fortiguard", "system_ips", @@ -4847,8 +4887,8 @@ def main(): "switch-controller_switch-profile", "switch-controller_custom-command", "switch-controller_virtual-port-pool", - "switch-controller.ptp_settings", - "switch-controller.ptp_policy", + "switch-controller.ptp_profile", + "switch-controller.ptp_interface-policy", "switch-controller_vlan-policy", "switch-controller.acl_ingress", "switch-controller.acl_group", @@ -4922,8 +4962,8 @@ def main(): "firewall.ipmacbinding_table", "firewall_profile-protocol-options", "firewall_ssl-ssh-profile", - "firewall_profile-group", "firewall_ssl-server", + "firewall_profile-group", "firewall_identity-based-route", "firewall_auth-portal", "firewall_security-policy", @@ -5000,6 +5040,7 @@ def main(): "web-proxy_forward-server-group", "web-proxy_debug-url", "web-proxy_wisp", + "web-proxy_fast-fallback", "web-proxy_url-match", "wanopt_webcache", "wanopt_settings", @@ -5124,12 +5165,16 @@ def main(): "antivirus_profile", "ssh-filter_profile", "file-filter_profile", + "virtual-patch_profile", "report_layout", "report_setting", "waf_main-class", "waf_sub-class", "waf_signature", "waf_profile", + "casb_saas-application", + "casb_user-activity", + "casb_profile", "authentication_scheme", "authentication_rule", "authentication_setting", @@ -5171,19 +5216,24 @@ def main(): "automation_setting", "dpdk_global", "dpdk_cpus", + "system_isf-queue-profile", "system_npu", "system_np6", + "system_modem", + "system.3g-modem_custom", "system_lte-modem", + "firewall_acl", + "firewall_acl6", + "monitoring_np6-ipsec-engine", + "monitoring_npu-hpe", + "switch-controller.ptp_settings", + "switch-controller.ptp_policy", "system_physical-switch", "system_virtual-switch", "system_stp", "system_gi-gk", - "system_modem", - "system.3g-modem_custom", "firewall_gtp", "firewall_pfcp", - "firewall_acl", - "firewall_acl6", "vpn_ocvpn", "gtp_apn", "gtp_apngrp", @@ -5194,9 +5244,6 @@ def main(): "gtp_tunnel-limit", "gtp_apn-shaper", "pfcp_message-filter", - "monitoring_np6-ipsec-engine", - "monitoring_npu-hpe", - "system_isf-queue-profile", "system.replacemsg_mail", "system.replacemsg_http", "system.replacemsg_webproxy", @@ -5472,6 +5519,7 @@ def main(): "system.lldp_network-policy", "system_pcp-server", "system_speed-test-schedule", + "system_speed-test-setting", "system_standalone-cluster", "system_fortiguard", "system_ips", @@ -5578,8 +5626,8 @@ def main(): "switch-controller_switch-profile", "switch-controller_custom-command", "switch-controller_virtual-port-pool", - "switch-controller.ptp_settings", - "switch-controller.ptp_policy", + "switch-controller.ptp_profile", + "switch-controller.ptp_interface-policy", "switch-controller_vlan-policy", "switch-controller.acl_ingress", "switch-controller.acl_group", @@ -5653,8 +5701,8 @@ def main(): "firewall.ipmacbinding_table", "firewall_profile-protocol-options", "firewall_ssl-ssh-profile", - "firewall_profile-group", "firewall_ssl-server", + "firewall_profile-group", "firewall_identity-based-route", "firewall_auth-portal", "firewall_security-policy", @@ -5731,6 +5779,7 @@ def main(): "web-proxy_forward-server-group", "web-proxy_debug-url", "web-proxy_wisp", + "web-proxy_fast-fallback", "web-proxy_url-match", "wanopt_webcache", "wanopt_settings", @@ -5855,12 +5904,16 @@ def main(): "antivirus_profile", "ssh-filter_profile", "file-filter_profile", + "virtual-patch_profile", "report_layout", "report_setting", "waf_main-class", "waf_sub-class", "waf_signature", "waf_profile", + "casb_saas-application", + "casb_user-activity", + "casb_profile", "authentication_scheme", "authentication_rule", "authentication_setting", @@ -5902,19 +5955,24 @@ def main(): "automation_setting", "dpdk_global", "dpdk_cpus", + "system_isf-queue-profile", "system_npu", "system_np6", + "system_modem", + "system.3g-modem_custom", "system_lte-modem", + "firewall_acl", + "firewall_acl6", + "monitoring_np6-ipsec-engine", + "monitoring_npu-hpe", + "switch-controller.ptp_settings", + "switch-controller.ptp_policy", "system_physical-switch", "system_virtual-switch", "system_stp", "system_gi-gk", - "system_modem", - "system.3g-modem_custom", "firewall_gtp", "firewall_pfcp", - "firewall_acl", - "firewall_acl6", "vpn_ocvpn", "gtp_apn", "gtp_apngrp", @@ -5925,9 +5983,6 @@ def main(): "gtp_tunnel-limit", "gtp_apn-shaper", "pfcp_message-filter", - "monitoring_np6-ipsec-engine", - "monitoring_npu-hpe", - "system_isf-queue-profile", "system.replacemsg_mail", "system.replacemsg_http", "system.replacemsg_webproxy", diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_credential_store_domain_controller.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_credential_store_domain_controller.py index 964ffe821..bbbb07b07 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_credential_store_domain_controller.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_credential_store_domain_controller.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -124,31 +124,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Define known domain controller servers. - fortios_credential_store_domain_controller: - vdom: "{{ vdom }}" +- name: Define known domain controller servers. + fortinet.fortios.fortios_credential_store_domain_controller: + vdom: "{{ vdom }}" state: "present" access_token: "" credential_store_domain_controller: - domain_name: "" - hostname: "myhostname" - ip: "" - ip6: "" - password: "" - port: "32767" - server_name: "" - username: "" - + domain_name: "" + hostname: "myhostname" + ip: "" + ip6: "" + password: "" + port: "32767" + server_name: "" + username: "" """ RETURN = """ @@ -207,7 +196,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,6 +223,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_credential_store_domain_controller_data(json): @@ -273,7 +264,6 @@ def underscore_to_hyphen(data): def credential_store_domain_controller(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -315,11 +305,16 @@ def credential_store_domain_controller(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -374,7 +369,6 @@ def is_successful_status(resp): def fortios_credential_store(data, fos, check_mode): - fos.do_member_operation("credential-store", "domain-controller") if data["credential_store_domain_controller"]: resp = credential_store_domain_controller(data, fos, check_mode) @@ -382,7 +376,7 @@ def fortios_credential_store(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("credential_store_domain_controller") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -398,40 +392,22 @@ versioned_schema = { "elements": "dict", "children": { "server_name": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", "required": True, }, "hostname": { - "revisions": {"v6.4.4": True, "v6.4.1": False, "v6.4.0": True}, - "type": "string", - }, - "domain_name": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "username": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "password": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "port": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "integer", - }, - "ip": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "ip6": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v6.4.4"]], "type": "string", }, + "domain_name": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "username": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "password": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "port": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "integer"}, + "ip": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "ip6": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, }, - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], } @@ -468,6 +444,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_data_type.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_data_type.py index c46f61163..21779c20a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_data_type.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_data_type.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -132,32 +132,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure predefined data type used by DLP blocking. - fortios_dlp_data_type: - vdom: "{{ vdom }}" +- name: Configure predefined data type used by DLP blocking. + fortinet.fortios.fortios_dlp_data_type: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_data_type: - comment: "Optional comments." - look_ahead: "1" - look_back: "1" - match_around: " (source dlp.dictionary.name)" - name: "default_name_7" - pattern: "" - transform: "" - verify: "" - verify_transformed_pattern: "enable" - + comment: "Optional comments." + look_ahead: "1" + look_back: "1" + match_around: " (source dlp.dictionary.name)" + name: "default_name_7" + pattern: "" + transform: "" + verify: "" + verify_transformed_pattern: "enable" """ RETURN = """ @@ -216,7 +205,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -306,7 +294,6 @@ def is_successful_status(resp): def fortios_dlp(data, fos): - fos.do_member_operation("dlp", "data-type") if data["dlp_data_type"]: resp = dlp_data_type(data, fos) @@ -326,127 +313,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "required": True, - }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "verify": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "match_around": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - }, - "type": "string", - }, - "look_back": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, - "look_ahead": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, - "transform": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.2.0", ""]], "type": "string", "required": True}, + "pattern": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "verify": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "match_around": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "look_back": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "look_ahead": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "transform": {"v_range": [["v7.2.0", ""]], "type": "string"}, "verify_transformed_pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comment": {"v_range": [["v7.2.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], } @@ -481,6 +362,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_dictionary.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_dictionary.py index ee6f3a246..aeab4d3a0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_dictionary.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_dictionary.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,7 +104,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int ignore_case: @@ -162,37 +162,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure dictionaries used by DLP blocking. - fortios_dlp_dictionary: - vdom: "{{ vdom }}" +- name: Configure dictionaries used by DLP blocking. + fortinet.fortios.fortios_dlp_dictionary: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_dictionary: - comment: "Optional comments." - entries: - - - comment: "Optional comments." - id: "6" - ignore_case: "enable" - pattern: "" - repeat: "enable" - status: "enable" - type: " (source dlp.data-type.name)" - match_around: "enable" - match_type: "match-all" - name: "default_name_14" - uuid: "" - + comment: "Optional comments." + entries: + - + comment: "Optional comments." + id: "6" + ignore_case: "enable" + pattern: "" + repeat: "enable" + status: "enable" + type: " (source dlp.data-type.name)" + match_around: "enable" + match_type: "match-all" + name: "default_name_14" + uuid: "" """ RETURN = """ @@ -251,7 +240,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -333,7 +321,6 @@ def is_successful_status(resp): def fortios_dlp(data, fos): - fos.do_member_operation("dlp", "dictionary") if data["dlp_dictionary"]: resp = dlp_dictionary(data, fos) @@ -353,241 +340,51 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "required": True, - }, + "uuid": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "name": {"v_range": [["v7.2.0", ""]], "type": "string", "required": True}, "match_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "match-all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "match-any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "match-all"}, {"value": "match-any"}], }, "match_around": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comment": {"v_range": [["v7.2.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", "required": True, }, - "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, + "type": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "pattern": {"v_range": [["v7.2.0", ""]], "type": "string"}, "ignore_case": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "repeat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comment": {"v_range": [["v7.2.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], } @@ -622,6 +419,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_filepattern.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_filepattern.py index 3cf1c2103..50b97819b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_filepattern.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_filepattern.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -177,7 +179,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -187,31 +189,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure file patterns used by DLP blocking. - fortios_dlp_filepattern: - vdom: "{{ vdom }}" +- name: Configure file patterns used by DLP blocking. + fortinet.fortios.fortios_dlp_filepattern: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_filepattern: - comment: "Optional comments." - entries: - - - file_type: "7z" - filter_type: "pattern" - pattern: "" - id: "8" - name: "default_name_9" - + comment: "Optional comments." + entries: + - + file_type: "7z" + filter_type: "pattern" + pattern: "" + id: "8" + name: "default_name_9" """ RETURN = """ @@ -270,7 +261,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -298,6 +288,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_dlp_filepattern_data(json): @@ -327,7 +320,6 @@ def underscore_to_hyphen(data): def dlp_filepattern(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -363,11 +355,16 @@ def dlp_filepattern(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -415,13 +412,12 @@ def is_successful_status(resp): def fortios_dlp(data, fos, check_mode): - fos.do_member_operation("dlp", "filepattern") if data["dlp_filepattern"]: resp = dlp_filepattern(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("dlp_filepattern")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -436,2007 +432,94 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pattern", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "type", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pattern"}, {"value": "type"}], }, "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "file_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "7z", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "arj", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cab", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lzh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "zip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bzip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gzip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bzip2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "xz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bat", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "uue", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "base64", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "binhex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "elf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exe", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hta", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jad", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "class", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cod", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "javascript", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msoffice", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msofficex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fsg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "upx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "petite", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aspack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sis", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "activemime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jpeg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gif", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tiff", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "png", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mpeg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mov", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mp3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wma", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wav", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pdf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "avi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "torrent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hibun", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mach-o", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dmg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": ".net", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "xar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iso", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "crx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "flac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "msc", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignored", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "7z"}, + {"value": "arj"}, + {"value": "cab"}, + {"value": "lzh"}, + {"value": "rar"}, + {"value": "tar"}, + {"value": "zip"}, + {"value": "bzip"}, + {"value": "gzip"}, + {"value": "bzip2"}, + {"value": "xz"}, + {"value": "bat"}, + {"value": "uue"}, + {"value": "mime"}, + {"value": "base64"}, + {"value": "binhex"}, + {"value": "elf"}, + {"value": "exe"}, + {"value": "hta"}, + {"value": "html"}, + {"value": "jad"}, + {"value": "class"}, + {"value": "cod"}, + {"value": "javascript"}, + {"value": "msoffice"}, + {"value": "msofficex"}, + {"value": "fsg"}, + {"value": "upx"}, + {"value": "petite"}, + {"value": "aspack"}, + {"value": "sis"}, + {"value": "hlp"}, + {"value": "activemime"}, + {"value": "jpeg"}, + {"value": "gif"}, + {"value": "tiff"}, + {"value": "png"}, + {"value": "bmp"}, + {"value": "unknown"}, + {"value": "mpeg"}, + {"value": "mov"}, + {"value": "mp3"}, + {"value": "wma"}, + {"value": "wav"}, + {"value": "pdf"}, + {"value": "avi"}, + {"value": "rm"}, + {"value": "torrent"}, + {"value": "hibun"}, + {"value": "msi"}, + {"value": "mach-o"}, + {"value": "dmg"}, + {"value": ".net"}, + {"value": "xar"}, + {"value": "chm"}, + {"value": "iso"}, + {"value": "crx"}, + {"value": "flac", "v_range": [["v6.2.0", ""]]}, + {"value": "msc", "v_range": [["v6.0.0", "v6.4.1"]]}, + {"value": "ignored", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2471,6 +554,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_doc_source.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_doc_source.py index 6463f9f24..e014de687 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_doc_source.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_doc_source.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -196,41 +196,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Create a DLP fingerprint database by allowing the FortiGate to access a file server containing files from which to create fingerprints. - fortios_dlp_fp_doc_source: - vdom: "{{ vdom }}" +- name: Create a DLP fingerprint database by allowing the FortiGate to access a file server containing files from which to create fingerprints. + fortinet.fortios.fortios_dlp_fp_doc_source: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_fp_doc_source: - date: "1" - file_path: "" - file_pattern: "" - keep_modified: "enable" - name: "default_name_7" - password: "" - period: "none" - remove_deleted: "enable" - scan_on_creation: "enable" - scan_subdirectories: "enable" - sensitivity: " (source dlp.sensitivity.name)" - server: "192.168.100.40" - server_type: "samba" - tod_hour: "1" - tod_min: "0" - username: "" - vdom: "mgmt" - weekday: "sunday" - + date: "1" + file_path: "" + file_pattern: "" + keep_modified: "enable" + name: "default_name_7" + password: "" + period: "none" + remove_deleted: "enable" + scan_on_creation: "enable" + scan_subdirectories: "enable" + sensitivity: " (source dlp.sensitivity.name)" + server: "192.168.100.40" + server_type: "samba" + tod_hour: "1" + tod_min: "0" + username: "" + vdom: "mgmt" + weekday: "sunday" """ RETURN = """ @@ -289,7 +278,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -317,6 +305,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_dlp_fp_doc_source_data(json): @@ -365,7 +356,6 @@ def underscore_to_hyphen(data): def dlp_fp_doc_source(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -401,11 +391,16 @@ def dlp_fp_doc_source(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -453,13 +448,12 @@ def is_successful_status(resp): def fortios_dlp(data, fos, check_mode): - fos.do_member_operation("dlp", "fp-doc-source") if data["dlp_fp_doc_source"]: resp = dlp_fp_doc_source(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("dlp_fp_doc_source")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -474,1210 +468,71 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "samba", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "samba"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "daily"}, + {"value": "weekly"}, + {"value": "monthly"}, ], }, "vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "mgmt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "current", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "mgmt"}, {"value": "current"}], }, "scan_subdirectories": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "scan_on_creation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_deleted": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "keep_modified": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "file_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "file_pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "tod_hour": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tod_min": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "file_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "file_pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sensitivity": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tod_hour": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tod_min": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "weekday": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], }, - "date": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "date": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1712,6 +567,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_sensitivity.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_sensitivity.py index 9f092d0e4..36cbf1c92 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_sensitivity.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_fp_sensitivity.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -97,24 +97,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Create self-explanatory DLP sensitivity levels to be used when setting sensitivity under config fp-doc-source. - fortios_dlp_fp_sensitivity: - vdom: "{{ vdom }}" +- name: Create self-explanatory DLP sensitivity levels to be used when setting sensitivity under config fp-doc-source. + fortinet.fortios.fortios_dlp_fp_sensitivity: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_fp_sensitivity: - name: "default_name_3" - + name: "default_name_3" """ RETURN = """ @@ -173,7 +162,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -201,6 +189,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_dlp_fp_sensitivity_data(json): @@ -230,7 +221,6 @@ def underscore_to_hyphen(data): def dlp_fp_sensitivity(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -266,11 +256,16 @@ def dlp_fp_sensitivity(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -320,13 +315,12 @@ def is_successful_status(resp): def fortios_dlp(data, fos, check_mode): - fos.do_member_operation("dlp", "fp-sensitivity") if data["dlp_fp_sensitivity"]: resp = dlp_fp_sensitivity(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("dlp_fp_sensitivity")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -341,13 +335,9 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "required": True, - } + "name": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True} }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -382,6 +372,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_profile.py index 073ace3cb..fb91042ac 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -191,7 +191,7 @@ options: - 'none' id: description: - - ID. + - ID. see Notes. required: true type: int label: @@ -280,53 +280,42 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DLP profiles. - fortios_dlp_profile: - vdom: "{{ vdom }}" +- name: Configure DLP profiles. + fortinet.fortios.fortios_dlp_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_profile: - comment: "Comment." - dlp_log: "enable" - extended_log: "enable" - feature_set: "flow" - full_archive_proto: "smtp" - nac_quar_log: "enable" - name: "default_name_9" - replacemsg_group: " (source system.replacemsg-group.name)" - rule: - - - action: "allow" - archive: "disable" - expiry: "" - file_size: "0" - file_type: "0" - filter_by: "sensor" - id: "18" - label: " (source dlp.dictionary.name)" - match_percentage: "10" - name: "default_name_21" - proto: "smtp" - sensitivity: - - - name: "default_name_24 (source dlp.sensitivity.name)" - sensor: - - - name: "default_name_26 (source dlp.sensor.name)" - severity: "info" - type: "file" - summary_proto: "smtp" - + comment: "Comment." + dlp_log: "enable" + extended_log: "enable" + feature_set: "flow" + full_archive_proto: "smtp" + nac_quar_log: "enable" + name: "default_name_9" + replacemsg_group: " (source system.replacemsg-group.name)" + rule: + - + action: "allow" + archive: "disable" + expiry: "" + file_size: "0" + file_type: "0" + filter_by: "sensor" + id: "18" + label: " (source dlp.dictionary.name)" + match_percentage: "10" + name: "default_name_21" + proto: "smtp" + sensitivity: + - + name: "default_name_24 (source dlp.sensitivity.name)" + sensor: + - + name: "default_name_26 (source dlp.sensor.name)" + severity: "info" + type: "file" + summary_proto: "smtp" """ RETURN = """ @@ -385,7 +374,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -532,7 +520,6 @@ def is_successful_status(resp): def fortios_dlp(data, fos): - fos.do_member_operation("dlp", "profile") if data["dlp_profile"]: resp = dlp_profile(data, fos) @@ -552,887 +539,169 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.2.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.2.0", ""]], "type": "string"}, "feature_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "flow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "flow"}, {"value": "proxy"}], }, + "replacemsg_group": {"v_range": [["v7.2.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.2.0", ""]], "type": "string"}, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "info", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "info"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "file", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "fos_message", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "file"}, {"value": "fos_message"}], }, "proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "options": [ - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "http-get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "http-post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "imap"}, + {"value": "http-get"}, + {"value": "http-post"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "mapi"}, + {"value": "ssh"}, + {"value": "cifs"}, ], "multiple_values": True, "elements": "str", }, "filter_by": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "sensor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "mip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "fingerprint", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "encrypted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "sensor"}, + {"value": "mip"}, + {"value": "fingerprint"}, + {"value": "encrypted"}, + {"value": "none"}, ], }, - "file_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, + "file_size": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "sensitivity": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - "match_percentage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, - "file_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", + "v_range": [["v7.2.0", ""]], }, + "match_percentage": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "file_type": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "sensor": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - "label": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", + "v_range": [["v7.2.0", ""]], }, + "label": {"v_range": [["v7.2.0", ""]], "type": "string"}, "archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "log-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "quarantine-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "allow"}, + {"value": "log-only"}, + {"value": "block"}, + {"value": "quarantine-ip"}, ], }, - "expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, + "expiry": {"v_range": [["v7.2.0", ""]], "type": "string"}, }, + "v_range": [["v7.2.0", ""]], }, "dlp_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nac_quar_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "full_archive_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "options": [ - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "http-get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "http-post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "imap"}, + {"value": "http-get"}, + {"value": "http-post"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "mapi"}, + {"value": "ssh"}, + {"value": "cifs"}, ], "multiple_values": True, "elements": "str", }, "summary_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "options": [ - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "http-get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "http-post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "imap"}, + {"value": "http-get"}, + {"value": "http-post"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "mapi"}, + {"value": "ssh"}, + {"value": "cifs"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], } @@ -1467,6 +736,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensitivity.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensitivity.py index 1f7c532ec..1d9807c98 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensitivity.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensitivity.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -97,24 +97,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Create self-explanatory DLP sensitivity levels to be used when setting sensitivity under config fp-doc-source. - fortios_dlp_sensitivity: - vdom: "{{ vdom }}" +- name: Create self-explanatory DLP sensitivity levels to be used when setting sensitivity under config fp-doc-source. + fortinet.fortios.fortios_dlp_sensitivity: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_sensitivity: - name: "default_name_3" - + name: "default_name_3" """ RETURN = """ @@ -173,7 +162,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -201,6 +189,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_dlp_sensitivity_data(json): @@ -230,7 +221,6 @@ def underscore_to_hyphen(data): def dlp_sensitivity(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -266,11 +256,16 @@ def dlp_sensitivity(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -318,13 +313,12 @@ def is_successful_status(resp): def fortios_dlp(data, fos, check_mode): - fos.do_member_operation("dlp", "sensitivity") if data["dlp_sensitivity"]: resp = dlp_sensitivity(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("dlp_sensitivity")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -339,57 +333,9 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True} }, + "v_range": [["v6.2.0", ""]], } @@ -424,6 +370,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensor.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensor.py index b73dd1a5f..541b4b9bb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensor.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_sensor.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -116,7 +116,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int status: @@ -208,7 +208,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int match_percentage: @@ -349,64 +349,53 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure sensors used by DLP blocking. - fortios_dlp_sensor: - vdom: "{{ vdom }}" +- name: Configure sensors used by DLP blocking. + fortinet.fortios.fortios_dlp_sensor: + vdom: "{{ vdom }}" state: "present" access_token: "" dlp_sensor: - comment: "Optional comments." - dlp_log: "enable" - entries: - - - count: "1" - dictionary: " (source dlp.dictionary.name)" - id: "8" - status: "enable" - eval: "" - extended_log: "enable" - feature_set: "flow" - filter: - - - action: "allow" - archive: "disable" - company_identifier: "myId_16" - expiry: "" - file_size: "10" - file_type: "0" - filter_by: "credit-card" - fp_sensitivity: - - - name: "default_name_22 (source dlp.fp-sensitivity.name)" - id: "23" - match_percentage: "10" - name: "default_name_25" - proto: "smtp" - regexp: "" - sensitivity: - - - name: "default_name_29 (source dlp.sensitivity.name)" - severity: "info" - type: "file" - flow_based: "enable" - full_archive_proto: "smtp" - match_type: "match-all" - nac_quar_log: "enable" - name: "default_name_36" - options: "" - replacemsg_group: " (source system.replacemsg-group.name)" - summary_proto: "smtp" - + comment: "Optional comments." + dlp_log: "enable" + entries: + - + count: "1" + dictionary: " (source dlp.dictionary.name)" + id: "8" + status: "enable" + eval: "" + extended_log: "enable" + feature_set: "flow" + filter: + - + action: "allow" + archive: "disable" + company_identifier: "myId_16" + expiry: "" + file_size: "10" + file_type: "0" + filter_by: "credit-card" + fp_sensitivity: + - + name: "default_name_22 (source dlp.fp-sensitivity.name)" + id: "23" + match_percentage: "10" + name: "default_name_25" + proto: "smtp" + regexp: "" + sensitivity: + - + name: "default_name_29 (source dlp.sensitivity.name)" + severity: "info" + type: "file" + flow_based: "enable" + full_archive_proto: "smtp" + match_type: "match-all" + nac_quar_log: "enable" + name: "default_name_36" + options: "" + replacemsg_group: " (source system.replacemsg-group.name)" + summary_proto: "smtp" """ RETURN = """ @@ -465,7 +454,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -493,6 +481,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_dlp_sensor_data(json): @@ -592,7 +583,6 @@ def valid_attr_to_invalid_attrs(data): def dlp_sensor(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -628,11 +618,16 @@ def dlp_sensor(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -680,13 +675,12 @@ def is_successful_status(resp): def fortios_dlp(data, fos, check_mode): - fos.do_member_operation("dlp", "sensor") if data["dlp_sensor"]: resp = dlp_sensor(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("dlp_sensor")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -701,1187 +695,108 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "match_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "match-all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "match-any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "match-eval", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "match-all"}, + {"value": "match-any"}, + {"value": "match-eval"}, ], }, - "eval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "eval": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", "required": True, }, - "dictionary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, + "dictionary": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "count": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "feature_set": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "flow", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "replacemsg_group": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v7.0.12"]], "type": "string", + "options": [{"value": "flow"}, {"value": "proxy"}], }, + "replacemsg_group": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "filter": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "severity": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", "options": [ - { - "value": "info", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "info"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "type": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "file", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fos_message", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "file"}, {"value": "fos_message"}], }, "proto": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "list", "options": [ - { - "value": "smtp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-get", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-post", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "imap"}, + {"value": "http-get"}, + {"value": "http-post"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "mapi"}, + {"value": "ssh", "v_range": [["v6.2.0", "v7.0.12"]]}, + {"value": "cifs", "v_range": [["v6.4.0", "v7.0.12"]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, "filter_by": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", "options": [ - { - "value": "credit-card", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssn", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "file-type", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "file-size", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fingerprint", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "watermark", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "encrypted", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "credit-card"}, + {"value": "ssn"}, + {"value": "regexp"}, + {"value": "file-type"}, + {"value": "file-size"}, + {"value": "fingerprint"}, + {"value": "watermark"}, + {"value": "encrypted"}, ], }, - "file_size": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "file_size": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "integer"}, "company_identifier": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", }, "sensitivity": { @@ -1889,1288 +804,117 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.12"]], }, "match_percentage": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "integer", }, - "file_type": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "regexp": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "file_type": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "integer"}, + "regexp": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "archive": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log-only", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine-ip", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "log-only"}, + {"value": "block"}, + {"value": "quarantine-ip"}, ], }, - "expiry": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "expiry": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "fp_sensitivity": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], }, "dlp_log": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "extended_log": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nac_quar_log": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "full_archive_proto": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "list", "options": [ - { - "value": "smtp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-get", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-post", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "imap"}, + {"value": "http-get"}, + {"value": "http-post"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "mapi"}, + {"value": "ssh", "v_range": [["v6.2.0", "v7.0.12"]]}, + {"value": "cifs", "v_range": [["v6.4.0", "v7.0.12"]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, "summary_proto": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "list", "options": [ - { - "value": "smtp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-get", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-post", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nntp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "smtp"}, + {"value": "pop3"}, + {"value": "imap"}, + {"value": "http-get"}, + {"value": "http-post"}, + {"value": "ftp"}, + {"value": "nntp"}, + {"value": "mapi"}, + {"value": "ssh", "v_range": [["v6.2.0", "v7.0.12"]]}, + {"value": "cifs", "v_range": [["v6.4.0", "v7.0.12"]]}, + {"value": "mm1", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm3", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm4", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "mm7", "v_range": [["v6.0.0", "v6.2.7"]]}, ], "multiple_values": True, "elements": "str", }, - "options": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "options": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "flow_based": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3205,6 +949,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_settings.py index c4bb068f9..c4d6419dc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dlp_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,26 +107,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Designate logical storage for DLP fingerprint database. - fortios_dlp_settings: - vdom: "{{ vdom }}" +- name: Designate logical storage for DLP fingerprint database. + fortinet.fortios.fortios_dlp_settings: + vdom: "{{ vdom }}" dlp_settings: - cache_mem_percent: "2" - chunk_size: "2800" - db_mode: "stop-adding" - size: "16" - storage_device: " (source system.storage.name)" - + cache_mem_percent: "2" + chunk_size: "2800" + db_mode: "stop-adding" + size: "16" + storage_device: " (source system.storage.name)" """ RETURN = """ @@ -185,7 +174,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -262,7 +250,6 @@ def is_successful_status(resp): def fortios_dlp(data, fos): - fos.do_member_operation("dlp", "settings") if data["dlp_settings"]: resp = dlp_settings(data, fos) @@ -279,268 +266,22 @@ def fortios_dlp(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "storage_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "storage_device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "db_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "stop-adding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-modified-then-oldest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-oldest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "stop-adding"}, + {"value": "remove-modified-then-oldest"}, + {"value": "remove-oldest"}, ], }, - "cache_mem_percent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "chunk_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "cache_mem_percent": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "chunk_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -575,6 +316,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_domain_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_domain_filter.py index b7e07a25a..5b2b7895d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_domain_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_domain_filter.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,7 +114,7 @@ options: type: str id: description: - - Id. + - Id. see Notes. required: true type: int status: @@ -132,7 +134,7 @@ options: - 'wildcard' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -142,33 +144,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS domain filters. - fortios_dnsfilter_domain_filter: - vdom: "{{ vdom }}" +- name: Configure DNS domain filters. + fortinet.fortios.fortios_dnsfilter_domain_filter: + vdom: "{{ vdom }}" state: "present" access_token: "" dnsfilter_domain_filter: - comment: "Optional comments." - entries: - - - action: "block" - domain: "" - id: "7" - status: "enable" - type: "simple" - id: "10" - name: "default_name_11" - + comment: "Optional comments." + entries: + - + action: "block" + domain: "" + id: "7" + status: "enable" + type: "simple" + id: "10" + name: "default_name_11" """ RETURN = """ @@ -227,7 +218,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -255,6 +245,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_dnsfilter_domain_filter_data(json): @@ -284,7 +277,6 @@ def underscore_to_hyphen(data): def dnsfilter_domain_filter(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -320,11 +312,16 @@ def dnsfilter_domain_filter(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -374,13 +371,12 @@ def is_successful_status(resp): def fortios_dnsfilter(data, fos, check_mode): - fos.do_member_operation("dnsfilter", "domain-filter") if data["dnsfilter_domain_filter"]: resp = dnsfilter_domain_filter(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("dnsfilter_domain_filter")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -395,537 +391,47 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "simple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "simple"}, + {"value": "regex"}, + {"value": "wildcard"}, ], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "allow"}, + {"value": "monitor"}, ], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -962,6 +468,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_profile.py index b1d780d13..1fe68e823 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dnsfilter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -132,7 +132,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int netmask: @@ -204,7 +204,7 @@ options: type: int id: description: - - ID number. + - ID number. see Notes. required: true type: int log: @@ -263,6 +263,17 @@ options: choices: - 'enable' - 'disable' + transparent_dns_database: + description: + - Transparent DNS database zones. + type: list + elements: dict + suboptions: + name: + description: + - DNS database zone name. Source system.dns-database.name. + required: true + type: str youtube_restrict: description: - Set safe search for YouTube restriction level. @@ -273,58 +284,50 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS domain filter profile. - fortios_dnsfilter_profile: - vdom: "{{ vdom }}" +- name: Configure DNS domain filter profile. + fortinet.fortios.fortios_dnsfilter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" dnsfilter_profile: - block_action: "block" - block_botnet: "disable" - comment: "Comment." - dns_translation: - - - addr_type: "ipv4" - dst: "" - dst6: "" - id: "10" - netmask: "" - prefix: "128" - src: "" - src6: "" - status: "enable" - domain_filter: - domain_filter_table: "0" - external_ip_blocklist: - - - name: "default_name_19 (source system.external-resource.name)" - ftgd_dns: - filters: - - - action: "block" - category: "0" - id: "24" - log: "enable" - options: "error-allow" - log_all_domain: "enable" - name: "default_name_28" - redirect_portal: "" - redirect_portal6: "" - safe_search: "disable" - sdns_domain_log: "enable" - sdns_ftgd_err_log: "enable" - youtube_restrict: "strict" - + block_action: "block" + block_botnet: "disable" + comment: "Comment." + dns_translation: + - + addr_type: "ipv4" + dst: "" + dst6: "" + id: "10" + netmask: "" + prefix: "128" + src: "" + src6: "" + status: "enable" + domain_filter: + domain_filter_table: "0" + external_ip_blocklist: + - + name: "default_name_19 (source system.external-resource.name)" + ftgd_dns: + filters: + - + action: "block" + category: "0" + id: "24" + log: "enable" + options: "error-allow" + log_all_domain: "enable" + name: "default_name_28" + redirect_portal: "" + redirect_portal6: "" + safe_search: "disable" + sdns_domain_log: "enable" + sdns_ftgd_err_log: "enable" + transparent_dns_database: + - + name: "default_name_35 (source system.dns-database.name)" + youtube_restrict: "strict" """ RETURN = """ @@ -383,7 +386,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -411,6 +413,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_dnsfilter_profile_data(json): @@ -429,6 +434,7 @@ def filter_dnsfilter_profile_data(json): "safe_search", "sdns_domain_log", "sdns_ftgd_err_log", + "transparent_dns_database", "youtube_restrict", ] @@ -485,7 +491,6 @@ def underscore_to_hyphen(data): def dnsfilter_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -522,11 +527,16 @@ def dnsfilter_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -574,13 +584,12 @@ def is_successful_status(resp): def fortios_dnsfilter(data, fos, check_mode): - fos.do_member_operation("dnsfilter", "profile") if data["dnsfilter_profile"]: resp = dnsfilter_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("dnsfilter_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -595,242 +604,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "domain_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "domain_filter_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - } + "domain_filter_table": {"v_range": [["v6.0.0", ""]], "type": "integer"} }, }, "ftgd_dns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "error-allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftgd-disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "error-allow"}, {"value": "ftgd-disable"}], "multiple_values": True, "elements": "str", }, @@ -839,1446 +629,121 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "monitor"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, }, "log_all_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdns_ftgd_err_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdns_domain_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "block_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "redirect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block-sevrfail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "block"}, + {"value": "redirect"}, + {"value": "block-sevrfail", "v_range": [["v7.0.2", ""]]}, ], }, - "redirect_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "redirect_portal6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "redirect_portal": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "redirect_portal6": {"v_range": [["v6.2.0", ""]], "type": "string"}, "block_botnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "safe_search": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "youtube_restrict": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "moderate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "strict"}, {"value": "moderate"}], }, "external_ip_blocklist": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dns_translation": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "netmask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "src": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dst": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "netmask": {"v_range": [["v6.2.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "src6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dst6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "src6": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dst6": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "prefix": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "v_range": [["v6.2.0", ""]], + }, + "transparent_dns_database": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } }, + "v_range": [["v7.4.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2313,6 +778,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_cpus.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_cpus.py index eb20971a7..ca3100626 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_cpus.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_cpus.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure CPUs enabled to run engines in each DPDK stage. - fortios_dpdk_cpus: - vdom: "{{ vdom }}" +- name: Configure CPUs enabled to run engines in each DPDK stage. + fortinet.fortios.fortios_dpdk_cpus: + vdom: "{{ vdom }}" dpdk_cpus: - ips_cpus: "" - isolated_cpus: "" - rx_cpus: "" - tx_cpus: "" - vnp_cpus: "" - + ips_cpus: "" + isolated_cpus: "" + rx_cpus: "" + tx_cpus: "" + vnp_cpus: "" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -253,7 +241,6 @@ def is_successful_status(resp): def fortios_dpdk(data, fos): - fos.do_member_operation("dpdk", "cpus") if data["dpdk_cpus"]: resp = dpdk_cpus(data, fos) @@ -270,105 +257,27 @@ def fortios_dpdk(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "dict", "children": { "rx_cpus": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, "vnp_cpus": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, "ips_cpus": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, "tx_cpus": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, "isolated_cpus": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.2", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, }, @@ -405,6 +314,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_global.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_global.py index c52968bee..594142a1c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_global.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_dpdk_global.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -145,32 +145,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure global DPDK options. - fortios_dpdk_global: - vdom: "{{ vdom }}" +- name: Configure global DPDK options. + fortinet.fortios.fortios_dpdk_global: + vdom: "{{ vdom }}" dpdk_global: - elasticbuffer: "disable" - hugepage_percentage: "30" - interface: - - - interface_name: " (source system.interface.name)" - ipsec_offload: "disable" - mbufpool_percentage: "25" - multiqueue: "disable" - per_session_accounting: "disable" - sleep_on_idle: "disable" - status: "disable" - + elasticbuffer: "disable" + hugepage_percentage: "30" + interface: + - + interface_name: " (source system.interface.name)" + ipsec_offload: "disable" + mbufpool_percentage: "25" + multiqueue: "disable" + per_session_accounting: "disable" + sleep_on_idle: "disable" + status: "disable" """ RETURN = """ @@ -229,7 +218,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -310,7 +298,6 @@ def is_successful_status(resp): def fortios_dpdk(data, fos): - fos.do_member_operation("dpdk", "global") if data["dpdk_global"]: resp = dpdk_global(data, fos) @@ -327,415 +314,65 @@ def fortios_dpdk(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "interface": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], }, "multiqueue": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sleep_on_idle": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "elasticbuffer": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "per_session_accounting": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "traffic-log-only", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "traffic-log-only"}, + {"value": "enable"}, ], }, "ipsec_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "hugepage_percentage": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "integer", }, "mbufpool_percentage": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "integer", }, }, @@ -772,6 +409,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_block_allow_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_block_allow_list.py index a02cff310..7a169c588 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_block_allow_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_block_allow_list.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,7 +121,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int ip4_subnet: @@ -160,7 +162,7 @@ options: - 'email' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -170,38 +172,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure anti-spam block/allow list. - fortios_emailfilter_block_allow_list: - vdom: "{{ vdom }}" +- name: Configure anti-spam block/allow list. + fortinet.fortios.fortios_emailfilter_block_allow_list: + vdom: "{{ vdom }}" state: "present" access_token: "" emailfilter_block_allow_list: - comment: "Optional comments." - entries: - - - action: "reject" - addr_type: "ipv4" - email_pattern: "" - id: "8" - ip4_subnet: "" - ip6_subnet: "" - pattern: "" - pattern_type: "wildcard" - status: "enable" - type: "ip" - id: "15" - name: "default_name_16" - + comment: "Optional comments." + entries: + - + action: "reject" + addr_type: "ipv4" + email_pattern: "" + id: "8" + ip4_subnet: "" + ip6_subnet: "" + pattern: "" + pattern_type: "wildcard" + status: "enable" + type: "ip" + id: "15" + name: "default_name_16" """ RETURN = """ @@ -260,7 +251,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -344,7 +334,6 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos): - fos.do_member_operation("emailfilter", "block-allow-list") if data["emailfilter_block_allow_list"]: resp = emailfilter_block_allow_list(data, fos) @@ -366,560 +355,62 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v7.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v7.0.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "email-to", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "email-from", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "subject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "email", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "ip"}, + {"value": "email-to", "v_range": [["v7.2.0", ""]]}, + {"value": "email-from", "v_range": [["v7.2.0", ""]]}, + {"value": "subject", "v_range": [["v7.2.0", ""]]}, + {"value": "email", "v_range": [["v7.0.0", "v7.0.12"]]}, ], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "reject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "clear", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "reject"}, + {"value": "spam"}, + {"value": "clear"}, ], }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "ip4_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "ip6_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "ip4_subnet": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "ip6_subnet": {"v_range": [["v7.0.0", ""]], "type": "string"}, "pattern_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, - "email_pattern": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, + "pattern": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "email_pattern": {"v_range": [["v7.0.0", "v7.0.12"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -956,6 +447,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bwl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bwl.py index aee7c298c..7aa111ad8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bwl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bwl.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,7 +121,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int ip4_subnet: @@ -153,7 +155,7 @@ options: - 'email' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -163,37 +165,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure anti-spam black/white list. - fortios_emailfilter_bwl: - vdom: "{{ vdom }}" +- name: Configure anti-spam black/white list. + fortinet.fortios.fortios_emailfilter_bwl: + vdom: "{{ vdom }}" state: "present" access_token: "" emailfilter_bwl: - comment: "Optional comments." - entries: - - - action: "reject" - addr_type: "ipv4" - email_pattern: "" - id: "8" - ip4_subnet: "" - ip6_subnet: "" - pattern_type: "wildcard" - status: "enable" - type: "ip" - id: "14" - name: "default_name_15" - + comment: "Optional comments." + entries: + - + action: "reject" + addr_type: "ipv4" + email_pattern: "" + id: "8" + ip4_subnet: "" + ip6_subnet: "" + pattern_type: "wildcard" + status: "enable" + type: "ip" + id: "14" + name: "default_name_15" """ RETURN = """ @@ -252,7 +243,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -280,6 +270,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_emailfilter_bwl_data(json): @@ -309,7 +302,6 @@ def underscore_to_hyphen(data): def emailfilter_bwl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -345,11 +337,16 @@ def emailfilter_bwl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -397,13 +394,12 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos, check_mode): - fos.do_member_operation("emailfilter", "bwl") if data["emailfilter_bwl"]: resp = emailfilter_bwl(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("emailfilter_bwl")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -418,319 +414,55 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "comment": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "email", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "ip"}, {"value": "email"}], }, "action": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "reject", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clear", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "reject"}, + {"value": "spam"}, + {"value": "clear"}, ], }, "addr_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ip4_subnet": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "ip6_subnet": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "ip4_subnet": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "ip6_subnet": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "pattern_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "email_pattern": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, + "email_pattern": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], } @@ -765,6 +497,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bword.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bword.py index e05219a24..c1b5c4118 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bword.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_bword.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'clear' id: description: - - Banned word entry ID. + - Banned word entry ID. see Notes. required: true type: int language: @@ -155,7 +157,7 @@ options: - 'all' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -165,36 +167,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam banned word list. - fortios_emailfilter_bword: - vdom: "{{ vdom }}" +- name: Configure AntiSpam banned word list. + fortinet.fortios.fortios_emailfilter_bword: + vdom: "{{ vdom }}" state: "present" access_token: "" emailfilter_bword: - comment: "Optional comments." - entries: - - - action: "spam" - id: "6" - language: "western" - pattern: "" - pattern_type: "wildcard" - score: "10" - status: "enable" - where: "subject" - id: "13" - name: "default_name_14" - + comment: "Optional comments." + entries: + - + action: "spam" + id: "6" + language: "western" + pattern: "" + pattern_type: "wildcard" + score: "10" + status: "enable" + where: "subject" + id: "13" + name: "default_name_14" """ RETURN = """ @@ -253,7 +244,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -281,6 +271,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_emailfilter_bword_data(json): @@ -310,7 +303,6 @@ def underscore_to_hyphen(data): def emailfilter_bword(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -346,11 +338,16 @@ def emailfilter_bword(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -398,13 +395,12 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos, check_mode): - fos.do_member_operation("emailfilter", "bword") if data["emailfilter_bword"]: resp = emailfilter_bword(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("emailfilter_bword")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -419,799 +415,63 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "pattern": {"v_range": [["v6.2.0", ""]], "type": "string"}, "pattern_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clear", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "spam"}, {"value": "clear"}], }, "where": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "subject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "body", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "subject"}, + {"value": "body"}, + {"value": "all"}, ], }, "language": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "western", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "simch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "trach", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "japanese", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "korean", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "french", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "thai", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spanish", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "western"}, + {"value": "simch"}, + {"value": "trach"}, + {"value": "japanese"}, + {"value": "korean"}, + {"value": "french"}, + {"value": "thai"}, + {"value": "spanish"}, ], }, - "score": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "score": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1246,6 +506,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_dnsbl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_dnsbl.py index 060976c96..fdd7c758e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_dnsbl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_dnsbl.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'spam' id: description: - - DNSBL/ORBL entry ID. + - DNSBL/ORBL entry ID. see Notes. required: true type: int server: @@ -123,7 +125,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -133,32 +135,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam DNSBL/ORBL. - fortios_emailfilter_dnsbl: - vdom: "{{ vdom }}" +- name: Configure AntiSpam DNSBL/ORBL. + fortinet.fortios.fortios_emailfilter_dnsbl: + vdom: "{{ vdom }}" state: "present" access_token: "" emailfilter_dnsbl: - comment: "Optional comments." - entries: - - - action: "reject" - id: "6" - server: "192.168.100.40" - status: "enable" - id: "9" - name: "default_name_10" - + comment: "Optional comments." + entries: + - + action: "reject" + id: "6" + server: "192.168.100.40" + status: "enable" + id: "9" + name: "default_name_10" """ RETURN = """ @@ -217,7 +208,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -245,6 +235,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_emailfilter_dnsbl_data(json): @@ -274,7 +267,6 @@ def underscore_to_hyphen(data): def emailfilter_dnsbl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -310,11 +302,16 @@ def emailfilter_dnsbl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -362,13 +359,12 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos, check_mode): - fos.do_member_operation("emailfilter", "dnsbl") if data["emailfilter_dnsbl"]: resp = emailfilter_dnsbl(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("emailfilter_dnsbl")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -383,351 +379,34 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "reject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "reject"}, {"value": "spam"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -762,6 +441,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_fortishield.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_fortishield.py index ace5bd116..ab639b3b4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_fortishield.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_fortishield.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,24 +101,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGuard - AntiSpam. - fortios_emailfilter_fortishield: - vdom: "{{ vdom }}" +- name: Configure FortiGuard - AntiSpam. + fortinet.fortios.fortios_emailfilter_fortishield: + vdom: "{{ vdom }}" emailfilter_fortishield: - spam_submit_force: "enable" - spam_submit_srv: "" - spam_submit_txt2htm: "enable" - + spam_submit_force: "enable" + spam_submit_srv: "" + spam_submit_txt2htm: "enable" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,7 +238,6 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos): - fos.do_member_operation("emailfilter", "fortishield") if data["emailfilter_fortishield"]: resp = emailfilter_fortishield(data, fos) @@ -267,216 +254,19 @@ def fortios_emailfilter(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "spam_submit_srv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "spam_submit_srv": {"v_range": [["v6.2.0", ""]], "type": "string"}, "spam_submit_force": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "spam_submit_txt2htm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -514,6 +304,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_iptrust.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_iptrust.py index 61bbf4fc6..9bb676f86 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_iptrust.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_iptrust.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'ipv6' id: description: - - Trusted IP entry ID. + - Trusted IP entry ID. see Notes. required: true type: int ip4_subnet: @@ -127,7 +129,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -137,33 +139,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam IP trust. - fortios_emailfilter_iptrust: - vdom: "{{ vdom }}" +- name: Configure AntiSpam IP trust. + fortinet.fortios.fortios_emailfilter_iptrust: + vdom: "{{ vdom }}" state: "present" access_token: "" emailfilter_iptrust: - comment: "Optional comments." - entries: - - - addr_type: "ipv4" - id: "6" - ip4_subnet: "" - ip6_subnet: "" - status: "enable" - id: "10" - name: "default_name_11" - + comment: "Optional comments." + entries: + - + addr_type: "ipv4" + id: "6" + ip4_subnet: "" + ip6_subnet: "" + status: "enable" + id: "10" + name: "default_name_11" """ RETURN = """ @@ -222,7 +213,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,6 +240,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_emailfilter_iptrust_data(json): @@ -279,7 +272,6 @@ def underscore_to_hyphen(data): def emailfilter_iptrust(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -315,11 +307,16 @@ def emailfilter_iptrust(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -367,13 +364,12 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos, check_mode): - fos.do_member_operation("emailfilter", "iptrust") if data["emailfilter_iptrust"]: resp = emailfilter_iptrust(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("emailfilter_iptrust")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -388,377 +384,35 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ip4_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, - "ip6_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "ip4_subnet": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ip6_subnet": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -793,6 +447,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_mheader.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_mheader.py index 01904e193..de16b5b78 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_mheader.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_mheader.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,7 +117,7 @@ options: type: str id: description: - - Mime header entry ID. + - Mime header entry ID. see Notes. required: true type: int pattern_type: @@ -134,7 +136,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -144,34 +146,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam MIME header. - fortios_emailfilter_mheader: - vdom: "{{ vdom }}" +- name: Configure AntiSpam MIME header. + fortinet.fortios.fortios_emailfilter_mheader: + vdom: "{{ vdom }}" state: "present" access_token: "" emailfilter_mheader: - comment: "Optional comments." - entries: - - - action: "spam" - fieldbody: "" - fieldname: "" - id: "8" - pattern_type: "wildcard" - status: "enable" - id: "11" - name: "default_name_12" - + comment: "Optional comments." + entries: + - + action: "spam" + fieldbody: "" + fieldname: "" + id: "8" + pattern_type: "wildcard" + status: "enable" + id: "11" + name: "default_name_12" """ RETURN = """ @@ -230,7 +221,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,6 +248,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_emailfilter_mheader_data(json): @@ -287,7 +280,6 @@ def underscore_to_hyphen(data): def emailfilter_mheader(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -323,11 +315,16 @@ def emailfilter_mheader(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -375,13 +372,12 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos, check_mode): - fos.do_member_operation("emailfilter", "mheader") if data["emailfilter_mheader"]: resp = emailfilter_mheader(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("emailfilter_mheader")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -396,457 +392,40 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "fieldname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "fieldbody": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "fieldname": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "fieldbody": {"v_range": [["v6.2.0", ""]], "type": "string"}, "pattern_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clear", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "spam"}, {"value": "clear"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -881,6 +460,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_options.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_options.py index e6d0efc2d..4379b81c5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_options.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_options.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam options. - fortios_emailfilter_options: - vdom: "{{ vdom }}" +- name: Configure AntiSpam options. + fortinet.fortios.fortios_emailfilter_options: + vdom: "{{ vdom }}" emailfilter_options: - dns_timeout: "7" - + dns_timeout: "7" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -234,7 +222,6 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos): - fos.do_member_operation("emailfilter", "options") if data["emailfilter_options"]: resp = emailfilter_options(data, fos) @@ -251,58 +238,9 @@ def fortios_emailfilter(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", - "children": { - "dns_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - } - }, + "children": {"dns_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}}, } @@ -336,6 +274,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_profile.py index 9ab9e1cfb..616ab6247 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_emailfilter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -487,88 +487,77 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Email Filter profiles. - fortios_emailfilter_profile: - vdom: "{{ vdom }}" +- name: Configure Email Filter profiles. + fortinet.fortios.fortios_emailfilter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" emailfilter_profile: - comment: "Comment." - external: "enable" - feature_set: "flow" - file_filter: - entries: - - - action: "log" - comment: "Comment." - file_type: - - - name: "default_name_11 (source antivirus.filetype.name)" - filter: "" - password_protected: "yes" - protocol: "smtp" - log: "enable" - scan_archive_contents: "enable" - status: "enable" - gmail: - log: "enable" - log_all: "disable" - imap: - action: "pass" - log: "enable" - log_all: "disable" - tag_msg: "" - tag_type: "subject" - mapi: - action: "pass" - log: "enable" - log_all: "disable" - msn_hotmail: - log: "enable" - log_all: "disable" - name: "default_name_34" - options: "bannedword" - other_webmails: - log_all: "disable" - pop3: - action: "pass" - log: "enable" - log_all: "disable" - tag_msg: "" - tag_type: "subject" - replacemsg_group: " (source system.replacemsg-group.name)" - smtp: - action: "pass" - hdrip: "disable" - local_override: "disable" - log: "enable" - log_all: "disable" - tag_msg: "" - tag_type: "subject" - spam_bal_table: "0" - spam_bwl_table: "2147483647" - spam_bword_table: "0" - spam_bword_threshold: "10" - spam_filtering: "enable" - spam_iptrust_table: "0" - spam_log: "disable" - spam_log_fortiguard_response: "disable" - spam_mheader_table: "0" - spam_rbl_table: "0" - yahoo_mail: - log: "enable" - log_all: "disable" - + comment: "Comment." + external: "enable" + feature_set: "flow" + file_filter: + entries: + - + action: "log" + comment: "Comment." + file_type: + - + name: "default_name_11 (source antivirus.filetype.name)" + filter: "" + password_protected: "yes" + protocol: "smtp" + log: "enable" + scan_archive_contents: "enable" + status: "enable" + gmail: + log: "enable" + log_all: "disable" + imap: + action: "pass" + log: "enable" + log_all: "disable" + tag_msg: "" + tag_type: "subject" + mapi: + action: "pass" + log: "enable" + log_all: "disable" + msn_hotmail: + log: "enable" + log_all: "disable" + name: "default_name_34" + options: "bannedword" + other_webmails: + log_all: "disable" + pop3: + action: "pass" + log: "enable" + log_all: "disable" + tag_msg: "" + tag_type: "subject" + replacemsg_group: " (source system.replacemsg-group.name)" + smtp: + action: "pass" + hdrip: "disable" + local_override: "disable" + log: "enable" + log_all: "disable" + tag_msg: "" + tag_type: "subject" + spam_bal_table: "0" + spam_bwl_table: "2147483647" + spam_bword_table: "0" + spam_bword_threshold: "10" + spam_filtering: "enable" + spam_iptrust_table: "0" + spam_log: "disable" + spam_log_fortiguard_response: "disable" + spam_mheader_table: "0" + spam_rbl_table: "0" + yahoo_mail: + log: "enable" + log_all: "disable" """ RETURN = """ @@ -627,7 +616,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -655,6 +643,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_emailfilter_profile_data(json): @@ -743,7 +734,6 @@ def underscore_to_hyphen(data): def emailfilter_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -780,11 +770,16 @@ def emailfilter_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -834,13 +829,12 @@ def is_successful_status(resp): def fortios_emailfilter(data, fos, check_mode): - fos.do_member_operation("emailfilter", "profile") if data["emailfilter_profile"]: resp = emailfilter_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("emailfilter_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -855,3164 +849,326 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "feature_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - "options": [ - { - "value": "flow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "flow"}, {"value": "proxy"}], }, + "replacemsg_group": {"v_range": [["v6.2.0", ""]], "type": "string"}, "spam_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "spam_log_fortiguard_response": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "spam_filtering": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "external": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "bannedword", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spambal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "spamfsip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamfssubmit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamfschksum", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamfsurl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamhelodns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamraddrdns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamrbl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamhdrcheck", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spamfsphish", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spambwl", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "bannedword"}, + {"value": "spambal", "v_range": [["v7.0.0", ""]]}, + {"value": "spamfsip"}, + {"value": "spamfssubmit"}, + {"value": "spamfschksum"}, + {"value": "spamfsurl"}, + {"value": "spamhelodns"}, + {"value": "spamraddrdns"}, + {"value": "spamrbl"}, + {"value": "spamhdrcheck"}, + {"value": "spamfsphish"}, + {"value": "spambwl", "v_range": [["v6.2.0", "v6.4.4"]]}, ], "multiple_values": True, "elements": "str", }, "imap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "tag"}], }, "tag_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "subject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spaminfo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "subject"}, + {"value": "header"}, + {"value": "spaminfo"}, ], "multiple_values": True, "elements": "str", }, - "tag_msg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "tag_msg": {"v_range": [["v6.2.0", ""]], "type": "string"}, "log": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "pop3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "tag"}], }, "tag_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "subject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spaminfo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "subject"}, + {"value": "header"}, + {"value": "spaminfo"}, ], "multiple_values": True, "elements": "str", }, - "tag_msg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "tag_msg": {"v_range": [["v6.2.0", ""]], "type": "string"}, "log": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "smtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "pass"}, + {"value": "tag"}, + {"value": "discard"}, ], }, "tag_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "subject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "spaminfo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "subject"}, + {"value": "header"}, + {"value": "spaminfo"}, ], "multiple_values": True, "elements": "str", }, - "tag_msg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "tag_msg": {"v_range": [["v6.2.0", ""]], "type": "string"}, "hdrip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "local_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "mapi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "discard"}], }, "log": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "msn_hotmail": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "yahoo_mail": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "gmail": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "other_webmails": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "dict", "children": { "log_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], } }, }, - "spam_bword_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "spam_bword_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "spam_bal_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - "spam_mheader_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "spam_rbl_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "spam_iptrust_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "spam_bwl_table": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "spam_bword_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "spam_bword_table": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "spam_bal_table": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "spam_mheader_table": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "spam_rbl_table": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "spam_iptrust_table": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "spam_bwl_table": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "integer"}, "file_filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "dict", "children": { "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "scan_archive_contents": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "entries": { "type": "list", "elements": "dict", "children": { "filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, }, "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", }, "protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "smtp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "smtp"}, + {"value": "imap"}, + {"value": "pop3"}, ], "multiple_values": True, "elements": "str", }, "action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "log"}, {"value": "block"}], }, "password_protected": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "yes"}, {"value": "any"}], }, "file_type": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -4047,6 +1203,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_client.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_client.py index 05c9cddde..1f654b73b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_client.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_client.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -98,7 +100,7 @@ options: type: str id: description: - - Endpoint client ID. + - Endpoint client ID. see Notes. required: true type: int info: @@ -116,29 +118,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure endpoint control client lists. - fortios_endpoint_control_client: - vdom: "{{ vdom }}" +- name: Configure endpoint control client lists. + fortinet.fortios.fortios_endpoint_control_client: + vdom: "{{ vdom }}" state: "present" access_token: "" endpoint_control_client: - ad_groups: "" - ftcl_uid: "" - id: "5" - info: "" - src_ip: "" - src_mac: "" - + ad_groups: "" + ftcl_uid: "" + id: "5" + info: "" + src_ip: "" + src_mac: "" """ RETURN = """ @@ -197,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -225,6 +215,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_endpoint_control_client_data(json): @@ -254,7 +247,6 @@ def underscore_to_hyphen(data): def endpoint_control_client(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -290,11 +282,16 @@ def endpoint_control_client(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -344,13 +341,12 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos, check_mode): - fos.do_member_operation("endpoint-control", "client") if data["endpoint_control_client"]: resp = endpoint_control_client(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("endpoint_control_client")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -366,62 +362,32 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", "required": True, }, "ftcl_uid": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "src_ip": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "src_mac": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "info": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "ad_groups": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": {"v6.2.3": True, "v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], } @@ -458,6 +424,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems.py index 5f2ed1241..fb345fec1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the ems_id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -113,6 +115,7 @@ options: - 'push-ca-certs' - 'common-tags-api' - 'tenant-id' + - 'client-avatars' - 'single-vdom-connector' certificate: description: @@ -135,7 +138,7 @@ options: - 'mismatched-ems-sn' ems_id: description: - - EMS ID in order (1 - 7). + - EMS ID in order (1 - 7). see Notes. required: true type: int fortinetone_cloud_authentication: @@ -255,51 +258,40 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiClient Enterprise Management Server (EMS) entries. - fortios_endpoint_control_fctems: - vdom: "{{ vdom }}" +- name: Configure FortiClient Enterprise Management Server (EMS) entries. + fortinet.fortios.fortios_endpoint_control_fctems: + vdom: "{{ vdom }}" state: "present" access_token: "" endpoint_control_fctems: - admin_password: "" - admin_username: "" - call_timeout: "30" - capabilities: "fabric-auth" - certificate: " (source certificate.remote.name)" - cloud_server_type: "production" - dirty_reason: "none" - ems_id: "0" - fortinetone_cloud_authentication: "enable" - https_port: "443" - interface: " (source system.interface.name)" - interface_select_method: "auto" - name: "default_name_15" - out_of_sync_threshold: "180" - preserve_ssl_session: "enable" - pull_avatars: "enable" - pull_malware_hash: "enable" - pull_sysinfo: "enable" - pull_tags: "enable" - pull_vulnerabilities: "enable" - serial_number: "" - server: "192.168.100.40" - source_ip: "84.230.14.43" - status: "enable" - status_check_interval: "90" - tenant_id: "" - trust_ca_cn: "enable" - websocket_override: "disable" - + admin_password: "" + admin_username: "" + call_timeout: "30" + capabilities: "fabric-auth" + certificate: " (source certificate.remote.name)" + cloud_server_type: "production" + dirty_reason: "none" + ems_id: "" + fortinetone_cloud_authentication: "enable" + https_port: "443" + interface: " (source system.interface.name)" + interface_select_method: "auto" + name: "default_name_15" + out_of_sync_threshold: "180" + preserve_ssl_session: "enable" + pull_avatars: "enable" + pull_malware_hash: "enable" + pull_sysinfo: "enable" + pull_tags: "enable" + pull_vulnerabilities: "enable" + serial_number: "" + server: "192.168.100.40" + source_ip: "84.230.14.43" + status: "enable" + status_check_interval: "90" + tenant_id: "" + trust_ca_cn: "enable" + websocket_override: "disable" """ RETURN = """ @@ -358,7 +350,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -386,6 +377,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_endpoint_control_fctems_data(json): @@ -473,7 +467,6 @@ def underscore_to_hyphen(data): def endpoint_control_fctems(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -512,11 +505,16 @@ def endpoint_control_fctems(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -566,13 +564,12 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos, check_mode): - fos.do_member_operation("endpoint-control", "fctems") if data["endpoint_control_fctems"]: resp = endpoint_control_fctems(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("endpoint_control_fctems")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -588,1362 +585,113 @@ versioned_schema = { "elements": "dict", "children": { "ems_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, "dirty_reason": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "mismatched-ems-sn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "mismatched-ems-sn"}], }, "fortinetone_cloud_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "https_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "https_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "serial_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "tenant_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, + "tenant_id": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "pull_sysinfo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_vulnerabilities": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_avatars": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_tags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_malware_hash": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "cloud_server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "production", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "alpha", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "beta", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capabilities": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "options": [ - { - "value": "fabric-auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "silent-approval", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "websocket", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "websocket-malware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, - { - "value": "push-ca-certs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, - { - "value": "common-tags-api", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "tenant-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "single-vdom-connector", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, + {"value": "fabric-auth"}, + {"value": "silent-approval"}, + {"value": "websocket"}, + {"value": "websocket-malware", "v_range": [["v7.0.1", ""]]}, + {"value": "push-ca-certs", "v_range": [["v7.0.1", ""]]}, + {"value": "common-tags-api", "v_range": [["v7.0.4", ""]]}, + {"value": "tenant-id", "v_range": [["v7.2.1", ""]]}, + {"value": "client-avatars", "v_range": [["v7.4.1", ""]]}, + {"value": "single-vdom-connector", "v_range": [["v7.4.0", ""]]}, ], "multiple_values": True, "elements": "str", }, - "call_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "out_of_sync_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, + "call_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "out_of_sync_threshold": {"v_range": [["v7.0.8", ""]], "type": "integer"}, "websocket_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "preserve_ssl_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, "trust_ca_cn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.12", "v7.0.12"], ["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "status_check_interval": { - "revisions": { - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "certificate": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "admin_username": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "admin_password": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "cloud_server_type": { + "v_range": [["v6.4.0", "v7.4.0"]], "type": "string", + "options": [{"value": "production"}, {"value": "alpha"}, {"value": "beta"}], }, + "status_check_interval": {"v_range": [["v6.4.4", "v6.4.4"]], "type": "integer"}, + "certificate": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "admin_username": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "admin_password": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1980,6 +728,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems_override.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems_override.py index f10ef5aac..b883fa09e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems_override.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_fctems_override.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the ems_id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -105,6 +107,7 @@ options: - 'push-ca-certs' - 'common-tags-api' - 'tenant-id' + - 'client-avatars' - 'single-vdom-connector' cloud_server_type: description: @@ -123,7 +126,7 @@ options: - 'mismatched-ems-sn' ems_id: description: - - EMS ID in order (1 - 7). + - EMS ID in order (1 - 7). see Notes. required: true type: int fortinetone_cloud_authentication: @@ -239,47 +242,36 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiClient Enterprise Management Server (EMS) entries. - fortios_endpoint_control_fctems_override: - vdom: "{{ vdom }}" +- name: Configure FortiClient Enterprise Management Server (EMS) entries. + fortinet.fortios.fortios_endpoint_control_fctems_override: + vdom: "{{ vdom }}" state: "present" access_token: "" endpoint_control_fctems_override: - call_timeout: "30" - capabilities: "fabric-auth" - cloud_server_type: "production" - dirty_reason: "none" - ems_id: "0" - fortinetone_cloud_authentication: "enable" - https_port: "443" - interface: " (source system.interface.name)" - interface_select_method: "auto" - name: "default_name_12" - out_of_sync_threshold: "180" - preserve_ssl_session: "enable" - pull_avatars: "enable" - pull_malware_hash: "enable" - pull_sysinfo: "enable" - pull_tags: "enable" - pull_vulnerabilities: "enable" - serial_number: "" - server: "192.168.100.40" - source_ip: "84.230.14.43" - status: "enable" - tenant_id: "" - trust_ca_cn: "enable" - websocket_override: "disable" - + call_timeout: "30" + capabilities: "fabric-auth" + cloud_server_type: "production" + dirty_reason: "none" + ems_id: "" + fortinetone_cloud_authentication: "enable" + https_port: "443" + interface: " (source system.interface.name)" + interface_select_method: "auto" + name: "default_name_12" + out_of_sync_threshold: "180" + preserve_ssl_session: "enable" + pull_avatars: "enable" + pull_malware_hash: "enable" + pull_sysinfo: "enable" + pull_tags: "enable" + pull_vulnerabilities: "enable" + serial_number: "" + server: "192.168.100.40" + source_ip: "84.230.14.43" + status: "enable" + tenant_id: "" + trust_ca_cn: "enable" + websocket_override: "disable" """ RETURN = """ @@ -338,7 +330,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -486,7 +477,6 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos): - fos.do_member_operation("endpoint-control", "fctems-override") if data["endpoint_control_fctems_override"]: resp = endpoint_control_fctems_override(data, fos) @@ -508,140 +498,100 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "ems_id": {"revisions": {"v7.4.0": True}, "type": "integer", "required": True}, + "ems_id": {"v_range": [["v7.4.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "name": {"revisions": {"v7.4.0": True}, "type": "string"}, + "name": {"v_range": [["v7.4.0", ""]], "type": "string"}, "dirty_reason": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "none", "revisions": {"v7.4.0": True}}, - {"value": "mismatched-ems-sn", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "none"}, {"value": "mismatched-ems-sn"}], }, "fortinetone_cloud_authentication": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": {"revisions": {"v7.4.0": True}, "type": "string"}, - "https_port": {"revisions": {"v7.4.0": True}, "type": "integer"}, - "serial_number": {"revisions": {"v7.4.0": True}, "type": "string"}, - "tenant_id": {"revisions": {"v7.4.0": True}, "type": "string"}, - "source_ip": {"revisions": {"v7.4.0": True}, "type": "string"}, + "server": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "https_port": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "serial_number": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "tenant_id": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v7.4.0", ""]], "type": "string"}, "pull_sysinfo": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_vulnerabilities": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_avatars": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_tags": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pull_malware_hash": { - "revisions": {"v7.4.0": True}, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "cloud_server_type": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "production", "revisions": {"v7.4.0": True}}, - {"value": "alpha", "revisions": {"v7.4.0": True}}, - {"value": "beta", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capabilities": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "list", "options": [ - {"value": "fabric-auth", "revisions": {"v7.4.0": True}}, - {"value": "silent-approval", "revisions": {"v7.4.0": True}}, - {"value": "websocket", "revisions": {"v7.4.0": True}}, - {"value": "websocket-malware", "revisions": {"v7.4.0": True}}, - {"value": "push-ca-certs", "revisions": {"v7.4.0": True}}, - {"value": "common-tags-api", "revisions": {"v7.4.0": True}}, - {"value": "tenant-id", "revisions": {"v7.4.0": True}}, - {"value": "single-vdom-connector", "revisions": {"v7.4.0": True}}, + {"value": "fabric-auth"}, + {"value": "silent-approval"}, + {"value": "websocket"}, + {"value": "websocket-malware"}, + {"value": "push-ca-certs"}, + {"value": "common-tags-api"}, + {"value": "tenant-id"}, + {"value": "client-avatars", "v_range": [["v7.4.1", ""]]}, + {"value": "single-vdom-connector"}, ], "multiple_values": True, "elements": "str", }, - "call_timeout": {"revisions": {"v7.4.0": True}, "type": "integer"}, - "out_of_sync_threshold": {"revisions": {"v7.4.0": True}, "type": "integer"}, + "call_timeout": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "out_of_sync_threshold": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "websocket_override": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "preserve_ssl_session": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "interface_select_method": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "auto", "revisions": {"v7.4.0": True}}, - {"value": "sdwan", "revisions": {"v7.4.0": True}}, - {"value": "specify", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, - "interface": {"revisions": {"v7.4.0": True}, "type": "string"}, + "interface": {"v_range": [["v7.4.0", ""]], "type": "string"}, "trust_ca_cn": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "cloud_server_type": { + "v_range": [["v7.4.0", "v7.4.0"]], + "type": "string", + "options": [{"value": "production"}, {"value": "alpha"}, {"value": "beta"}], }, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], } @@ -678,6 +628,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_ems.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_ems.py index 7ddcef1db..18971307c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_ems.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_ems.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -138,33 +138,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiClient Enterprise Management Server (EMS) entries. - fortios_endpoint_control_forticlient_ems: - vdom: "{{ vdom }}" +- name: Configure FortiClient Enterprise Management Server (EMS) entries. + fortinet.fortios.fortios_endpoint_control_forticlient_ems: + vdom: "{{ vdom }}" state: "present" access_token: "" endpoint_control_forticlient_ems: - address: " (source firewall.address.name)" - admin_password: "" - admin_type: "Windows" - admin_username: "" - https_port: "32767" - listen_port: "32767" - name: "default_name_9" - rest_api_auth: "disable" - serial_number: "" - upload_port: "32767" - + address: " (source firewall.address.name)" + admin_password: "" + admin_type: "Windows" + admin_username: "" + https_port: "32767" + listen_port: "32767" + name: "default_name_9" + rest_api_auth: "disable" + serial_number: "" + upload_port: "32767" """ RETURN = """ @@ -223,7 +212,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -251,6 +239,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_endpoint_control_forticlient_ems_data(json): @@ -291,7 +282,6 @@ def underscore_to_hyphen(data): def endpoint_control_forticlient_ems(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -333,11 +323,16 @@ def endpoint_control_forticlient_ems(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -389,7 +384,6 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos, check_mode): - fos.do_member_operation("endpoint-control", "forticlient-ems") if data["endpoint_control_forticlient_ems"]: resp = endpoint_control_forticlient_ems(data, fos, check_mode) @@ -397,7 +391,7 @@ def fortios_endpoint_control(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("endpoint_control_forticlient_ems") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -413,68 +407,29 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, - "address": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "serial_number": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "listen_port": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "upload_port": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, + "address": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "serial_number": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "listen_port": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "upload_port": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, "rest_api_auth": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "userpass", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "https_port": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "admin_username": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "admin_password": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "disable"}, {"value": "userpass"}], }, + "https_port": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "admin_username": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "admin_password": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "admin_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "Windows", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "LDAP", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "Windows"}, {"value": "LDAP"}], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -511,6 +466,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_registration_sync.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_registration_sync.py index 66e7351fb..3882b9b49 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_registration_sync.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_forticlient_registration_sync.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiClient registration synchronization settings. - fortios_endpoint_control_forticlient_registration_sync: - vdom: "{{ vdom }}" +- name: Configure FortiClient registration synchronization settings. + fortinet.fortios.fortios_endpoint_control_forticlient_registration_sync: + vdom: "{{ vdom }}" state: "present" access_token: "" endpoint_control_forticlient_registration_sync: - peer_ip: "" - peer_name: "" - + peer_ip: "" + peer_name: "" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_endpoint_control_forticlient_registration_sync_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def endpoint_control_forticlient_registration_sync(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -281,11 +271,16 @@ def endpoint_control_forticlient_registration_sync(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,7 +338,6 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos, check_mode): - fos.do_member_operation("endpoint-control", "forticlient-registration-sync") if data["endpoint_control_forticlient_registration_sync"]: resp = endpoint_control_forticlient_registration_sync(data, fos, check_mode) @@ -352,7 +346,7 @@ def fortios_endpoint_control(data, fos, check_mode): msg="missing task body: %s" % ("endpoint_control_forticlient_registration_sync") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -368,16 +362,13 @@ versioned_schema = { "elements": "dict", "children": { "peer_name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, - "peer_ip": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "peer_ip": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -414,6 +405,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_profile.py index fcde13449..efc02ab82 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -389,7 +389,7 @@ options: suboptions: id: description: - - Operating system entry ID. + - Operating system entry ID. see Notes. required: true type: int os_name: @@ -435,7 +435,7 @@ options: type: str id: description: - - File ID. + - File ID. see Notes. required: true type: int forticlient_registration_compliance_action: @@ -453,7 +453,7 @@ options: suboptions: id: description: - - Registry entry ID. + - Registry entry ID. see Notes. required: true type: int registry_entry: @@ -495,7 +495,7 @@ options: - 'absent' id: description: - - Application ID. + - Application ID. see Notes. required: true type: int process_name: @@ -666,135 +666,124 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiClient endpoint control profiles. - fortios_endpoint_control_profile: - vdom: "{{ vdom }}" +- name: Configure FortiClient endpoint control profiles. + fortinet.fortios.fortios_endpoint_control_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" endpoint_control_profile: - description: "" - device_groups: - - - name: "default_name_5 (source user.device-group.name user.device-category.name)" - forticlient_android_settings: - disable_wf_when_protected: "enable" - forticlient_advanced_vpn: "enable" - forticlient_advanced_vpn_buffer: "" - forticlient_vpn_provisioning: "enable" - forticlient_vpn_settings: - - - auth_method: "psk" - name: "default_name_13" - preshared_key: "" - remote_gw: "" - sslvpn_access_port: "32767" - sslvpn_require_certificate: "enable" - type: "ipsec" - forticlient_wf: "enable" - forticlient_wf_profile: " (source webfilter.profile.name)" - forticlient_ios_settings: - client_vpn_provisioning: "enable" - client_vpn_settings: - - - auth_method: "psk" - name: "default_name_25" - preshared_key: "" - remote_gw: "" - sslvpn_access_port: "32767" - sslvpn_require_certificate: "enable" - type: "ipsec" - vpn_configuration_content: "" - vpn_configuration_name: "" - configuration_content: "" - configuration_name: "" - disable_wf_when_protected: "enable" - distribute_configuration_profile: "enable" - forticlient_wf: "enable" - forticlient_wf_profile: " (source webfilter.profile.name)" - forticlient_winmac_settings: - av_realtime_protection: "enable" - av_signature_up_to_date: "enable" - forticlient_application_firewall: "enable" - forticlient_application_firewall_list: " (source application.list.name)" - forticlient_av: "enable" - forticlient_ems_compliance: "enable" - forticlient_ems_compliance_action: "block" - forticlient_ems_entries: - - - name: "default_name_48 (source endpoint-control.forticlient-ems.name)" - forticlient_linux_ver: "" - forticlient_log_upload: "enable" - forticlient_log_upload_level: "traffic" - forticlient_log_upload_server: "" - forticlient_mac_ver: "" - forticlient_minimum_software_version: "enable" - forticlient_operating_system: - - - id: "56" - os_name: "" - os_type: "custom" - forticlient_own_file: - - - file: "" - id: "61" - forticlient_registration_compliance_action: "block" - forticlient_registry_entry: - - - id: "64" - registry_entry: "" - forticlient_running_app: - - - app_name: "" - app_sha256_signature: "" - app_sha256_signature2: "" - app_sha256_signature3: "" - app_sha256_signature4: "" - application_check_rule: "present" - id: "73" - process_name: "" - process_name2: "" - process_name3: "" - process_name4: "" - forticlient_security_posture: "enable" - forticlient_security_posture_compliance_action: "block" - forticlient_system_compliance: "enable" - forticlient_system_compliance_action: "block" - forticlient_vuln_scan: "enable" - forticlient_vuln_scan_compliance_action: "block" - forticlient_vuln_scan_enforce: "critical" - forticlient_vuln_scan_enforce_grace: "15" - forticlient_vuln_scan_exempt: "enable" - forticlient_wf: "enable" - forticlient_wf_profile: " (source webfilter.profile.name)" - forticlient_win_ver: "" - os_av_software_installed: "enable" - sandbox_address: "" - sandbox_analysis: "enable" - on_net_addr: - - - name: "default_name_94 (source firewall.address.name firewall.addrgrp.name)" - profile_name: "" - replacemsg_override_group: " (source system.replacemsg-group.name)" - src_addr: - - - name: "default_name_98 (source firewall.address.name firewall.addrgrp.name)" - user_groups: - - - name: "default_name_100 (source user.group.name)" - users: - - - name: "default_name_102 (source user.local.name)" - + description: "" + device_groups: + - + name: "default_name_5 (source user.device-group.name user.device-category.name)" + forticlient_android_settings: + disable_wf_when_protected: "enable" + forticlient_advanced_vpn: "enable" + forticlient_advanced_vpn_buffer: "" + forticlient_vpn_provisioning: "enable" + forticlient_vpn_settings: + - + auth_method: "psk" + name: "default_name_13" + preshared_key: "" + remote_gw: "" + sslvpn_access_port: "32767" + sslvpn_require_certificate: "enable" + type: "ipsec" + forticlient_wf: "enable" + forticlient_wf_profile: " (source webfilter.profile.name)" + forticlient_ios_settings: + client_vpn_provisioning: "enable" + client_vpn_settings: + - + auth_method: "psk" + name: "default_name_25" + preshared_key: "" + remote_gw: "" + sslvpn_access_port: "32767" + sslvpn_require_certificate: "enable" + type: "ipsec" + vpn_configuration_content: "" + vpn_configuration_name: "" + configuration_content: "" + configuration_name: "" + disable_wf_when_protected: "enable" + distribute_configuration_profile: "enable" + forticlient_wf: "enable" + forticlient_wf_profile: " (source webfilter.profile.name)" + forticlient_winmac_settings: + av_realtime_protection: "enable" + av_signature_up_to_date: "enable" + forticlient_application_firewall: "enable" + forticlient_application_firewall_list: " (source application.list.name)" + forticlient_av: "enable" + forticlient_ems_compliance: "enable" + forticlient_ems_compliance_action: "block" + forticlient_ems_entries: + - + name: "default_name_48 (source endpoint-control.forticlient-ems.name)" + forticlient_linux_ver: "" + forticlient_log_upload: "enable" + forticlient_log_upload_level: "traffic" + forticlient_log_upload_server: "" + forticlient_mac_ver: "" + forticlient_minimum_software_version: "enable" + forticlient_operating_system: + - + id: "56" + os_name: "" + os_type: "custom" + forticlient_own_file: + - + file: "" + id: "61" + forticlient_registration_compliance_action: "block" + forticlient_registry_entry: + - + id: "64" + registry_entry: "" + forticlient_running_app: + - + app_name: "" + app_sha256_signature: "" + app_sha256_signature2: "" + app_sha256_signature3: "" + app_sha256_signature4: "" + application_check_rule: "present" + id: "73" + process_name: "" + process_name2: "" + process_name3: "" + process_name4: "" + forticlient_security_posture: "enable" + forticlient_security_posture_compliance_action: "block" + forticlient_system_compliance: "enable" + forticlient_system_compliance_action: "block" + forticlient_vuln_scan: "enable" + forticlient_vuln_scan_compliance_action: "block" + forticlient_vuln_scan_enforce: "critical" + forticlient_vuln_scan_enforce_grace: "15" + forticlient_vuln_scan_exempt: "enable" + forticlient_wf: "enable" + forticlient_wf_profile: " (source webfilter.profile.name)" + forticlient_win_ver: "" + os_av_software_installed: "enable" + sandbox_address: "" + sandbox_analysis: "enable" + on_net_addr: + - + name: "default_name_94 (source firewall.address.name firewall.addrgrp.name)" + profile_name: "" + replacemsg_override_group: " (source system.replacemsg-group.name)" + src_addr: + - + name: "default_name_98 (source firewall.address.name firewall.addrgrp.name)" + user_groups: + - + name: "default_name_100 (source user.group.name)" + users: + - + name: "default_name_102 (source user.local.name)" """ RETURN = """ @@ -853,7 +842,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -881,6 +869,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_endpoint_control_profile_data(json): @@ -922,7 +913,6 @@ def underscore_to_hyphen(data): def endpoint_control_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -958,11 +948,16 @@ def endpoint_control_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1012,7 +1007,6 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos, check_mode): - fos.do_member_operation("endpoint-control", "profile") if data["endpoint_control_profile"]: resp = endpoint_control_profile(data, fos, check_mode) @@ -1020,7 +1014,7 @@ def fortios_endpoint_control(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("endpoint_control_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1036,382 +1030,123 @@ versioned_schema = { "elements": "dict", "children": { "profile_name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, "forticlient_winmac_settings": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "forticlient_registration_compliance_action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "warning"}], }, "forticlient_ems_compliance": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_ems_compliance_action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "warning"}], }, "forticlient_ems_entries": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "forticlient_security_posture": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_security_posture_compliance_action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "warning"}], }, "forticlient_av": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "av_realtime_protection": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "av_signature_up_to_date": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sandbox_analysis": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sandbox_address": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "os_av_software_installed": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_application_firewall": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_application_firewall_list": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "forticlient_wf": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_wf_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "forticlient_system_compliance": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_system_compliance_action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "warning"}], }, "forticlient_minimum_software_version": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_win_ver": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "forticlient_mac_ver": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "forticlient_linux_ver": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "forticlient_operating_system": { @@ -1419,645 +1154,207 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, "os_type": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "custom", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mac-os", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-7", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-80", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-81", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-10", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-2000", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-home-svr", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-svr-10", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-svr-2003", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-svr-2003-r2", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-svr-2008", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-svr-2008-r2", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-svr-2012", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-svr-2012-r2", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-sto-svr-2003", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-vista", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "win-xp", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ubuntu-linux", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "centos-linux", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "redhat-linux", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fedora-linux", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "custom"}, + {"value": "mac-os"}, + {"value": "win-7"}, + {"value": "win-80"}, + {"value": "win-81"}, + {"value": "win-10"}, + {"value": "win-2000"}, + {"value": "win-home-svr"}, + {"value": "win-svr-10"}, + {"value": "win-svr-2003"}, + {"value": "win-svr-2003-r2"}, + {"value": "win-svr-2008"}, + {"value": "win-svr-2008-r2"}, + {"value": "win-svr-2012"}, + {"value": "win-svr-2012-r2"}, + {"value": "win-sto-svr-2003"}, + {"value": "win-vista"}, + {"value": "win-xp"}, + {"value": "ubuntu-linux"}, + {"value": "centos-linux"}, + {"value": "redhat-linux"}, + {"value": "fedora-linux"}, ], }, "os_name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "forticlient_running_app": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, "app_name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "application_check_rule": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "present", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "absent", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "present"}, {"value": "absent"}], }, "process_name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "app_sha256_signature": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "process_name2": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "app_sha256_signature2": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "process_name3": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "app_sha256_signature3": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "process_name4": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "app_sha256_signature4": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "forticlient_registry_entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, "registry_entry": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "forticlient_own_file": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, - "file": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "file": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "forticlient_log_upload": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_log_upload_level": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vulnerability", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "traffic"}, + {"value": "vulnerability"}, + {"value": "event"}, ], }, "forticlient_log_upload_server": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "forticlient_vuln_scan": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_vuln_scan_compliance_action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "warning"}], }, "forticlient_vuln_scan_enforce": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "critical", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "info", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "critical"}, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, + {"value": "info"}, ], }, "forticlient_vuln_scan_enforce_grace": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, "forticlient_vuln_scan_exempt": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "forticlient_android_settings": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "forticlient_wf": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_wf_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "disable_wf_when_protected": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_vpn_provisioning": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_advanced_vpn": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_advanced_vpn_buffer": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "forticlient_vpn_settings": { @@ -2065,431 +1362,194 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, "type": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "ipsec", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ipsec"}, {"value": "ssl"}], }, "remote_gw": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "sslvpn_access_port": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, "sslvpn_require_certificate": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_method": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "psk", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "certificate", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "psk"}, {"value": "certificate"}], }, "preshared_key": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, }, "forticlient_ios_settings": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "forticlient_wf": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_wf_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "disable_wf_when_protected": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_vpn_provisioning": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_vpn_settings": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, "type": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "ipsec", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ipsec"}, {"value": "ssl"}], }, "vpn_configuration_name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "vpn_configuration_content": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "remote_gw": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "sslvpn_access_port": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, "sslvpn_require_certificate": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_method": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "psk", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "certificate", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "psk"}, {"value": "certificate"}], }, "preshared_key": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "distribute_configuration_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "configuration_name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "configuration_content": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, }, - "description": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "description": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "src_addr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "device_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "user_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "on_net_addr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "replacemsg_override_group": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -2526,6 +1586,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_registered_forticlient.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_registered_forticlient.py index 2dcc30558..e265b7bef 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_registered_forticlient.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_registered_forticlient.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -120,30 +120,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Registered FortiClient list. - fortios_endpoint_control_registered_forticlient: - vdom: "{{ vdom }}" +- name: Registered FortiClient list. + fortinet.fortios.fortios_endpoint_control_registered_forticlient: + vdom: "{{ vdom }}" state: "present" access_token: "" endpoint_control_registered_forticlient: - flag: "32767" - ip: "" - mac: "" - reg_fortigate: "" - status: "32767" - uid: "" - vdom: "" - + flag: "32767" + ip: "" + mac: "" + reg_fortigate: "" + status: "32767" + uid: "" + vdom: "" """ RETURN = """ @@ -202,7 +191,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -230,6 +218,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_endpoint_control_registered_forticlient_data(json): @@ -259,7 +250,6 @@ def underscore_to_hyphen(data): def endpoint_control_registered_forticlient(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -303,11 +293,16 @@ def endpoint_control_registered_forticlient(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -362,7 +357,6 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos, check_mode): - fos.do_member_operation("endpoint-control", "registered-forticlient") if data["endpoint_control_registered_forticlient"]: resp = endpoint_control_registered_forticlient(data, fos, check_mode) @@ -370,7 +364,7 @@ def fortios_endpoint_control(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("endpoint_control_registered_forticlient") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -385,37 +379,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "uid": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "required": True, - }, - "vdom": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "ip": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "mac": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "flag": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "reg_fortigate": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "uid": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True}, + "vdom": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "mac": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "status": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "flag": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "reg_fortigate": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -452,6 +424,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_settings.py index 06dfe3ba6..8c046bf51 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_endpoint_control_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -168,37 +168,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure endpoint control settings. - fortios_endpoint_control_settings: - vdom: "{{ vdom }}" +- name: Configure endpoint control settings. + fortinet.fortios.fortios_endpoint_control_settings: + vdom: "{{ vdom }}" endpoint_control_settings: - download_custom_link: "" - download_location: "fortiguard" - forticlient_avdb_update_interval: "12" - forticlient_dereg_unsupported_client: "enable" - forticlient_disconnect_unsupported_client: "enable" - forticlient_ems_rest_api_call_timeout: "15000" - forticlient_keepalive_interval: "150" - forticlient_offline_grace: "enable" - forticlient_offline_grace_interval: "300" - forticlient_reg_key: "" - forticlient_reg_key_enforce: "enable" - forticlient_reg_timeout: "90" - forticlient_sys_update_interval: "720" - forticlient_user_avatar: "enable" - forticlient_warning_interval: "12" - override: "enable" - + download_custom_link: "" + download_location: "fortiguard" + forticlient_avdb_update_interval: "12" + forticlient_dereg_unsupported_client: "enable" + forticlient_disconnect_unsupported_client: "enable" + forticlient_ems_rest_api_call_timeout: "15000" + forticlient_keepalive_interval: "150" + forticlient_offline_grace: "enable" + forticlient_offline_grace_interval: "300" + forticlient_reg_key: "" + forticlient_reg_key_enforce: "enable" + forticlient_reg_timeout: "90" + forticlient_sys_update_interval: "720" + forticlient_user_avatar: "enable" + forticlient_warning_interval: "12" + override: "enable" """ RETURN = """ @@ -257,7 +246,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -347,7 +335,6 @@ def is_successful_status(resp): def fortios_endpoint_control(data, fos): - fos.do_member_operation("endpoint-control", "settings") if data["endpoint_control_settings"]: resp = endpoint_control_settings(data, fos) @@ -366,211 +353,72 @@ def fortios_endpoint_control(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v7.4.0", ""]], "type": "dict", "children": { "override": { - "revisions": { - "v7.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_keepalive_interval": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "forticlient_sys_update_interval": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "forticlient_user_avatar": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_disconnect_unsupported_client": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_reg_key_enforce": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "forticlient_reg_key": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "forticlient_reg_key": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "forticlient_reg_timeout": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, - "download_custom_link": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "download_custom_link": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "download_location": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "fortiguard", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "custom", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "fortiguard"}, {"value": "custom"}], }, "forticlient_offline_grace": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_offline_grace_interval": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, "forticlient_avdb_update_interval": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, "forticlient_warning_interval": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, "forticlient_dereg_unsupported_client": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_ems_rest_api_call_timeout": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, }, @@ -609,6 +457,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_export_config_playbook.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_export_config_playbook.py index a3d9de576..7d17c9199 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_export_config_playbook.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_export_config_playbook.py @@ -205,6 +205,7 @@ options: - 'system.lldp_network-policy' - 'system_pcp-server' - 'system_speed-test-schedule' + - 'system_speed-test-setting' - 'system_standalone-cluster' - 'system_fortiguard' - 'system_ips' @@ -311,8 +312,8 @@ options: - 'switch-controller_switch-profile' - 'switch-controller_custom-command' - 'switch-controller_virtual-port-pool' - - 'switch-controller.ptp_settings' - - 'switch-controller.ptp_policy' + - 'switch-controller.ptp_profile' + - 'switch-controller.ptp_interface-policy' - 'switch-controller_vlan-policy' - 'switch-controller.acl_ingress' - 'switch-controller.acl_group' @@ -386,8 +387,8 @@ options: - 'firewall.ipmacbinding_table' - 'firewall_profile-protocol-options' - 'firewall_ssl-ssh-profile' - - 'firewall_profile-group' - 'firewall_ssl-server' + - 'firewall_profile-group' - 'firewall_identity-based-route' - 'firewall_auth-portal' - 'firewall_security-policy' @@ -464,6 +465,7 @@ options: - 'web-proxy_forward-server-group' - 'web-proxy_debug-url' - 'web-proxy_wisp' + - 'web-proxy_fast-fallback' - 'web-proxy_url-match' - 'wanopt_webcache' - 'wanopt_settings' @@ -588,12 +590,16 @@ options: - 'antivirus_profile' - 'ssh-filter_profile' - 'file-filter_profile' + - 'virtual-patch_profile' - 'report_layout' - 'report_setting' - 'waf_main-class' - 'waf_sub-class' - 'waf_signature' - 'waf_profile' + - 'casb_saas-application' + - 'casb_user-activity' + - 'casb_profile' - 'authentication_scheme' - 'authentication_rule' - 'authentication_setting' @@ -635,19 +641,24 @@ options: - 'automation_setting' - 'dpdk_global' - 'dpdk_cpus' + - 'system_isf-queue-profile' - 'system_npu' - 'system_np6' + - 'system_modem' + - 'system.3g-modem_custom' - 'system_lte-modem' + - 'firewall_acl' + - 'firewall_acl6' + - 'monitoring_np6-ipsec-engine' + - 'monitoring_npu-hpe' + - 'switch-controller.ptp_settings' + - 'switch-controller.ptp_policy' - 'system_physical-switch' - 'system_virtual-switch' - 'system_stp' - 'system_gi-gk' - - 'system_modem' - - 'system.3g-modem_custom' - 'firewall_gtp' - 'firewall_pfcp' - - 'firewall_acl' - - 'firewall_acl6' - 'vpn_ocvpn' - 'gtp_apn' - 'gtp_apngrp' @@ -658,9 +669,6 @@ options: - 'gtp_tunnel-limit' - 'gtp_apn-shaper' - 'pfcp_message-filter' - - 'monitoring_np6-ipsec-engine' - - 'monitoring_npu-hpe' - - 'system_isf-queue-profile' - 'system.replacemsg_mail' - 'system.replacemsg_http' - 'system.replacemsg_webproxy' @@ -928,6 +936,7 @@ options: - 'system.lldp_network-policy' - 'system_pcp-server' - 'system_speed-test-schedule' + - 'system_speed-test-setting' - 'system_standalone-cluster' - 'system_fortiguard' - 'system_ips' @@ -1034,8 +1043,8 @@ options: - 'switch-controller_switch-profile' - 'switch-controller_custom-command' - 'switch-controller_virtual-port-pool' - - 'switch-controller.ptp_settings' - - 'switch-controller.ptp_policy' + - 'switch-controller.ptp_profile' + - 'switch-controller.ptp_interface-policy' - 'switch-controller_vlan-policy' - 'switch-controller.acl_ingress' - 'switch-controller.acl_group' @@ -1109,8 +1118,8 @@ options: - 'firewall.ipmacbinding_table' - 'firewall_profile-protocol-options' - 'firewall_ssl-ssh-profile' - - 'firewall_profile-group' - 'firewall_ssl-server' + - 'firewall_profile-group' - 'firewall_identity-based-route' - 'firewall_auth-portal' - 'firewall_security-policy' @@ -1187,6 +1196,7 @@ options: - 'web-proxy_forward-server-group' - 'web-proxy_debug-url' - 'web-proxy_wisp' + - 'web-proxy_fast-fallback' - 'web-proxy_url-match' - 'wanopt_webcache' - 'wanopt_settings' @@ -1311,12 +1321,16 @@ options: - 'antivirus_profile' - 'ssh-filter_profile' - 'file-filter_profile' + - 'virtual-patch_profile' - 'report_layout' - 'report_setting' - 'waf_main-class' - 'waf_sub-class' - 'waf_signature' - 'waf_profile' + - 'casb_saas-application' + - 'casb_user-activity' + - 'casb_profile' - 'authentication_scheme' - 'authentication_rule' - 'authentication_setting' @@ -1358,19 +1372,24 @@ options: - 'automation_setting' - 'dpdk_global' - 'dpdk_cpus' + - 'system_isf-queue-profile' - 'system_npu' - 'system_np6' + - 'system_modem' + - 'system.3g-modem_custom' - 'system_lte-modem' + - 'firewall_acl' + - 'firewall_acl6' + - 'monitoring_np6-ipsec-engine' + - 'monitoring_npu-hpe' + - 'switch-controller.ptp_settings' + - 'switch-controller.ptp_policy' - 'system_physical-switch' - 'system_virtual-switch' - 'system_stp' - 'system_gi-gk' - - 'system_modem' - - 'system.3g-modem_custom' - 'firewall_gtp' - 'firewall_pfcp' - - 'firewall_acl' - - 'firewall_acl6' - 'vpn_ocvpn' - 'gtp_apn' - 'gtp_apngrp' @@ -1381,9 +1400,6 @@ options: - 'gtp_tunnel-limit' - 'gtp_apn-shaper' - 'pfcp_message-filter' - - 'monitoring_np6-ipsec-engine' - - 'monitoring_npu-hpe' - - 'system_isf-queue-profile' - 'system.replacemsg_mail' - 'system.replacemsg_http' - 'system.replacemsg_webproxy' @@ -1580,27 +1596,18 @@ options: """ EXAMPLES = """ -- hosts: fortigateslab - connection: httpapi - collections: - - fortinet.fortios - vars: - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - vdom: "root" - tasks: - - name: Will generate the playbooks for each selector/module. - fortios_export_config_playbook: +- name: Will generate the playbooks for each selector/module. + fortinet.fortios.fortios_export_config_playbook: selectors: - - selector: firewall_address - params: - name: "gmail.com" - - selector: system.snmp_user - params: - name: "snmp_user_test" + - selector: firewall_address + params: + name: "gmail.com" + - selector: system.snmp_user + params: + name: "snmp_user_test" output_path: "./" """ + RETURN = """ build: description: Build number of the fortigate image @@ -1959,6 +1966,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "interface", "mkey_type": str, }, + "system_speed-test-setting": { + "mkey": "None", + "mkey_type": None, + }, "system_standalone-cluster": { "mkey": "None", "mkey_type": None, @@ -2383,11 +2394,11 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "switch-controller.ptp_settings": { - "mkey": "None", - "mkey_type": None, + "switch-controller.ptp_profile": { + "mkey": "name", + "mkey_type": str, }, - "switch-controller.ptp_policy": { + "switch-controller.ptp_interface-policy": { "mkey": "name", "mkey_type": str, }, @@ -2683,11 +2694,11 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "firewall_profile-group": { + "firewall_ssl-server": { "mkey": "name", "mkey_type": str, }, - "firewall_ssl-server": { + "firewall_profile-group": { "mkey": "name", "mkey_type": str, }, @@ -2995,6 +3006,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "web-proxy_fast-fallback": { + "mkey": "name", + "mkey_type": str, + }, "web-proxy_url-match": { "mkey": "name", "mkey_type": str, @@ -3491,6 +3506,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "virtual-patch_profile": { + "mkey": "name", + "mkey_type": str, + }, "report_layout": { "mkey": "name", "mkey_type": str, @@ -3515,6 +3534,18 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "casb_saas-application": { + "mkey": "name", + "mkey_type": str, + }, + "casb_user-activity": { + "mkey": "name", + "mkey_type": str, + }, + "casb_profile": { + "mkey": "name", + "mkey_type": str, + }, "authentication_scheme": { "mkey": "name", "mkey_type": str, @@ -3679,6 +3710,10 @@ MODULE_MKEY_DEFINITONS = { "mkey": "None", "mkey_type": None, }, + "system_isf-queue-profile": { + "mkey": "name", + "mkey_type": str, + }, "system_npu": { "mkey": "None", "mkey_type": None, @@ -3687,10 +3722,42 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, + "system_modem": { + "mkey": "None", + "mkey_type": None, + }, + "system.3g-modem_custom": { + "mkey": "id", + "mkey_type": int, + }, "system_lte-modem": { "mkey": "None", "mkey_type": None, }, + "firewall_acl": { + "mkey": "policyid", + "mkey_type": int, + }, + "firewall_acl6": { + "mkey": "policyid", + "mkey_type": int, + }, + "monitoring_np6-ipsec-engine": { + "mkey": "None", + "mkey_type": None, + }, + "monitoring_npu-hpe": { + "mkey": "None", + "mkey_type": None, + }, + "switch-controller.ptp_settings": { + "mkey": "None", + "mkey_type": None, + }, + "switch-controller.ptp_policy": { + "mkey": "name", + "mkey_type": str, + }, "system_physical-switch": { "mkey": "name", "mkey_type": str, @@ -3707,14 +3774,6 @@ MODULE_MKEY_DEFINITONS = { "mkey": "None", "mkey_type": None, }, - "system_modem": { - "mkey": "None", - "mkey_type": None, - }, - "system.3g-modem_custom": { - "mkey": "id", - "mkey_type": int, - }, "firewall_gtp": { "mkey": "name", "mkey_type": str, @@ -3723,14 +3782,6 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "firewall_acl": { - "mkey": "policyid", - "mkey_type": int, - }, - "firewall_acl6": { - "mkey": "policyid", - "mkey_type": int, - }, "vpn_ocvpn": { "mkey": "None", "mkey_type": None, @@ -3771,18 +3822,6 @@ MODULE_MKEY_DEFINITONS = { "mkey": "name", "mkey_type": str, }, - "monitoring_np6-ipsec-engine": { - "mkey": "None", - "mkey_type": None, - }, - "monitoring_npu-hpe": { - "mkey": "None", - "mkey_type": None, - }, - "system_isf-queue-profile": { - "mkey": "name", - "mkey_type": str, - }, "system.replacemsg_mail": { "mkey": "msg_type", "mkey_type": str, @@ -4634,6 +4673,7 @@ SPECIAL_ATTRIBUTE_TABLE = { ["local_standalone_dns_ip"], ["broadcast_suppression"], ["ipv6_rules"], + ["vlan_name", "vlan_id"], ["rates_11a"], ["rates_11bg"], ["rates_11n_ss12"], @@ -4803,10 +4843,10 @@ SPECIAL_ATTRIBUTE_TABLE = { "antivirus_quarantine": [ ["drop_infected"], ["store_infected"], - ["drop_blocked"], - ["store_blocked"], ["drop_machine_learning"], ["store_machine_learning"], + ["drop_blocked"], + ["store_blocked"], ["drop_heuristic"], ["store_heuristic"], ["drop_intercepted"], @@ -4843,6 +4883,7 @@ SPECIAL_ATTRIBUTE_TABLE = { ], "ssh_filter_profile": [["block"], ["log"], ["file_filter", "entries", "protocol"]], "file_filter_profile": [["rules", "protocol"]], + "virtual_patch_profile": [["severity"]], "report_layout": [ ["options"], ["format"], @@ -4857,6 +4898,7 @@ SPECIAL_ATTRIBUTE_TABLE = { ["method", "default_allowed_methods"], ["method", "method_policy", "allowed_methods"], ], + "casb_profile": [["saas_application", "access_rule", "bypass"]], "authentication_scheme": [["method"]], "extension_controller_extender_profile": [ ["allowaccess"], @@ -4878,6 +4920,8 @@ SPECIAL_ATTRIBUTE_TABLE = { ], "router_isis": [["overload_bit_suppress"]], "system_modem": [["authtype1"], ["authtype2"], ["authtype3"]], + "monitoring_np6_ipsec_engine": [["threshold"]], + "monitoring_npu_hpe": [["multipliers"]], "firewall_gtp": [ ["apn", "selection_mode"], ["imsi", "selection_mode"], @@ -4890,8 +4934,6 @@ SPECIAL_ATTRIBUTE_TABLE = { ["policy_v2", "uli"], ["ie_remove_policy", "remove_ies"], ], - "monitoring_np6_ipsec_engine": [["threshold"]], - "monitoring_npu_hpe": [["multipliers"]], "ips_rule": [["location"]], "extender_controller_extender_profile": [ ["allowaccess"], @@ -4995,6 +5037,7 @@ EXCLUDED_LIST = ["q_origin_key"] import copy import traceback +YAML_IMPORT_ERROR = None try: import yaml except ImportError: @@ -5212,6 +5255,7 @@ def main(): "system.lldp_network-policy", "system_pcp-server", "system_speed-test-schedule", + "system_speed-test-setting", "system_standalone-cluster", "system_fortiguard", "system_ips", @@ -5318,8 +5362,8 @@ def main(): "switch-controller_switch-profile", "switch-controller_custom-command", "switch-controller_virtual-port-pool", - "switch-controller.ptp_settings", - "switch-controller.ptp_policy", + "switch-controller.ptp_profile", + "switch-controller.ptp_interface-policy", "switch-controller_vlan-policy", "switch-controller.acl_ingress", "switch-controller.acl_group", @@ -5393,8 +5437,8 @@ def main(): "firewall.ipmacbinding_table", "firewall_profile-protocol-options", "firewall_ssl-ssh-profile", - "firewall_profile-group", "firewall_ssl-server", + "firewall_profile-group", "firewall_identity-based-route", "firewall_auth-portal", "firewall_security-policy", @@ -5471,6 +5515,7 @@ def main(): "web-proxy_forward-server-group", "web-proxy_debug-url", "web-proxy_wisp", + "web-proxy_fast-fallback", "web-proxy_url-match", "wanopt_webcache", "wanopt_settings", @@ -5595,12 +5640,16 @@ def main(): "antivirus_profile", "ssh-filter_profile", "file-filter_profile", + "virtual-patch_profile", "report_layout", "report_setting", "waf_main-class", "waf_sub-class", "waf_signature", "waf_profile", + "casb_saas-application", + "casb_user-activity", + "casb_profile", "authentication_scheme", "authentication_rule", "authentication_setting", @@ -5642,19 +5691,24 @@ def main(): "automation_setting", "dpdk_global", "dpdk_cpus", + "system_isf-queue-profile", "system_npu", "system_np6", + "system_modem", + "system.3g-modem_custom", "system_lte-modem", + "firewall_acl", + "firewall_acl6", + "monitoring_np6-ipsec-engine", + "monitoring_npu-hpe", + "switch-controller.ptp_settings", + "switch-controller.ptp_policy", "system_physical-switch", "system_virtual-switch", "system_stp", "system_gi-gk", - "system_modem", - "system.3g-modem_custom", "firewall_gtp", "firewall_pfcp", - "firewall_acl", - "firewall_acl6", "vpn_ocvpn", "gtp_apn", "gtp_apngrp", @@ -5665,9 +5719,6 @@ def main(): "gtp_tunnel-limit", "gtp_apn-shaper", "pfcp_message-filter", - "monitoring_np6-ipsec-engine", - "monitoring_npu-hpe", - "system_isf-queue-profile", "system.replacemsg_mail", "system.replacemsg_http", "system.replacemsg_webproxy", @@ -5943,6 +5994,7 @@ def main(): "system.lldp_network-policy", "system_pcp-server", "system_speed-test-schedule", + "system_speed-test-setting", "system_standalone-cluster", "system_fortiguard", "system_ips", @@ -6049,8 +6101,8 @@ def main(): "switch-controller_switch-profile", "switch-controller_custom-command", "switch-controller_virtual-port-pool", - "switch-controller.ptp_settings", - "switch-controller.ptp_policy", + "switch-controller.ptp_profile", + "switch-controller.ptp_interface-policy", "switch-controller_vlan-policy", "switch-controller.acl_ingress", "switch-controller.acl_group", @@ -6124,8 +6176,8 @@ def main(): "firewall.ipmacbinding_table", "firewall_profile-protocol-options", "firewall_ssl-ssh-profile", - "firewall_profile-group", "firewall_ssl-server", + "firewall_profile-group", "firewall_identity-based-route", "firewall_auth-portal", "firewall_security-policy", @@ -6202,6 +6254,7 @@ def main(): "web-proxy_forward-server-group", "web-proxy_debug-url", "web-proxy_wisp", + "web-proxy_fast-fallback", "web-proxy_url-match", "wanopt_webcache", "wanopt_settings", @@ -6326,12 +6379,16 @@ def main(): "antivirus_profile", "ssh-filter_profile", "file-filter_profile", + "virtual-patch_profile", "report_layout", "report_setting", "waf_main-class", "waf_sub-class", "waf_signature", "waf_profile", + "casb_saas-application", + "casb_user-activity", + "casb_profile", "authentication_scheme", "authentication_rule", "authentication_setting", @@ -6373,19 +6430,24 @@ def main(): "automation_setting", "dpdk_global", "dpdk_cpus", + "system_isf-queue-profile", "system_npu", "system_np6", + "system_modem", + "system.3g-modem_custom", "system_lte-modem", + "firewall_acl", + "firewall_acl6", + "monitoring_np6-ipsec-engine", + "monitoring_npu-hpe", + "switch-controller.ptp_settings", + "switch-controller.ptp_policy", "system_physical-switch", "system_virtual-switch", "system_stp", "system_gi-gk", - "system_modem", - "system.3g-modem_custom", "firewall_gtp", "firewall_pfcp", - "firewall_acl", - "firewall_acl6", "vpn_ocvpn", "gtp_apn", "gtp_apngrp", @@ -6396,9 +6458,6 @@ def main(): "gtp_tunnel-limit", "gtp_apn-shaper", "pfcp_message-filter", - "monitoring_np6-ipsec-engine", - "monitoring_npu-hpe", - "system_isf-queue-profile", "system.replacemsg_mail", "system.replacemsg_http", "system.replacemsg_webproxy", diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_dataplan.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_dataplan.py index 609211fef..3157f52e2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_dataplan.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_dataplan.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -206,44 +206,33 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: FortiExtender dataplan configuration. - fortios_extender_controller_dataplan: - vdom: "{{ vdom }}" +- name: FortiExtender dataplan configuration. + fortinet.fortios.fortios_extender_controller_dataplan: + vdom: "{{ vdom }}" state: "present" access_token: "" extender_controller_dataplan: - apn: "" - APN: "" - auth_type: "none" - billing_date: "1" - capacity: "0" - carrier: "" - iccid: "" - modem_id: "modem1" - monthly_fee: "0" - name: "default_name_12" - overage: "disable" - password: "" - pdn: "ipv4-only" - PDN: "ipv4-only" - preferred_subnet: "32" - private_network: "disable" - signal_period: "3600" - signal_threshold: "100" - slot: "sim1" - type: "carrier" - username: "" - + apn: "" + APN: "" + auth_type: "none" + billing_date: "1" + capacity: "0" + carrier: "" + iccid: "" + modem_id: "modem1" + monthly_fee: "0" + name: "default_name_12" + overage: "disable" + password: "" + pdn: "ipv4-only" + PDN: "ipv4-only" + preferred_subnet: "32" + private_network: "disable" + signal_period: "3600" + signal_threshold: "100" + slot: "sim1" + type: "carrier" + username: "" """ RETURN = """ @@ -302,7 +291,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -330,6 +318,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_extender_controller_dataplan_data(json): @@ -381,7 +372,6 @@ def underscore_to_hyphen(data): def extender_controller_dataplan(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -417,11 +407,16 @@ def extender_controller_dataplan(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -471,7 +466,6 @@ def is_successful_status(resp): def fortios_extender_controller(data, fos, check_mode): - fos.do_member_operation("extender-controller", "dataplan") if data["extender_controller_dataplan"]: resp = extender_controller_dataplan(data, fos, check_mode) @@ -479,7 +473,7 @@ def fortios_extender_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("extender_controller_dataplan") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -495,688 +489,107 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", "required": True, }, "modem_id": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "modem1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "modem2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "modem1"}, {"value": "modem2"}, {"value": "all"}], }, "type": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", "options": [ - { - "value": "carrier", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "slot", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "iccid", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "generic", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "carrier"}, + {"value": "slot"}, + {"value": "iccid"}, + {"value": "generic"}, ], }, "slot": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "sim1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "sim1"}, {"value": "sim2"}], }, "iccid": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", }, "carrier": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - "type": "string", - }, - "apn": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", }, + "apn": {"v_range": [["v6.4.4", "v7.2.0"]], "type": "string"}, "auth_type": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "pap"}, {"value": "chap"}], }, "username": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", }, "password": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", }, "pdn": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": False, - }, + "v_range": [["v6.4.4", "v7.2.0"]], "type": "string", "options": [ - { - "value": "ipv4-only", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ipv6-only", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ipv4-ipv6", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "ipv4-only"}, + {"value": "ipv6-only"}, + {"value": "ipv4-ipv6"}, ], }, "signal_threshold": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "integer", }, "signal_period": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "integer", }, "capacity": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "integer", }, "monthly_fee": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "integer", }, "billing_date": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "integer", }, "overage": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "preferred_subnet": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "integer", }, "private_network": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "APN": {"revisions": {"v6.4.0": True}, "type": "string"}, + "APN": {"v_range": [["v6.4.0", "v6.4.0"]], "type": "string"}, "PDN": { - "revisions": {"v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"]], "type": "string", "options": [ - {"value": "ipv4-only", "revisions": {"v6.4.0": True}}, - {"value": "ipv6-only", "revisions": {"v6.4.0": True}}, - {"value": "ipv4-ipv6", "revisions": {"v6.4.0": True}}, + {"value": "ipv4-only"}, + {"value": "ipv6-only"}, + {"value": "ipv4-ipv6"}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], } @@ -1213,6 +626,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender.py index b1d43e793..a21850cec 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -639,122 +639,111 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Extender controller configuration. - fortios_extender_controller_extender: - vdom: "{{ vdom }}" +- name: Extender controller configuration. + fortinet.fortios.fortios_extender_controller_extender: + vdom: "{{ vdom }}" state: "present" access_token: "" extender_controller_extender: - aaa_shared_secret: "" - access_point_name: "" - admin: "disable" - allowaccess: "ping" - at_dial_script: "" - authorized: "disable" - bandwidth_limit: "1024" - billing_start_day: "14" - cdma_aaa_spi: "" - cdma_ha_spi: "" - cdma_nai: "" - conn_status: "2147483647" - controller_report: - interval: "300" - signal_threshold: "10" - status: "disable" - description: "" - device_id: "1024" - dial_mode: "dial-on-demand" - dial_status: "2147483647" - enforce_bandwidth: "enable" - ext_name: "" - extension_type: "wan-extension" - ha_shared_secret: "" - id: "27" - ifname: " (source system.interface.name)" - initiated_update: "enable" - login_password: "" - login_password_change: "yes" - mode: "standalone" - modem_passwd: "" - modem_type: "cdma" - modem1: - auto_switch: - dataplan: "disable" - disconnect: "disable" - disconnect_period: "600" - disconnect_threshold: "3" - signal: "disable" - switch_back: "time" - switch_back_time: "" - switch_back_timer: "86400" - conn_status: "0" - default_sim: "sim1" - gps: "disable" - ifname: " (source system.interface.name)" - preferred_carrier: "" - redundant_intf: "" - redundant_mode: "disable" - sim1_pin: "disable" - sim1_pin_code: "" - sim2_pin: "disable" - sim2_pin_code: "" - modem2: - auto_switch: - dataplan: "disable" - disconnect: "disable" - disconnect_period: "600" - disconnect_threshold: "3" - signal: "disable" - switch_back: "time" - switch_back_time: "" - switch_back_timer: "86400" - conn_status: "0" - default_sim: "sim1" - gps: "disable" - ifname: " (source system.interface.name)" - preferred_carrier: "" - redundant_intf: "" - redundant_mode: "disable" - sim1_pin: "disable" - sim1_pin_code: "" - sim2_pin: "disable" - sim2_pin_code: "" - multi_mode: "auto" - name: "default_name_78" - override_allowaccess: "enable" - override_enforce_bandwidth: "enable" - override_login_password_change: "enable" - ppp_auth_protocol: "auto" - ppp_echo_request: "enable" - ppp_password: "" - ppp_username: "" - primary_ha: "" - profile: " (source extender-controller.extender-profile.name)" - quota_limit_mb: "5242880" - redial: "none" - redundant_intf: "" - roaming: "enable" - role: "none" - secondary_ha: "" - sim_pin: "" - vdom: "0" - wan_extension: - modem1_extension: " (source system.interface.name)" - modem2_extension: " (source system.interface.name)" - wimax_auth_protocol: "tls" - wimax_carrier: "" - wimax_realm: "" - + aaa_shared_secret: "" + access_point_name: "" + admin: "disable" + allowaccess: "ping" + at_dial_script: "" + authorized: "disable" + bandwidth_limit: "1024" + billing_start_day: "14" + cdma_aaa_spi: "" + cdma_ha_spi: "" + cdma_nai: "" + conn_status: "2147483647" + controller_report: + interval: "300" + signal_threshold: "10" + status: "disable" + description: "" + device_id: "1024" + dial_mode: "dial-on-demand" + dial_status: "2147483647" + enforce_bandwidth: "enable" + ext_name: "" + extension_type: "wan-extension" + ha_shared_secret: "" + id: "27" + ifname: " (source system.interface.name)" + initiated_update: "enable" + login_password: "" + login_password_change: "yes" + mode: "standalone" + modem_passwd: "" + modem_type: "cdma" + modem1: + auto_switch: + dataplan: "disable" + disconnect: "disable" + disconnect_period: "600" + disconnect_threshold: "3" + signal: "disable" + switch_back: "time" + switch_back_time: "" + switch_back_timer: "86400" + conn_status: "0" + default_sim: "sim1" + gps: "disable" + ifname: " (source system.interface.name)" + preferred_carrier: "" + redundant_intf: "" + redundant_mode: "disable" + sim1_pin: "disable" + sim1_pin_code: "" + sim2_pin: "disable" + sim2_pin_code: "" + modem2: + auto_switch: + dataplan: "disable" + disconnect: "disable" + disconnect_period: "600" + disconnect_threshold: "3" + signal: "disable" + switch_back: "time" + switch_back_time: "" + switch_back_timer: "86400" + conn_status: "0" + default_sim: "sim1" + gps: "disable" + ifname: " (source system.interface.name)" + preferred_carrier: "" + redundant_intf: "" + redundant_mode: "disable" + sim1_pin: "disable" + sim1_pin_code: "" + sim2_pin: "disable" + sim2_pin_code: "" + multi_mode: "auto" + name: "default_name_78" + override_allowaccess: "enable" + override_enforce_bandwidth: "enable" + override_login_password_change: "enable" + ppp_auth_protocol: "auto" + ppp_echo_request: "enable" + ppp_password: "" + ppp_username: "" + primary_ha: "" + profile: " (source extender-controller.extender-profile.name)" + quota_limit_mb: "5242880" + redial: "none" + redundant_intf: "" + roaming: "enable" + role: "none" + secondary_ha: "" + sim_pin: "" + vdom: "0" + wan_extension: + modem1_extension: " (source system.interface.name)" + modem2_extension: " (source system.interface.name)" + wimax_auth_protocol: "tls" + wimax_carrier: "" + wimax_realm: "" """ RETURN = """ @@ -813,7 +802,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -841,6 +829,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_extender_controller_extender_data(json): @@ -956,7 +947,6 @@ def underscore_to_hyphen(data): def extender_controller_extender(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -995,11 +985,16 @@ def extender_controller_extender(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1049,7 +1044,6 @@ def is_successful_status(resp): def fortios_extender_controller(data, fos, check_mode): - fos.do_member_operation("extender-controller", "extender") if data["extender_controller_extender"]: resp = extender_controller_extender(data, fos, check_mode) @@ -1057,7 +1051,7 @@ def fortios_extender_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("extender_controller_extender") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1073,1241 +1067,204 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", "required": True, }, - "id": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, "authorized": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], - }, - "ext_name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ext_name": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, + "description": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, "vdom": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "device_id": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, + "device_id": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "integer"}, "extension_type": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "wan-extension", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "lan-extension", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "profile": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", + "options": [{"value": "wan-extension"}, {"value": "lan-extension"}], }, + "profile": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "string"}, "override_allowaccess": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowaccess": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "ping"}, + {"value": "telnet"}, + {"value": "http"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, ], "multiple_values": True, "elements": "str", }, "override_login_password_change": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "login_password_change": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "yes"}, {"value": "default"}, {"value": "no"}], }, "login_password": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.0"]], "type": "string", }, "override_enforce_bandwidth": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "enforce_bandwidth": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "bandwidth_limit": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "bandwidth_limit": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "integer"}, "wan_extension": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "modem1_extension": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "modem2_extension": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, }, }, "controller_report": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "interval": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, "signal_threshold": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, }, }, "modem1": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "dict", "children": { "ifname": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "redundant_mode": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "redundant_intf": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "conn_status": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, "default_sim": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", "options": [ - { - "value": "sim1", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "carrier", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "cost", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "sim1"}, + {"value": "sim2"}, + {"value": "carrier"}, + {"value": "cost"}, ], }, "gps": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim2_pin": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin_code": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "sim2_pin_code": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "preferred_carrier": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "auto_switch": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "dict", "children": { "disconnect": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "disconnect_threshold": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, "disconnect_period": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, "signal": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dataplan": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "switch_back": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "list", - "options": [ - { - "value": "time", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "timer", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "time"}, {"value": "timer"}], "multiple_values": True, "elements": "str", }, "switch_back_time": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "switch_back_timer": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, }, @@ -2315,400 +1272,103 @@ versioned_schema = { }, }, "modem2": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "dict", "children": { "ifname": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "redundant_mode": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "redundant_intf": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "conn_status": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, "default_sim": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", "options": [ - { - "value": "sim1", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "carrier", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "cost", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "sim1"}, + {"value": "sim2"}, + {"value": "carrier"}, + {"value": "cost"}, ], }, "gps": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim2_pin": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin_code": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "sim2_pin_code": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "preferred_carrier": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "auto_switch": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "dict", "children": { "disconnect": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "disconnect_threshold": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, "disconnect_period": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, "signal": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dataplan": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "switch_back": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "list", - "options": [ - { - "value": "time", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "timer", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "time"}, {"value": "timer"}], "multiple_values": True, "elements": "str", }, "switch_back_time": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "string", }, "switch_back_timer": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.1"]], "type": "integer", }, }, @@ -2716,1034 +1376,177 @@ versioned_schema = { }, }, "admin": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "discovered", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "discovered"}, + {"value": "enable"}, ], }, "ifname": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "role": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "primary", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "primary"}, + {"value": "secondary"}, ], }, "mode": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "standalone", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "redundant", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "standalone"}, {"value": "redundant"}], }, "dial_mode": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "dial-on-demand", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "always-connect", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "dial-on-demand"}, {"value": "always-connect"}], }, "redial": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "7", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "9", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "1"}, + {"value": "2"}, + {"value": "3"}, + {"value": "4"}, + {"value": "5"}, + {"value": "6"}, + {"value": "7"}, + {"value": "8"}, + {"value": "9"}, + {"value": "10"}, ], }, "redundant_intf": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "dial_status": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "conn_status": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "quota_limit_mb": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "billing_start_day": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "at_dial_script": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "modem_passwd": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "initiated_update": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "modem_type": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "cdma", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gsm/lte", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wimax", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "cdma"}, {"value": "gsm/lte"}, {"value": "wimax"}], }, "ppp_username": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "ppp_password": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "ppp_auth_protocol": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "pap"}, {"value": "chap"}], }, "ppp_echo_request": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wimax_carrier": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "wimax_realm": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "wimax_auth_protocol": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "tls", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ttls", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "tls"}, {"value": "ttls"}], }, "sim_pin": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "access_point_name": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "multi_mode": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto-3g", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "force-lte", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "force-3g", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "force-2g", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "auto-3g"}, + {"value": "force-lte"}, + {"value": "force-3g"}, + {"value": "force-2g"}, ], }, "roaming": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cdma_nai": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "aaa_shared_secret": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "ha_shared_secret": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "primary_ha": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "secondary_ha": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "cdma_aaa_spi": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "cdma_ha_spi": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], } @@ -3780,6 +1583,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender_profile.py index 3b55463bc..66909bce9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_controller_extender_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -567,107 +567,96 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: FortiExtender extender profile configuration. - fortios_extender_controller_extender_profile: - vdom: "{{ vdom }}" +- name: FortiExtender extender profile configuration. + fortinet.fortios.fortios_extender_controller_extender_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" extender_controller_extender_profile: - allowaccess: "ping" - bandwidth_limit: "1024" - cellular: - controller_report: - interval: "300" - signal_threshold: "10" - status: "disable" - dataplan: - - - name: "default_name_11 (source extender-controller.dataplan.name)" - modem1: - auto_switch: - dataplan: "disable" - disconnect: "disable" - disconnect_period: "600" - disconnect_threshold: "3" - signal: "disable" - switch_back: "time" - switch_back_time: "" - switch_back_timer: "86400" - conn_status: "0" - default_sim: "sim1" - gps: "disable" - preferred_carrier: "" - redundant_intf: "" - redundant_mode: "disable" - sim1_pin: "disable" - sim1_pin_code: "" - sim2_pin: "disable" - sim2_pin_code: "" - modem2: - auto_switch: - dataplan: "disable" - disconnect: "disable" - disconnect_period: "600" - disconnect_threshold: "3" - signal: "disable" - switch_back: "time" - switch_back_time: "" - switch_back_timer: "86400" - conn_status: "0" - default_sim: "sim1" - gps: "disable" - preferred_carrier: "" - redundant_intf: "" - redundant_mode: "disable" - sim1_pin: "disable" - sim1_pin_code: "" - sim2_pin: "disable" - sim2_pin_code: "" - sms_notification: - alert: - data_exhausted: "" - fgt_backup_mode_switch: "" - low_signal_strength: "" - mode_switch: "" - os_image_fallback: "" - session_disconnect: "" - system_reboot: "" - receiver: - - - alert: "system-reboot" - name: "default_name_63" - phone_number: "" - status: "disable" - status: "disable" - enforce_bandwidth: "enable" - extension: "wan-extension" - id: "69" - lan_extension: - backhaul: - - - name: "default_name_72" - port: "wan" - role: "primary" - weight: "1" - backhaul_interface: " (source system.interface.name)" - backhaul_ip: "" - ipsec_tunnel: "" - link_loadbalance: "activebackup" - login_password: "" - login_password_change: "yes" - model: "FX201E" - name: "default_name_83" - + allowaccess: "ping" + bandwidth_limit: "1024" + cellular: + controller_report: + interval: "300" + signal_threshold: "10" + status: "disable" + dataplan: + - + name: "default_name_11 (source extender-controller.dataplan.name)" + modem1: + auto_switch: + dataplan: "disable" + disconnect: "disable" + disconnect_period: "600" + disconnect_threshold: "3" + signal: "disable" + switch_back: "time" + switch_back_time: "" + switch_back_timer: "86400" + conn_status: "0" + default_sim: "sim1" + gps: "disable" + preferred_carrier: "" + redundant_intf: "" + redundant_mode: "disable" + sim1_pin: "disable" + sim1_pin_code: "" + sim2_pin: "disable" + sim2_pin_code: "" + modem2: + auto_switch: + dataplan: "disable" + disconnect: "disable" + disconnect_period: "600" + disconnect_threshold: "3" + signal: "disable" + switch_back: "time" + switch_back_time: "" + switch_back_timer: "86400" + conn_status: "0" + default_sim: "sim1" + gps: "disable" + preferred_carrier: "" + redundant_intf: "" + redundant_mode: "disable" + sim1_pin: "disable" + sim1_pin_code: "" + sim2_pin: "disable" + sim2_pin_code: "" + sms_notification: + alert: + data_exhausted: "" + fgt_backup_mode_switch: "" + low_signal_strength: "" + mode_switch: "" + os_image_fallback: "" + session_disconnect: "" + system_reboot: "" + receiver: + - + alert: "system-reboot" + name: "default_name_63" + phone_number: "" + status: "disable" + status: "disable" + enforce_bandwidth: "enable" + extension: "wan-extension" + id: "69" + lan_extension: + backhaul: + - + name: "default_name_72" + port: "wan" + role: "primary" + weight: "1" + backhaul_interface: " (source system.interface.name)" + backhaul_ip: "" + ipsec_tunnel: "" + link_loadbalance: "activebackup" + login_password: "" + login_password_change: "yes" + model: "FX201E" + name: "default_name_83" """ RETURN = """ @@ -726,7 +715,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -866,7 +854,6 @@ def is_successful_status(resp): def fortios_extender_controller(data, fos): - fos.do_member_operation("extender-controller", "extender-profile") if data["extender_controller_extender_profile"]: resp = extender_controller_extender_profile(data, fos) @@ -888,574 +875,67 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "required": True}, + "id": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "integer"}, "model": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "FX201E", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX211E", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX200F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FXA11F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FXE11F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FXA21F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FXE21F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FXA22F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FXE22F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX212F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX311F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX312F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX511F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FVG21F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FVA21F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FVG22F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FVA22F", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX04DA", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "FX04DN", - "revisions": { - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - }, - { - "value": "FX04DI", - "revisions": { - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - }, + {"value": "FX201E"}, + {"value": "FX211E"}, + {"value": "FX200F"}, + {"value": "FXA11F"}, + {"value": "FXE11F"}, + {"value": "FXA21F"}, + {"value": "FXE21F"}, + {"value": "FXA22F"}, + {"value": "FXE22F"}, + {"value": "FX212F"}, + {"value": "FX311F"}, + {"value": "FX312F"}, + {"value": "FX511F"}, + {"value": "FVG21F"}, + {"value": "FVA21F"}, + {"value": "FVG22F"}, + {"value": "FVA22F"}, + {"value": "FX04DA"}, + {"value": "FX04DN", "v_range": [["v7.0.8", "v7.0.12"]]}, + {"value": "FX04DI", "v_range": [["v7.0.8", "v7.0.12"]]}, ], }, "extension": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "wan-extension", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "lan-extension", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "wan-extension"}, {"value": "lan-extension"}], }, "allowaccess": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "ping"}, + {"value": "telnet"}, + {"value": "http"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, ], "multiple_values": True, "elements": "str", }, "login_password_change": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "login_password": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", + "options": [{"value": "yes"}, {"value": "default"}, {"value": "no"}], }, + "login_password": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "string"}, "enforce_bandwidth": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "bandwidth_limit": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "bandwidth_limit": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "integer"}, "cellular": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "dataplan": { @@ -1463,269 +943,71 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], }, "controller_report": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "interval": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, "signal_threshold": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, }, }, "sms_notification": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "alert": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "system_reboot": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "data_exhausted": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "session_disconnect": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "low_signal_strength": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "os_image_fallback": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "mode_switch": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "fgt_backup_mode_switch": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, }, @@ -1735,730 +1017,145 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "phone_number": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "alert": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "list", "options": [ - { - "value": "system-reboot", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "data-exhausted", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "session-disconnect", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "low-signal-strength", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mode-switch", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "os-image-fallback", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fgt-backup-mode-switch", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "system-reboot"}, + {"value": "data-exhausted"}, + {"value": "session-disconnect"}, + {"value": "low-signal-strength"}, + {"value": "mode-switch"}, + {"value": "os-image-fallback"}, + {"value": "fgt-backup-mode-switch"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], }, }, }, "modem1": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "redundant_mode": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "redundant_intf": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "conn_status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "default_sim": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "sim1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "carrier", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "cost", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "sim1"}, + {"value": "sim2"}, + {"value": "carrier"}, + {"value": "cost"}, ], }, "gps": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim2_pin": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin_code": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "sim2_pin_code": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "preferred_carrier": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "auto_switch": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "disconnect": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "disconnect_threshold": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, "disconnect_period": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, "signal": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "dataplan": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "switch_back": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "list", - "options": [ - { - "value": "time", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "timer", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "time"}, {"value": "timer"}], "multiple_values": True, "elements": "str", }, "switch_back_time": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "switch_back_timer": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, }, @@ -2466,540 +1163,108 @@ versioned_schema = { }, }, "modem2": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "redundant_mode": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "redundant_intf": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "conn_status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "default_sim": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "sim1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "carrier", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "cost", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "sim1"}, + {"value": "sim2"}, + {"value": "carrier"}, + {"value": "cost"}, ], }, "gps": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim2_pin": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin_code": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "sim2_pin_code": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "preferred_carrier": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "auto_switch": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "disconnect": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "disconnect_threshold": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, "disconnect_period": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, "signal": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "dataplan": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "switch_back": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "list", - "options": [ - { - "value": "time", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "timer", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "time"}, {"value": "timer"}], "multiple_values": True, "elements": "str", }, "switch_back_time": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, "switch_back_timer": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, }, @@ -3009,327 +1274,60 @@ versioned_schema = { }, }, "lan_extension": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "dict", "children": { "link_loadbalance": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "options": [ - { - "value": "activebackup", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "loadbalance", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "ipsec_tunnel": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", + "options": [{"value": "activebackup"}, {"value": "loadbalance"}], }, + "ipsec_tunnel": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "string"}, "backhaul_interface": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "backhaul_ip": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", }, + "backhaul_ip": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "string"}, "backhaul": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "required": True, }, "port": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", "options": [ - { - "value": "wan", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "lte1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "lte2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "port1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "port2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "port3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "port4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "port5", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "sfp", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "wan"}, + {"value": "lte1"}, + {"value": "lte2"}, + {"value": "port1"}, + {"value": "port2"}, + {"value": "port3"}, + {"value": "port4"}, + {"value": "port5"}, + {"value": "sfp"}, ], }, "role": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "primary", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "primary"}, {"value": "secondary"}], }, "weight": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], }, }, }, }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", "v7.2.0"]], } @@ -3366,6 +1364,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_extender_info.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_extender_info.py index 77a99402c..8da3dfa1f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_extender_info.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_extender_info.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display FortiExtender struct information. - fortios_extender_extender_info: - vdom: "{{ vdom }}" +- name: Display FortiExtender struct information. + fortinet.fortios.fortios_extender_extender_info: + vdom: "{{ vdom }}" extender_extender_info: - sn: " (source extender-controller.extender.id)" - + sn: " (source extender-controller.extender.id)" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,7 +223,6 @@ def valid_attr_to_invalid_attrs(data): def extender_extender_info(data, fos, check_mode=False): - vdom = data["vdom"] extender_extender_info_data = data["extender_extender_info"] filtered_data = underscore_to_hyphen( @@ -259,13 +246,12 @@ def is_successful_status(resp): def fortios_extender(data, fos, check_mode): - fos.do_member_operation("extender", "extender-info") if data["extender_extender_info"]: resp = extender_extender_info(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("extender_extender_info")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -277,31 +263,15 @@ def fortios_extender(data, fos, check_mode): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "sn": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -340,6 +310,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_by_mcc_mnc.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_by_mcc_mnc.py index db6673528..1e8c76755 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_by_mcc_mnc.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_by_mcc_mnc.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display FortiExtender modem carrier based on MCC and MNC. - fortios_extender_lte_carrier_by_mcc_mnc: - vdom: "{{ vdom }}" +- name: Display FortiExtender modem carrier based on MCC and MNC. + fortinet.fortios.fortios_extender_lte_carrier_by_mcc_mnc: + vdom: "{{ vdom }}" extender_lte_carrier_by_mcc_mnc: - sn: " (source extender-controller.extender.id)" - + sn: " (source extender-controller.extender.id)" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -260,7 +248,6 @@ def is_successful_status(resp): def fortios_extender(data, fos): - fos.do_member_operation("extender", "lte-carrier-by-mcc-mnc") if data["extender_lte_carrier_by_mcc_mnc"]: resp = extender_lte_carrier_by_mcc_mnc(data, fos) @@ -279,31 +266,15 @@ def fortios_extender(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "sn": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -342,6 +313,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_list.py index aad8a9c01..e147cad46 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_lte_carrier_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display FortiExtender modem carrier list. - fortios_extender_lte_carrier_list: - vdom: "{{ vdom }}" +- name: Display FortiExtender modem carrier list. + fortinet.fortios.fortios_extender_lte_carrier_list: + vdom: "{{ vdom }}" extender_lte_carrier_list: - sn: " (source extender-controller.extender.id)" - + sn: " (source extender-controller.extender.id)" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_extender(data, fos): - fos.do_member_operation("extender", "lte-carrier-list") if data["extender_lte_carrier_list"]: resp = extender_lte_carrier_list(data, fos) @@ -277,31 +264,15 @@ def fortios_extender(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "sn": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -340,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_modem_status.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_modem_status.py index f986583dd..a1cf6646b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_modem_status.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_modem_status.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display detailed FortiExtender modem status. - fortios_extender_modem_status: - vdom: "{{ vdom }}" +- name: Display detailed FortiExtender modem status. + fortinet.fortios.fortios_extender_modem_status: + vdom: "{{ vdom }}" extender_modem_status: - sn: " (source extender-controller.extender.id)" - + sn: " (source extender-controller.extender.id)" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_extender(data, fos): - fos.do_member_operation("extender", "modem-status") if data["extender_modem_status"]: resp = extender_modem_status(data, fos) @@ -275,39 +262,15 @@ def fortios_extender(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "sn": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -346,6 +309,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_sys_info.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_sys_info.py index 3ead709a5..a9a4b3d71 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_sys_info.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extender_sys_info.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display detailed FortiExtender system information. - fortios_extender_sys_info: - vdom: "{{ vdom }}" +- name: Display detailed FortiExtender system information. + fortinet.fortios.fortios_extender_sys_info: + vdom: "{{ vdom }}" extender_sys_info: - sn: " (source extender-controller.extender.id)" - + sn: " (source extender-controller.extender.id)" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,7 +223,6 @@ def valid_attr_to_invalid_attrs(data): def extender_sys_info(data, fos, check_mode=False): - vdom = data["vdom"] extender_sys_info_data = data["extender_sys_info"] filtered_data = underscore_to_hyphen( @@ -259,13 +246,12 @@ def is_successful_status(resp): def fortios_extender(data, fos, check_mode): - fos.do_member_operation("extender", "sys-info") if data["extender_sys_info"]: resp = extender_sys_info(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("extender_sys_info")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -277,39 +263,15 @@ def fortios_extender(data, fos, check_mode): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "sn": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -346,6 +308,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_dataplan.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_dataplan.py index ee1add849..ec0e256d8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_dataplan.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_dataplan.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -194,42 +194,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: FortiExtender dataplan configuration. - fortios_extension_controller_dataplan: - vdom: "{{ vdom }}" +- name: FortiExtender dataplan configuration. + fortinet.fortios.fortios_extension_controller_dataplan: + vdom: "{{ vdom }}" state: "present" access_token: "" extension_controller_dataplan: - apn: "" - auth_type: "none" - billing_date: "1" - capacity: "0" - carrier: "" - iccid: "" - modem_id: "modem1" - monthly_fee: "0" - name: "default_name_11" - overage: "disable" - password: "" - pdn: "ipv4-only" - preferred_subnet: "0" - private_network: "disable" - signal_period: "3600" - signal_threshold: "100" - slot: "sim1" - type: "carrier" - username: "" - + apn: "" + auth_type: "none" + billing_date: "1" + capacity: "0" + carrier: "" + iccid: "" + modem_id: "modem1" + monthly_fee: "0" + name: "default_name_11" + overage: "disable" + password: "" + pdn: "ipv4-only" + preferred_subnet: "0" + private_network: "disable" + signal_period: "3600" + signal_threshold: "100" + slot: "sim1" + type: "carrier" + username: "" """ RETURN = """ @@ -288,7 +277,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -394,7 +382,6 @@ def is_successful_status(resp): def fortios_extension_controller(data, fos): - fos.do_member_operation("extension-controller", "dataplan") if data["extension_controller_dataplan"]: resp = extension_controller_dataplan(data, fos) @@ -416,365 +403,64 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.2.1", ""]], "type": "string", "required": True}, "modem_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "modem1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "modem2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "modem1"}, {"value": "modem2"}, {"value": "all"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "carrier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "slot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "iccid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "generic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "carrier"}, + {"value": "slot"}, + {"value": "iccid"}, + {"value": "generic"}, ], }, "slot": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "options": [ - { - "value": "sim1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "iccid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "carrier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "apn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "sim1"}, {"value": "sim2"}], }, + "iccid": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "carrier": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "apn": {"v_range": [["v7.2.1", ""]], "type": "string"}, "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "pap"}, {"value": "chap"}], }, + "username": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "password": {"v_range": [["v7.2.1", ""]], "type": "string"}, "pdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "ipv4-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ipv6-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ipv4-ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "ipv4-only"}, + {"value": "ipv6-only"}, + {"value": "ipv4-ipv6"}, ], }, - "signal_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, - "signal_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, - "capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, - "monthly_fee": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, - "billing_date": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, + "signal_threshold": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "signal_period": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "capacity": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "monthly_fee": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "billing_date": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "overage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "preferred_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "preferred_subnet": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "private_network": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.2.2": True, "v7.2.1": True}, + "v_range": [["v7.2.1", ""]], } @@ -811,6 +497,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender.py index 1eb533ec8..896e7475d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -207,43 +207,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Extender controller configuration. - fortios_extension_controller_extender: - vdom: "{{ vdom }}" +- name: Extender controller configuration. + fortinet.fortios.fortios_extension_controller_extender: + vdom: "{{ vdom }}" state: "present" access_token: "" extension_controller_extender: - allowaccess: "ping" - authorized: "discovered" - bandwidth_limit: "1024" - description: "" - device_id: "1024" - enforce_bandwidth: "enable" - ext_name: "" - extension_type: "wan-extension" - firmware_provision_latest: "disable" - id: "12" - login_password: "" - login_password_change: "yes" - name: "default_name_15" - override_allowaccess: "enable" - override_enforce_bandwidth: "enable" - override_login_password_change: "enable" - profile: " (source extension-controller.extender-profile.name)" - wan_extension: - modem1_extension: " (source system.interface.name)" - modem2_extension: " (source system.interface.name)" - + allowaccess: "ping" + authorized: "discovered" + bandwidth_limit: "1024" + description: "" + device_id: "128" + enforce_bandwidth: "enable" + ext_name: "" + extension_type: "wan-extension" + firmware_provision_latest: "disable" + id: "12" + login_password: "" + login_password_change: "yes" + name: "default_name_15" + override_allowaccess: "enable" + override_enforce_bandwidth: "enable" + override_login_password_change: "enable" + profile: " (source extension-controller.extender-profile.name)" + wan_extension: + modem1_extension: " (source system.interface.name)" + modem2_extension: " (source system.interface.name)" """ RETURN = """ @@ -302,7 +291,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -439,7 +427,6 @@ def is_successful_status(resp): def fortios_extension_controller(data, fos): - fos.do_member_operation("extension-controller", "extender") if data["extension_controller_extender"]: resp = extension_controller_extender(data, fos) @@ -461,427 +448,82 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.2.1", ""]], "type": "string", "required": True}, + "id": {"v_range": [["v7.2.1", ""]], "type": "string"}, "authorized": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "discovered", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "discovered", "v_range": [["v7.2.4", ""]]}, + {"value": "disable"}, + {"value": "enable"}, ], }, - "ext_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "device_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, + "ext_name": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "description": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "device_id": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "extension_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "options": [ - { - "value": "wan-extension", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "lan-extension", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "wan-extension"}, {"value": "lan-extension"}], }, + "profile": {"v_range": [["v7.2.1", ""]], "type": "string"}, "override_allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "ping"}, + {"value": "telnet"}, + {"value": "http"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, ], "multiple_values": True, "elements": "str", }, "override_login_password_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "login_password_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "login_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "yes"}, {"value": "default"}, {"value": "no"}], }, + "login_password": {"v_range": [["v7.2.1", ""]], "type": "string"}, "override_enforce_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "enforce_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "bandwidth_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "bandwidth_limit": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "wan_extension": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { - "modem1_extension": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "modem2_extension": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "modem1_extension": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "modem2_extension": {"v_range": [["v7.2.1", ""]], "type": "string"}, }, }, "firmware_provision_latest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "once", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "once"}], }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.2.2": True, "v7.2.1": True}, + "v_range": [["v7.2.1", ""]], } @@ -918,6 +560,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender_profile.py index eb2f9daea..b985cd29b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_extender_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -557,105 +557,94 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: FortiExtender extender profile configuration. - fortios_extension_controller_extender_profile: - vdom: "{{ vdom }}" +- name: FortiExtender extender profile configuration. + fortinet.fortios.fortios_extension_controller_extender_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" extension_controller_extender_profile: - allowaccess: "ping" - bandwidth_limit: "1024" - cellular: - controller_report: - interval: "300" - signal_threshold: "10" - status: "disable" - dataplan: - - - name: "default_name_11 (source extension-controller.dataplan.name)" - modem1: - auto_switch: - dataplan: "disable" - disconnect: "disable" - disconnect_period: "600" - disconnect_threshold: "3" - signal: "disable" - switch_back: "time" - switch_back_time: "" - switch_back_timer: "86400" - default_sim: "sim1" - gps: "disable" - preferred_carrier: "" - redundant_intf: "" - redundant_mode: "disable" - sim1_pin: "disable" - sim1_pin_code: "" - sim2_pin: "disable" - sim2_pin_code: "" - modem2: - auto_switch: - dataplan: "disable" - disconnect: "disable" - disconnect_period: "600" - disconnect_threshold: "3" - signal: "disable" - switch_back: "time" - switch_back_time: "" - switch_back_timer: "86400" - default_sim: "sim1" - gps: "disable" - preferred_carrier: "" - redundant_intf: "" - redundant_mode: "disable" - sim1_pin: "disable" - sim1_pin_code: "" - sim2_pin: "disable" - sim2_pin_code: "" - sms_notification: - alert: - data_exhausted: "" - fgt_backup_mode_switch: "" - low_signal_strength: "" - mode_switch: "" - os_image_fallback: "" - session_disconnect: "" - system_reboot: "" - receiver: - - - alert: "system-reboot" - name: "default_name_61" - phone_number: "" - status: "disable" - status: "disable" - enforce_bandwidth: "enable" - extension: "wan-extension" - id: "67" - lan_extension: - backhaul: - - - name: "default_name_70" - port: "wan" - role: "primary" - weight: "1" - backhaul_interface: " (source system.interface.name)" - backhaul_ip: "" - ipsec_tunnel: "" - link_loadbalance: "activebackup" - login_password: "" - login_password_change: "yes" - model: "FX201E" - name: "default_name_81" - + allowaccess: "ping" + bandwidth_limit: "1024" + cellular: + controller_report: + interval: "300" + signal_threshold: "10" + status: "disable" + dataplan: + - + name: "default_name_11 (source extension-controller.dataplan.name)" + modem1: + auto_switch: + dataplan: "disable" + disconnect: "disable" + disconnect_period: "600" + disconnect_threshold: "3" + signal: "disable" + switch_back: "time" + switch_back_time: "" + switch_back_timer: "86400" + default_sim: "sim1" + gps: "disable" + preferred_carrier: "" + redundant_intf: "" + redundant_mode: "disable" + sim1_pin: "disable" + sim1_pin_code: "" + sim2_pin: "disable" + sim2_pin_code: "" + modem2: + auto_switch: + dataplan: "disable" + disconnect: "disable" + disconnect_period: "600" + disconnect_threshold: "3" + signal: "disable" + switch_back: "time" + switch_back_time: "" + switch_back_timer: "86400" + default_sim: "sim1" + gps: "disable" + preferred_carrier: "" + redundant_intf: "" + redundant_mode: "disable" + sim1_pin: "disable" + sim1_pin_code: "" + sim2_pin: "disable" + sim2_pin_code: "" + sms_notification: + alert: + data_exhausted: "" + fgt_backup_mode_switch: "" + low_signal_strength: "" + mode_switch: "" + os_image_fallback: "" + session_disconnect: "" + system_reboot: "" + receiver: + - + alert: "system-reboot" + name: "default_name_61" + phone_number: "" + status: "disable" + status: "disable" + enforce_bandwidth: "enable" + extension: "wan-extension" + id: "67" + lan_extension: + backhaul: + - + name: "default_name_70" + port: "wan" + role: "primary" + weight: "1" + backhaul_interface: " (source system.interface.name)" + backhaul_ip: "" + ipsec_tunnel: "" + link_loadbalance: "activebackup" + login_password: "" + login_password_change: "yes" + model: "FX201E" + name: "default_name_81" """ RETURN = """ @@ -714,7 +703,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -854,7 +842,6 @@ def is_successful_status(resp): def fortios_extension_controller(data, fos): - fos.do_member_operation("extension-controller", "extender-profile") if data["extension_controller_extender_profile"]: resp = extension_controller_extender_profile(data, fos) @@ -876,386 +863,65 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v7.2.1", ""]], "type": "string", "required": True}, + "id": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "model": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "FX201E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FX211E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FX200F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FXA11F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FXE11F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FXA21F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FXE21F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FXA22F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FXE22F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FX212F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FX311F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FX312F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FX511F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FVG21F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FVA21F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FVG22F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FVA22F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "FX04DA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "FX201E"}, + {"value": "FX211E"}, + {"value": "FX200F"}, + {"value": "FXA11F"}, + {"value": "FXE11F"}, + {"value": "FXA21F"}, + {"value": "FXE21F"}, + {"value": "FXA22F"}, + {"value": "FXE22F"}, + {"value": "FX212F"}, + {"value": "FX311F"}, + {"value": "FX312F"}, + {"value": "FX511F"}, + {"value": "FVG21F"}, + {"value": "FVA21F"}, + {"value": "FVG22F"}, + {"value": "FVA22F"}, + {"value": "FX04DA"}, ], }, "extension": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "wan-extension", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "lan-extension", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "wan-extension"}, {"value": "lan-extension"}], }, "allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "ping"}, + {"value": "telnet"}, + {"value": "http"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, ], "multiple_values": True, "elements": "str", }, "login_password_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "login_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "yes"}, {"value": "default"}, {"value": "no"}], }, + "login_password": {"v_range": [["v7.2.1", ""]], "type": "string"}, "enforce_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "bandwidth_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "bandwidth_limit": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "cellular": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "dataplan": { @@ -1263,189 +929,68 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, "controller_report": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "interval": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "signal_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, }, }, "sms_notification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "alert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "system_reboot": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "data_exhausted": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "session_disconnect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "low_signal_strength": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "os_image_fallback": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "mode_switch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "fgt_backup_mode_switch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, }, @@ -1455,508 +1000,141 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "phone_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "alert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "list", "options": [ - { - "value": "system-reboot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "data-exhausted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "session-disconnect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "low-signal-strength", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "mode-switch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "os-image-fallback", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "fgt-backup-mode-switch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "system-reboot"}, + {"value": "data-exhausted"}, + {"value": "session-disconnect"}, + {"value": "low-signal-strength"}, + {"value": "mode-switch"}, + {"value": "os-image-fallback"}, + {"value": "fgt-backup-mode-switch"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, }, }, "modem1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "redundant_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "redundant_intf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "default_sim": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "sim1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "carrier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "cost", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "sim1"}, + {"value": "sim2"}, + {"value": "carrier"}, + {"value": "cost"}, ], }, "gps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim2_pin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin_code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "sim2_pin_code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "preferred_carrier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "auto_switch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "disconnect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "disconnect_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, "disconnect_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, "signal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "dataplan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "switch_back": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "list", - "options": [ - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "timer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "time"}, {"value": "timer"}], "multiple_values": True, "elements": "str", }, "switch_back_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "switch_back_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, }, @@ -1964,374 +1142,104 @@ versioned_schema = { }, }, "modem2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "redundant_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "redundant_intf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "default_sim": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "sim1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "sim2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "carrier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "cost", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "sim1"}, + {"value": "sim2"}, + {"value": "carrier"}, + {"value": "cost"}, ], }, "gps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim2_pin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sim1_pin_code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "sim2_pin_code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "preferred_carrier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "auto_switch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "disconnect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "disconnect_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, "disconnect_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, "signal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "dataplan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, ], }, "switch_back": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "list", - "options": [ - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "timer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "time"}, {"value": "timer"}], "multiple_values": True, "elements": "str", }, "switch_back_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "switch_back_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, }, @@ -2341,226 +1249,54 @@ versioned_schema = { }, }, "lan_extension": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "link_loadbalance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "options": [ - { - "value": "activebackup", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "loadbalance", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "ipsec_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "backhaul_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "backhaul_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "activebackup"}, {"value": "loadbalance"}], }, + "ipsec_tunnel": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "backhaul_interface": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "backhaul_ip": {"v_range": [["v7.2.1", ""]], "type": "string"}, "backhaul": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, }, "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "lte1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "lte2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "port1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "port2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "port3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "port4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "port5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "sfp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "wan"}, + {"value": "lte1"}, + {"value": "lte2"}, + {"value": "port1"}, + {"value": "port2"}, + {"value": "port3"}, + {"value": "port4"}, + {"value": "port5"}, + {"value": "sfp"}, ], }, "role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "primary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", + "options": [{"value": "primary"}, {"value": "secondary"}], }, + "weight": {"v_range": [["v7.2.1", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, }, }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.2.2": True, "v7.2.1": True}, + "v_range": [["v7.2.1", ""]], } @@ -2597,6 +1333,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate.py index d995fd1e5..8fe5a4f6c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -124,30 +124,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: FortiGate controller configuration. - fortios_extension_controller_fortigate: - vdom: "{{ vdom }}" +- name: FortiGate controller configuration. + fortinet.fortios.fortios_extension_controller_fortigate: + vdom: "{{ vdom }}" state: "present" access_token: "" extension_controller_fortigate: - authorized: "discovered" - description: "" - device_id: "1024" - hostname: "myhostname" - id: "7" - name: "default_name_8" - profile: " (source extension-controller.fortigate-profile.name)" - + authorized: "discovered" + description: "" + device_id: "128" + hostname: "myhostname" + id: "7" + name: "default_name_8" + profile: " (source extension-controller.fortigate-profile.name)" """ RETURN = """ @@ -206,7 +195,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -300,7 +288,6 @@ def is_successful_status(resp): def fortios_extension_controller(data, fos): - fos.do_member_operation("extension-controller", "fortigate") if data["extension_controller_fortigate"]: resp = extension_controller_fortigate(data, fos) @@ -322,101 +309,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.2.1", ""]], "type": "string", "required": True}, + "id": {"v_range": [["v7.2.1", ""]], "type": "string"}, "authorized": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "discovered", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "discovered", "v_range": [["v7.2.4", ""]]}, + {"value": "disable"}, + {"value": "enable"}, ], }, - "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "device_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, - "profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "hostname": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "description": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "device_id": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "profile": {"v_range": [["v7.2.1", ""]], "type": "string"}, }, - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.2.2": True, "v7.2.1": True}, + "v_range": [["v7.2.1", ""]], } @@ -453,6 +362,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate_profile.py index 6539d7e03..68867a07c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_extension_controller_fortigate_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,29 +117,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: FortiGate connector profile configuration. - fortios_extension_controller_fortigate_profile: - vdom: "{{ vdom }}" +- name: FortiGate connector profile configuration. + fortinet.fortios.fortios_extension_controller_fortigate_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" extension_controller_fortigate_profile: - id: "3" - lan_extension: - backhaul_interface: " (source system.interface.name)" - backhaul_ip: "" - ipsec_tunnel: "" - name: "default_name_8" - + id: "3" + lan_extension: + backhaul_interface: " (source system.interface.name)" + backhaul_ip: "" + ipsec_tunnel: "" + name: "default_name_8" """ RETURN = """ @@ -198,7 +187,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -291,7 +279,6 @@ def is_successful_status(resp): def fortios_extension_controller(data, fos): - fos.do_member_operation("extension-controller", "fortigate-profile") if data["extension_controller_fortigate_profile"]: resp = extension_controller_fortigate_profile(data, fos) @@ -313,65 +300,19 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v7.2.1", ""]], "type": "string", "required": True}, + "id": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "lan_extension": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { - "ipsec_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "backhaul_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "backhaul_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "ipsec_tunnel": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "backhaul_interface": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "backhaul_ip": {"v_range": [["v7.2.1", ""]], "type": "string"}, }, }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.2.2": True, "v7.2.1": True}, + "v_range": [["v7.2.1", ""]], } @@ -408,6 +349,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_file_filter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_file_filter_profile.py index 46da02182..accdb5951 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_file_filter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_file_filter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -194,41 +194,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure file-filter profiles. - fortios_file_filter_profile: - vdom: "{{ vdom }}" +- name: Configure file-filter profiles. + fortinet.fortios.fortios_file_filter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" file_filter_profile: - comment: "Comment." - extended_log: "disable" - feature_set: "flow" - log: "disable" - name: "default_name_7" - replacemsg_group: " (source system.replacemsg-group.name)" - rules: - - - action: "log-only" - comment: "Comment." - direction: "incoming" - file_type: - - - name: "default_name_14 (source antivirus.filetype.name)" - name: "default_name_15" - password_protected: "yes" - protocol: "http" - scan_archive_contents: "disable" - + comment: "Comment." + extended_log: "disable" + feature_set: "flow" + log: "disable" + name: "default_name_7" + replacemsg_group: " (source system.replacemsg-group.name)" + rules: + - + action: "log-only" + comment: "Comment." + direction: "incoming" + file_type: + - + name: "default_name_14 (source antivirus.filetype.name)" + name: "default_name_15" + password_protected: "yes" + protocol: "http" + scan_archive_contents: "disable" """ RETURN = """ @@ -287,7 +276,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -315,6 +303,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_file_filter_profile_data(json): @@ -382,7 +373,6 @@ def underscore_to_hyphen(data): def file_filter_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -419,11 +409,16 @@ def file_filter_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -473,13 +468,12 @@ def is_successful_status(resp): def fortios_file_filter(data, fos, check_mode): - fos.do_member_operation("file-filter", "profile") if data["file_filter_profile"]: resp = file_filter_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("file_filter_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -494,909 +488,91 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.4.0", ""]], "type": "string"}, "feature_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "flow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "flow"}, {"value": "proxy"}], }, + "replacemsg_group": {"v_range": [["v6.4.0", ""]], "type": "string"}, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "scan_archive_contents": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "comment": {"v_range": [["v6.4.0", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "smtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "imap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "pop3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "mapi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "cifs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "http"}, + {"value": "ftp"}, + {"value": "smtp"}, + {"value": "imap"}, + {"value": "pop3"}, + {"value": "mapi"}, + {"value": "cifs"}, + {"value": "ssh"}, ], "multiple_values": True, "elements": "str", }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "log-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "log-only"}, {"value": "block"}], }, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "incoming", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "outgoing", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "incoming"}, + {"value": "outgoing"}, + {"value": "any"}, ], }, "password_protected": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "yes"}, {"value": "any"}], }, "file_type": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -1431,6 +607,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy.py index 1013939c2..557851a75 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,6 +112,20 @@ options: - SaaS application name. required: true type: str + h2_support: + description: + - HTTP2 support, default=Enable. + type: str + choices: + - 'enable' + - 'disable' + h3_support: + description: + - HTTP3/QUIC support, default=Disable. + type: str + choices: + - 'enable' + - 'disable' http_cookie_age: description: - Time in minutes that client web browsers should keep a cookie. Default is 60 minutes. 0 = no time limit. @@ -152,7 +166,7 @@ options: - 'enable' id: description: - - API Gateway ID. + - API Gateway ID. see Notes. required: true type: int ldb_method: @@ -175,6 +189,49 @@ options: choices: - 'none' - 'http-cookie' + quic: + description: + - QUIC setting. + type: dict + suboptions: + ack_delay_exponent: + description: + - ACK delay exponent (1 - 20). + type: int + active_connection_id_limit: + description: + - Active connection ID limit (1 - 8). + type: int + active_migration: + description: + - Enable/disable active migration . + type: str + choices: + - 'enable' + - 'disable' + grease_quic_bit: + description: + - Enable/disable grease QUIC bit . + type: str + choices: + - 'enable' + - 'disable' + max_ack_delay: + description: + - Maximum ACK delay in milliseconds (1 - 16383). + type: int + max_datagram_frame_size: + description: + - Maximum datagram frame size in bytes (1 - 1500). + type: int + max_idle_timeout: + description: + - Maximum idle timeout milliseconds (1 - 60000). + type: int + max_udp_payload_size: + description: + - Maximum UDP payload size in bytes (1200 - 1500). + type: int realservers: description: - Select the real servers that this Access Proxy will distribute traffic to. @@ -232,7 +289,7 @@ options: type: str id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -419,7 +476,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -505,6 +562,20 @@ options: - SaaS application name. required: true type: str + h2_support: + description: + - HTTP2 support, default=Enable. + type: str + choices: + - 'enable' + - 'disable' + h3_support: + description: + - HTTP3/QUIC support, default=Disable. + type: str + choices: + - 'enable' + - 'disable' http_cookie_age: description: - Time in minutes that client web browsers should keep a cookie. Default is 60 minutes. 0 = no time limit. @@ -545,7 +616,7 @@ options: - 'enable' id: description: - - API Gateway ID. + - API Gateway ID. see Notes. required: true type: int ldb_method: @@ -566,6 +637,49 @@ options: choices: - 'none' - 'http-cookie' + quic: + description: + - QUIC setting. + type: dict + suboptions: + ack_delay_exponent: + description: + - ACK delay exponent (1 - 20). + type: int + active_connection_id_limit: + description: + - Active connection ID limit (1 - 8). + type: int + active_migration: + description: + - Enable/disable active migration . + type: str + choices: + - 'enable' + - 'disable' + grease_quic_bit: + description: + - Enable/disable grease QUIC bit . + type: str + choices: + - 'enable' + - 'disable' + max_ack_delay: + description: + - Maximum ACK delay in milliseconds (1 - 16383). + type: int + max_datagram_frame_size: + description: + - Maximum datagram frame size in bytes (1 - 1500). + type: int + max_idle_timeout: + description: + - Maximum idle timeout milliseconds (1 - 60000). + type: int + max_udp_payload_size: + description: + - Maximum UDP payload size in bytes (1200 - 1500). + type: int realservers: description: - Select the real servers that this Access Proxy will distribute traffic to. @@ -623,7 +737,7 @@ options: type: str id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -809,7 +923,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -946,7 +1060,7 @@ options: suboptions: id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -1064,6 +1178,10 @@ options: choices: - 'enable' - 'disable' + svr_pool_server_max_concurrent_request: + description: + - Maximum number of concurrent requests that servers in server pool could handle . + type: int svr_pool_server_max_request: description: - Maximum number of requests that servers in server pool handle before disconnecting . @@ -1086,172 +1204,184 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 access proxy. - fortios_firewall_access_proxy: - vdom: "{{ vdom }}" +- name: Configure IPv4 access proxy. + fortinet.fortios.fortios_firewall_access_proxy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_access_proxy: - add_vhost_domain_to_dnsdb: "enable" - api_gateway: - - - application: - - - name: "default_name_6" - http_cookie_age: "60" - http_cookie_domain: "" - http_cookie_domain_from_host: "disable" - http_cookie_generation: "0" - http_cookie_path: "" - http_cookie_share: "disable" - https_cookie_secure: "disable" - id: "14" - ldb_method: "static" - persistence: "none" - realservers: - - - addr_type: "ip" - address: " (source firewall.address.name firewall.addrgrp.name)" - domain: "" - external_auth: "enable" - health_check: "disable" - health_check_proto: "ping" - holddown_interval: "enable" - http_host: "myhostname" - id: "26" - ip: "" - mappedport: "" - port: "443" - ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" - ssh_host_key: - - - name: "default_name_32 (source firewall.ssh.host-key.name)" - ssh_host_key_validation: "disable" - status: "active" - translate_host: "enable" - tunnel_encryption: "enable" - type: "tcp-forwarding" - weight: "1" - saml_redirect: "disable" - saml_server: " (source user.saml.name)" - service: "http" - ssl_algorithm: "high" - ssl_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "tls-1.0" - ssl_dh_bits: "768" - ssl_max_version: "tls-1.0" - ssl_min_version: "tls-1.0" - ssl_renegotiation: "enable" - ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" - url_map: "" - url_map_type: "sub-string" - virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" - api_gateway6: - - - application: - - - name: "default_name_57" - http_cookie_age: "60" - http_cookie_domain: "" - http_cookie_domain_from_host: "disable" - http_cookie_generation: "0" - http_cookie_path: "" - http_cookie_share: "disable" - https_cookie_secure: "disable" - id: "65" - ldb_method: "static" - persistence: "none" - realservers: - - - addr_type: "ip" - address: " (source firewall.address6.name firewall.addrgrp6.name)" - domain: "" - external_auth: "enable" - health_check: "disable" - health_check_proto: "ping" - holddown_interval: "enable" - http_host: "myhostname" - id: "77" - ip: "" - mappedport: "" - port: "443" - ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" - ssh_host_key: - - - name: "default_name_83 (source firewall.ssh.host-key.name)" - ssh_host_key_validation: "disable" - status: "active" - translate_host: "enable" - tunnel_encryption: "enable" - type: "tcp-forwarding" - weight: "1" - saml_redirect: "disable" - saml_server: " (source user.saml.name)" - service: "http" - ssl_algorithm: "high" - ssl_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "tls-1.0" - ssl_dh_bits: "768" - ssl_max_version: "tls-1.0" - ssl_min_version: "tls-1.0" - ssl_renegotiation: "enable" - ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" - url_map: "" - url_map_type: "sub-string" - virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" - auth_portal: "disable" - auth_virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" - client_cert: "disable" - decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" - empty_cert_action: "accept" - http_supported_max_version: "http1" - ldb_method: "static" - log_blocked_traffic: "enable" - name: "default_name_114" - realservers: - - - id: "116" - ip: "" - port: "0" - status: "active" - weight: "1" - server_pubkey_auth: "disable" - server_pubkey_auth_settings: - auth_ca: " (source firewall.ssh.local-ca.name)" - cert_extension: - - - critical: "no" - data: "" - name: "default_name_127" - type: "fixed" - permit_agent_forwarding: "enable" - permit_port_forwarding: "enable" - permit_pty: "enable" - permit_user_rc: "enable" - permit_x11_forwarding: "enable" - source_address: "enable" - svr_pool_multiplex: "enable" - svr_pool_server_max_request: "0" - svr_pool_ttl: "15" - user_agent_detect: "disable" - vip: " (source firewall.vip.name)" - + add_vhost_domain_to_dnsdb: "enable" + api_gateway: + - + application: + - + name: "default_name_6" + h2_support: "enable" + h3_support: "enable" + http_cookie_age: "60" + http_cookie_domain: "" + http_cookie_domain_from_host: "disable" + http_cookie_generation: "0" + http_cookie_path: "" + http_cookie_share: "disable" + https_cookie_secure: "disable" + id: "16" + ldb_method: "static" + persistence: "none" + quic: + ack_delay_exponent: "3" + active_connection_id_limit: "2" + active_migration: "enable" + grease_quic_bit: "enable" + max_ack_delay: "25" + max_datagram_frame_size: "1500" + max_idle_timeout: "30000" + max_udp_payload_size: "1500" + realservers: + - + addr_type: "ip" + address: " (source firewall.address.name firewall.addrgrp.name)" + domain: "" + external_auth: "enable" + health_check: "disable" + health_check_proto: "ping" + holddown_interval: "enable" + http_host: "myhostname" + id: "37" + ip: "" + mappedport: "" + port: "443" + ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" + ssh_host_key: + - + name: "default_name_43 (source firewall.ssh.host-key.name)" + ssh_host_key_validation: "disable" + status: "active" + translate_host: "enable" + tunnel_encryption: "enable" + type: "tcp-forwarding" + weight: "1" + saml_redirect: "disable" + saml_server: " (source user.saml.name)" + service: "http" + ssl_algorithm: "high" + ssl_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "tls-1.0" + ssl_dh_bits: "768" + ssl_max_version: "tls-1.0" + ssl_min_version: "tls-1.0" + ssl_renegotiation: "enable" + ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" + url_map: "" + url_map_type: "sub-string" + virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" + api_gateway6: + - + application: + - + name: "default_name_68" + h2_support: "enable" + h3_support: "enable" + http_cookie_age: "60" + http_cookie_domain: "" + http_cookie_domain_from_host: "disable" + http_cookie_generation: "0" + http_cookie_path: "" + http_cookie_share: "disable" + https_cookie_secure: "disable" + id: "78" + ldb_method: "static" + persistence: "none" + quic: + ack_delay_exponent: "3" + active_connection_id_limit: "2" + active_migration: "enable" + grease_quic_bit: "enable" + max_ack_delay: "25" + max_datagram_frame_size: "1500" + max_idle_timeout: "30000" + max_udp_payload_size: "1500" + realservers: + - + addr_type: "ip" + address: " (source firewall.address6.name firewall.addrgrp6.name)" + domain: "" + external_auth: "enable" + health_check: "disable" + health_check_proto: "ping" + holddown_interval: "enable" + http_host: "myhostname" + id: "99" + ip: "" + mappedport: "" + port: "443" + ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" + ssh_host_key: + - + name: "default_name_105 (source firewall.ssh.host-key.name)" + ssh_host_key_validation: "disable" + status: "active" + translate_host: "enable" + tunnel_encryption: "enable" + type: "tcp-forwarding" + weight: "1" + saml_redirect: "disable" + saml_server: " (source user.saml.name)" + service: "http" + ssl_algorithm: "high" + ssl_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "tls-1.0" + ssl_dh_bits: "768" + ssl_max_version: "tls-1.0" + ssl_min_version: "tls-1.0" + ssl_renegotiation: "enable" + ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" + url_map: "" + url_map_type: "sub-string" + virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" + auth_portal: "disable" + auth_virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" + client_cert: "disable" + decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" + empty_cert_action: "accept" + http_supported_max_version: "http1" + ldb_method: "static" + log_blocked_traffic: "enable" + name: "default_name_136" + realservers: + - + id: "138" + ip: "" + port: "0" + status: "active" + weight: "1" + server_pubkey_auth: "disable" + server_pubkey_auth_settings: + auth_ca: " (source firewall.ssh.local-ca.name)" + cert_extension: + - + critical: "no" + data: "" + name: "default_name_149" + type: "fixed" + permit_agent_forwarding: "enable" + permit_port_forwarding: "enable" + permit_pty: "enable" + permit_user_rc: "enable" + permit_x11_forwarding: "enable" + source_address: "enable" + svr_pool_multiplex: "enable" + svr_pool_server_max_concurrent_request: "0" + svr_pool_server_max_request: "0" + svr_pool_ttl: "15" + user_agent_detect: "disable" + vip: " (source firewall.vip.name)" """ RETURN = """ @@ -1310,7 +1440,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1352,6 +1481,7 @@ def filter_firewall_access_proxy_data(json): "server_pubkey_auth", "server_pubkey_auth_settings", "svr_pool_multiplex", + "svr_pool_server_max_concurrent_request", "svr_pool_server_max_request", "svr_pool_ttl", "user_agent_detect", @@ -1448,7 +1578,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "access-proxy") if data["firewall_access_proxy"]: resp = firewall_access_proxy(data, fos) @@ -1468,2262 +1597,308 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "vip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "vip": {"v_range": [["v7.0.0", ""]], "type": "string"}, "client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "user_agent_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "auth_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], - }, - "auth_virtual_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "auth_virtual_host": {"v_range": [["v7.0.4", ""]], "type": "string"}, "empty_cert_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "accept-unmanageable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, + {"value": "accept"}, + {"value": "block"}, + {"value": "accept-unmanageable", "v_range": [["v7.2.1", ""]]}, ], }, "log_blocked_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "add_vhost_domain_to_dnsdb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "http_supported_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - {"value": "http1", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "http2", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "svr_pool_multiplex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "svr_pool_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "svr_pool_server_max_request": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "svr_pool_ttl": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "svr_pool_server_max_request": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "svr_pool_server_max_concurrent_request": { + "v_range": [["v7.4.1", ""]], "type": "integer", }, - "decrypted_traffic_mirror": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, + "decrypted_traffic_mirror": {"v_range": [["v7.0.2", ""]], "type": "string"}, "api_gateway": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, - "url_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "url_map": {"v_range": [["v7.0.0", ""]], "type": "string"}, "service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "samlsp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "web-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "saas", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, + {"value": "http"}, + {"value": "https"}, + {"value": "tcp-forwarding"}, + {"value": "samlsp"}, + {"value": "web-portal", "v_range": [["v7.0.4", ""]]}, + {"value": "saas", "v_range": [["v7.2.1", ""]]}, ], }, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "http-host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - {"value": "least-session", "revisions": {"v7.0.0": True}}, - {"value": "least-rtt", "revisions": {"v7.0.0": True}}, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "first-alive"}, + {"value": "http-host"}, + {"value": "least-session", "v_range": [["v7.0.0", "v7.0.0"]]}, + {"value": "least-rtt", "v_range": [["v7.0.0", "v7.0.0"]]}, ], }, - "virtual_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "virtual_host": {"v_range": [["v7.0.0", ""]], "type": "string"}, "url_map_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "sub-string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + {"value": "sub-string"}, + {"value": "wildcard"}, + {"value": "regex"}, + ], + }, + "h2_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "h3_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "quic": { + "v_range": [["v7.4.1", ""]], + "type": "dict", + "children": { + "max_idle_timeout": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "max_udp_payload_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "active_connection_id_limit": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - ], + "ack_delay_exponent": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_ack_delay": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_datagram_frame_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "active_migration": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "grease_quic_bit": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + }, }, "realservers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.2", ""]], + "type": "string", + "options": [{"value": "ip"}, {"value": "fqdn"}], + }, + "address": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "ip": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "domain": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "mappedport": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "status": { + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "type": { + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "tcp-forwarding"}, {"value": "ssh"}], }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "external_auth": { + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "tunnel_encryption": { + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "weight": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "http_host": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "health_check": { + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "health_check_proto": { + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "ping"}, + {"value": "http"}, + {"value": "tcp-connect"}, ], }, - "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "holddown_interval": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "external_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "translate_host": { + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "tunnel_encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "ssh_client_cert": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", }, - "http_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "ssh_host_key_validation": { + "v_range": [["v7.0.1", ""]], "type": "string", - }, - "health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "health_check_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tcp-connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "holddown_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "translate_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "ssh_client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - "type": "string", - }, - "ssh_host_key_validation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssh_host_key": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, "application": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "persistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "http-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http-cookie"}], }, "http_cookie_domain_from_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "http_cookie_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "http_cookie_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "http_cookie_domain": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "http_cookie_path": {"v_range": [["v7.0.0", ""]], "type": "string"}, "http_cookie_generation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "http_cookie_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", }, + "http_cookie_age": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "http_cookie_share": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "same-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "same-ip"}], }, "https_cookie_secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "saml_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "saml_server": {"v_range": [["v7.0.0", ""]], "type": "string"}, "saml_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "3072", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, + {"value": "3072"}, + {"value": "4096"}, ], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - {"value": "custom", "revisions": {"v7.0.0": True}}, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, + {"value": "custom", "v_range": [["v7.0.0", "v7.0.0"]]}, ], }, "ssl_cipher_suites": { @@ -3731,3464 +1906,388 @@ versioned_schema = { "elements": "dict", "children": { "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "TLS-AES-128-GCM-SHA256"}, + {"value": "TLS-AES-256-GCM-SHA384"}, + {"value": "TLS-CHACHA20-POLY1305-SHA256"}, + { + "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256" + }, + { + "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256" + }, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, { "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + "v_range": [["v7.0.1", ""]], + }, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, ], }, "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "ssl_vpn_web_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssl_vpn_web_portal": {"v_range": [["v7.0.4", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, "api_gateway6": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, - "url_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "url_map": {"v_range": [["v7.0.1", ""]], "type": "string"}, "service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "samlsp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "web-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, - { - "value": "saas", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, + {"value": "http"}, + {"value": "https"}, + {"value": "tcp-forwarding"}, + {"value": "samlsp"}, + {"value": "web-portal", "v_range": [["v7.0.4", ""]]}, + {"value": "saas", "v_range": [["v7.2.1", ""]]}, ], }, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http-host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "first-alive"}, + {"value": "http-host"}, ], }, - "virtual_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "virtual_host": {"v_range": [["v7.0.1", ""]], "type": "string"}, "url_map_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "sub-string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "sub-string"}, + {"value": "wildcard"}, + {"value": "regex"}, ], }, - "realservers": { - "type": "list", - "elements": "dict", + "h2_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "h3_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "quic": { + "v_range": [["v7.4.1", ""]], + "type": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "max_idle_timeout": { + "v_range": [["v7.4.1", ""]], "type": "integer", - "required": True, }, - "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "max_udp_payload_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", + "active_connection_id_limit": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "ack_delay_exponent": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_ack_delay": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_datagram_frame_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "active_migration": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "grease_quic_bit": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + }, + }, + "realservers": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v7.0.1", ""]], "type": "integer", + "required": True, }, - "mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "addr_type": { + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "ip"}, {"value": "fqdn"}], }, + "address": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "domain": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "port": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "mappedport": {"v_range": [["v7.0.1", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "tcp-forwarding"}, {"value": "ssh"}], }, "external_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - "http_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "weight": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "http_host": {"v_range": [["v7.0.1", ""]], "type": "string"}, "health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "health_check_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tcp-connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "ping"}, + {"value": "http"}, + {"value": "tcp-connect"}, ], }, "holddown_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "translate_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", }, "ssh_host_key_validation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssh_host_key": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "application": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.1", ""]], }, - "persistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "http_cookie_domain_from_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "http_cookie_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "persistence": { + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "http-cookie"}], }, - "http_cookie_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "http_cookie_domain_from_host": { + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "http_cookie_domain": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "http_cookie_path": {"v_range": [["v7.0.1", ""]], "type": "string"}, "http_cookie_generation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - "http_cookie_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", }, + "http_cookie_age": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "http_cookie_share": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "same-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "same-ip"}], }, "https_cookie_secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "saml_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "saml_server": {"v_range": [["v7.0.1", ""]], "type": "string"}, "saml_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "3072", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, + {"value": "3072"}, + {"value": "4096"}, ], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "ssl_cipher_suites": { @@ -7196,1783 +2295,215 @@ versioned_schema = { "elements": "dict", "children": { "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "TLS-AES-128-GCM-SHA256"}, + {"value": "TLS-AES-256-GCM-SHA384"}, + {"value": "TLS-CHACHA20-POLY1305-SHA256"}, + { + "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256" + }, + { + "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256" + }, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, ], }, "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "list", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "ssl_vpn_web_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssl_vpn_web_portal": {"v_range": [["v7.0.4", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", ""]], + }, + "http_supported_max_version": { + "v_range": [["v7.2.4", "v7.4.0"]], + "type": "string", + "options": [{"value": "http1"}, {"value": "http2"}], }, "server_pubkey_auth": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.0.0": True}}, - {"value": "enable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "server_pubkey_auth_settings": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "dict", "children": { "source_address": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_x11_forwarding": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_agent_forwarding": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_port_forwarding": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_pty": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_user_rc": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cert_extension": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", "required": True, }, "critical": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "no", "revisions": {"v7.0.0": True}}, - {"value": "yes", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, "type": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "fixed", "revisions": {"v7.0.0": True}}, - {"value": "user", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "fixed"}, {"value": "user"}], }, - "data": {"revisions": {"v7.0.0": True}, "type": "string"}, + "data": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, }, - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], }, - "auth_ca": {"revisions": {"v7.0.0": True}, "type": "string"}, + "auth_ca": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, }, }, "ldb_method": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", "options": [ - {"value": "static", "revisions": {"v7.0.0": True}}, - {"value": "round-robin", "revisions": {"v7.0.0": True}}, - {"value": "weighted", "revisions": {"v7.0.0": True}}, - {"value": "least-session", "revisions": {"v7.0.0": True}}, - {"value": "least-rtt", "revisions": {"v7.0.0": True}}, - {"value": "first-alive", "revisions": {"v7.0.0": True}}, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "least-session"}, + {"value": "least-rtt"}, + {"value": "first-alive"}, ], }, "realservers": { @@ -8980,42 +2511,27 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "integer", "required": True, }, - "ip": {"revisions": {"v7.0.0": True}, "type": "string"}, - "port": {"revisions": {"v7.0.0": True}, "type": "integer"}, + "ip": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, + "port": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "integer"}, "status": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", "options": [ - {"value": "active", "revisions": {"v7.0.0": True}}, - {"value": "standby", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, - "weight": {"revisions": {"v7.0.0": True}, "type": "integer"}, + "weight": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "integer"}, }, - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -9052,6 +2568,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy6.py index bab2b10ec..ac57f145e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,6 +112,20 @@ options: - SaaS application name. required: true type: str + h2_support: + description: + - HTTP2 support, default=Enable. + type: str + choices: + - 'enable' + - 'disable' + h3_support: + description: + - HTTP3/QUIC support, default=Disable. + type: str + choices: + - 'enable' + - 'disable' http_cookie_age: description: - Time in minutes that client web browsers should keep a cookie. Default is 60 minutes. 0 = no time limit. @@ -152,7 +166,7 @@ options: - 'enable' id: description: - - API Gateway ID. + - API Gateway ID. see Notes. required: true type: int ldb_method: @@ -173,6 +187,49 @@ options: choices: - 'none' - 'http-cookie' + quic: + description: + - QUIC setting. + type: dict + suboptions: + ack_delay_exponent: + description: + - ACK delay exponent (1 - 20). + type: int + active_connection_id_limit: + description: + - Active connection ID limit (1 - 8). + type: int + active_migration: + description: + - Enable/disable active migration . + type: str + choices: + - 'enable' + - 'disable' + grease_quic_bit: + description: + - Enable/disable grease QUIC bit . + type: str + choices: + - 'enable' + - 'disable' + max_ack_delay: + description: + - Maximum ACK delay in milliseconds (1 - 16383). + type: int + max_datagram_frame_size: + description: + - Maximum datagram frame size in bytes (1 - 1500). + type: int + max_idle_timeout: + description: + - Maximum idle timeout milliseconds (1 - 60000). + type: int + max_udp_payload_size: + description: + - Maximum UDP payload size in bytes (1200 - 1500). + type: int realservers: description: - Select the real servers that this Access Proxy will distribute traffic to. @@ -230,7 +287,7 @@ options: type: str id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -416,7 +473,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -502,6 +559,20 @@ options: - SaaS application name. required: true type: str + h2_support: + description: + - HTTP2 support, default=Enable. + type: str + choices: + - 'enable' + - 'disable' + h3_support: + description: + - HTTP3/QUIC support, default=Disable. + type: str + choices: + - 'enable' + - 'disable' http_cookie_age: description: - Time in minutes that client web browsers should keep a cookie. Default is 60 minutes. 0 = no time limit. @@ -542,7 +613,7 @@ options: - 'enable' id: description: - - API Gateway ID. + - API Gateway ID. see Notes. required: true type: int ldb_method: @@ -563,6 +634,49 @@ options: choices: - 'none' - 'http-cookie' + quic: + description: + - QUIC setting. + type: dict + suboptions: + ack_delay_exponent: + description: + - ACK delay exponent (1 - 20). + type: int + active_connection_id_limit: + description: + - Active connection ID limit (1 - 8). + type: int + active_migration: + description: + - Enable/disable active migration . + type: str + choices: + - 'enable' + - 'disable' + grease_quic_bit: + description: + - Enable/disable grease QUIC bit . + type: str + choices: + - 'enable' + - 'disable' + max_ack_delay: + description: + - Maximum ACK delay in milliseconds (1 - 16383). + type: int + max_datagram_frame_size: + description: + - Maximum datagram frame size in bytes (1 - 1500). + type: int + max_idle_timeout: + description: + - Maximum idle timeout milliseconds (1 - 60000). + type: int + max_udp_payload_size: + description: + - Maximum UDP payload size in bytes (1200 - 1500). + type: int realservers: description: - Select the real servers that this Access Proxy will distribute traffic to. @@ -620,7 +734,7 @@ options: type: str id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -806,7 +920,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -931,6 +1045,10 @@ options: choices: - 'enable' - 'disable' + svr_pool_server_max_concurrent_request: + description: + - Maximum number of concurrent requests that servers in server pool could handle . + type: int svr_pool_server_max_request: description: - Maximum number of requests that servers in server pool handle before disconnecting . @@ -953,149 +1071,161 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 access proxy. - fortios_firewall_access_proxy6: - vdom: "{{ vdom }}" +- name: Configure IPv6 access proxy. + fortinet.fortios.fortios_firewall_access_proxy6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_access_proxy6: - add_vhost_domain_to_dnsdb: "enable" - api_gateway: - - - application: - - - name: "default_name_6" - http_cookie_age: "60" - http_cookie_domain: "" - http_cookie_domain_from_host: "disable" - http_cookie_generation: "0" - http_cookie_path: "" - http_cookie_share: "disable" - https_cookie_secure: "disable" - id: "14" - ldb_method: "static" - persistence: "none" - realservers: - - - addr_type: "ip" - address: " (source firewall.address.name firewall.addrgrp.name)" - domain: "" - external_auth: "enable" - health_check: "disable" - health_check_proto: "ping" - holddown_interval: "enable" - http_host: "myhostname" - id: "26" - ip: "" - mappedport: "" - port: "443" - ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" - ssh_host_key: - - - name: "default_name_32 (source firewall.ssh.host-key.name)" - ssh_host_key_validation: "disable" - status: "active" - translate_host: "enable" - tunnel_encryption: "enable" - type: "tcp-forwarding" - weight: "1" - saml_redirect: "disable" - saml_server: " (source user.saml.name)" - service: "http" - ssl_algorithm: "high" - ssl_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "tls-1.0" - ssl_dh_bits: "768" - ssl_max_version: "tls-1.0" - ssl_min_version: "tls-1.0" - ssl_renegotiation: "enable" - ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" - url_map: "" - url_map_type: "sub-string" - virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" - api_gateway6: - - - application: - - - name: "default_name_57" - http_cookie_age: "60" - http_cookie_domain: "" - http_cookie_domain_from_host: "disable" - http_cookie_generation: "0" - http_cookie_path: "" - http_cookie_share: "disable" - https_cookie_secure: "disable" - id: "65" - ldb_method: "static" - persistence: "none" - realservers: - - - addr_type: "ip" - address: " (source firewall.address6.name firewall.addrgrp6.name)" - domain: "" - external_auth: "enable" - health_check: "disable" - health_check_proto: "ping" - holddown_interval: "enable" - http_host: "myhostname" - id: "77" - ip: "" - mappedport: "" - port: "443" - ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" - ssh_host_key: - - - name: "default_name_83 (source firewall.ssh.host-key.name)" - ssh_host_key_validation: "disable" - status: "active" - translate_host: "enable" - tunnel_encryption: "enable" - type: "tcp-forwarding" - weight: "1" - saml_redirect: "disable" - saml_server: " (source user.saml.name)" - service: "http" - ssl_algorithm: "high" - ssl_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "tls-1.0" - ssl_dh_bits: "768" - ssl_max_version: "tls-1.0" - ssl_min_version: "tls-1.0" - ssl_renegotiation: "enable" - ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" - url_map: "" - url_map_type: "sub-string" - virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" - auth_portal: "disable" - auth_virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" - client_cert: "disable" - decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" - empty_cert_action: "accept" - http_supported_max_version: "http1" - log_blocked_traffic: "enable" - name: "default_name_113" - svr_pool_multiplex: "enable" - svr_pool_server_max_request: "0" - svr_pool_ttl: "15" - user_agent_detect: "disable" - vip: " (source firewall.vip6.name)" - + add_vhost_domain_to_dnsdb: "enable" + api_gateway: + - + application: + - + name: "default_name_6" + h2_support: "enable" + h3_support: "enable" + http_cookie_age: "60" + http_cookie_domain: "" + http_cookie_domain_from_host: "disable" + http_cookie_generation: "0" + http_cookie_path: "" + http_cookie_share: "disable" + https_cookie_secure: "disable" + id: "16" + ldb_method: "static" + persistence: "none" + quic: + ack_delay_exponent: "3" + active_connection_id_limit: "2" + active_migration: "enable" + grease_quic_bit: "enable" + max_ack_delay: "25" + max_datagram_frame_size: "1500" + max_idle_timeout: "30000" + max_udp_payload_size: "1500" + realservers: + - + addr_type: "ip" + address: " (source firewall.address.name firewall.addrgrp.name)" + domain: "" + external_auth: "enable" + health_check: "disable" + health_check_proto: "ping" + holddown_interval: "enable" + http_host: "myhostname" + id: "37" + ip: "" + mappedport: "" + port: "443" + ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" + ssh_host_key: + - + name: "default_name_43 (source firewall.ssh.host-key.name)" + ssh_host_key_validation: "disable" + status: "active" + translate_host: "enable" + tunnel_encryption: "enable" + type: "tcp-forwarding" + weight: "1" + saml_redirect: "disable" + saml_server: " (source user.saml.name)" + service: "http" + ssl_algorithm: "high" + ssl_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "tls-1.0" + ssl_dh_bits: "768" + ssl_max_version: "tls-1.0" + ssl_min_version: "tls-1.0" + ssl_renegotiation: "enable" + ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" + url_map: "" + url_map_type: "sub-string" + virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" + api_gateway6: + - + application: + - + name: "default_name_68" + h2_support: "enable" + h3_support: "enable" + http_cookie_age: "60" + http_cookie_domain: "" + http_cookie_domain_from_host: "disable" + http_cookie_generation: "0" + http_cookie_path: "" + http_cookie_share: "disable" + https_cookie_secure: "disable" + id: "78" + ldb_method: "static" + persistence: "none" + quic: + ack_delay_exponent: "3" + active_connection_id_limit: "2" + active_migration: "enable" + grease_quic_bit: "enable" + max_ack_delay: "25" + max_datagram_frame_size: "1500" + max_idle_timeout: "30000" + max_udp_payload_size: "1500" + realservers: + - + addr_type: "ip" + address: " (source firewall.address6.name firewall.addrgrp6.name)" + domain: "" + external_auth: "enable" + health_check: "disable" + health_check_proto: "ping" + holddown_interval: "enable" + http_host: "myhostname" + id: "99" + ip: "" + mappedport: "" + port: "443" + ssh_client_cert: " (source firewall.access-proxy-ssh-client-cert.name)" + ssh_host_key: + - + name: "default_name_105 (source firewall.ssh.host-key.name)" + ssh_host_key_validation: "disable" + status: "active" + translate_host: "enable" + tunnel_encryption: "enable" + type: "tcp-forwarding" + weight: "1" + saml_redirect: "disable" + saml_server: " (source user.saml.name)" + service: "http" + ssl_algorithm: "high" + ssl_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "tls-1.0" + ssl_dh_bits: "768" + ssl_max_version: "tls-1.0" + ssl_min_version: "tls-1.0" + ssl_renegotiation: "enable" + ssl_vpn_web_portal: " (source vpn.ssl.web.portal.name)" + url_map: "" + url_map_type: "sub-string" + virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" + auth_portal: "disable" + auth_virtual_host: "myhostname (source firewall.access-proxy-virtual-host.name)" + client_cert: "disable" + decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" + empty_cert_action: "accept" + http_supported_max_version: "http1" + log_blocked_traffic: "enable" + name: "default_name_135" + svr_pool_multiplex: "enable" + svr_pool_server_max_concurrent_request: "0" + svr_pool_server_max_request: "0" + svr_pool_ttl: "15" + user_agent_detect: "disable" + vip: " (source firewall.vip6.name)" """ RETURN = """ @@ -1154,7 +1284,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1192,6 +1321,7 @@ def filter_firewall_access_proxy6_data(json): "log_blocked_traffic", "name", "svr_pool_multiplex", + "svr_pool_server_max_concurrent_request", "svr_pool_server_max_request", "svr_pool_ttl", "user_agent_detect", @@ -1288,7 +1418,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "access-proxy6") if data["firewall_access_proxy6"]: resp = firewall_access_proxy6(data, fos) @@ -1308,2161 +1437,305 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "required": True, - }, - "vip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.1", ""]], "type": "string", "required": True}, + "vip": {"v_range": [["v7.0.1", ""]], "type": "string"}, "client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "user_agent_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "auth_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], - }, - "auth_virtual_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "auth_virtual_host": {"v_range": [["v7.0.4", ""]], "type": "string"}, "empty_cert_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "accept-unmanageable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, + {"value": "accept"}, + {"value": "block"}, + {"value": "accept-unmanageable", "v_range": [["v7.2.1", ""]]}, ], }, "log_blocked_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "add_vhost_domain_to_dnsdb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "http_supported_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - {"value": "http1", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "http2", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "svr_pool_multiplex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "svr_pool_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "svr_pool_server_max_request": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "svr_pool_ttl": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "svr_pool_server_max_request": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "svr_pool_server_max_concurrent_request": { + "v_range": [["v7.4.1", ""]], "type": "integer", }, - "decrypted_traffic_mirror": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, - "type": "string", - }, + "decrypted_traffic_mirror": {"v_range": [["v7.0.2", ""]], "type": "string"}, "api_gateway": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, - "url_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "url_map": {"v_range": [["v7.0.1", ""]], "type": "string"}, "service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "samlsp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "web-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, - { - "value": "saas", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, + {"value": "http"}, + {"value": "https"}, + {"value": "tcp-forwarding"}, + {"value": "samlsp"}, + {"value": "web-portal", "v_range": [["v7.0.4", ""]]}, + {"value": "saas", "v_range": [["v7.2.1", ""]]}, ], }, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http-host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "first-alive"}, + {"value": "http-host"}, ], }, - "virtual_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "virtual_host": {"v_range": [["v7.0.1", ""]], "type": "string"}, "url_map_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "sub-string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + {"value": "sub-string"}, + {"value": "wildcard"}, + {"value": "regex"}, + ], + }, + "h2_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "h3_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "quic": { + "v_range": [["v7.4.1", ""]], + "type": "dict", + "children": { + "max_idle_timeout": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "max_udp_payload_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "active_connection_id_limit": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - ], + "ack_delay_exponent": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_ack_delay": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_datagram_frame_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "active_migration": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "grease_quic_bit": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + }, }, "realservers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, + "v_range": [["v7.0.2", ""]], + "type": "string", + "options": [{"value": "ip"}, {"value": "fqdn"}], + }, + "address": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "domain": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "port": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "mappedport": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "status": { + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "type": { + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "tcp-forwarding"}, {"value": "ssh"}], }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "external_auth": { + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "tunnel_encryption": { + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - "mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "weight": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "http_host": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "health_check": { + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "health_check_proto": { + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "ping"}, + {"value": "http"}, + {"value": "tcp-connect"}, ], }, - "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "holddown_interval": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "external_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "translate_host": { + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "tunnel_encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "ssh_client_cert": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", }, - "http_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "ssh_host_key_validation": { + "v_range": [["v7.0.1", ""]], "type": "string", - }, - "health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "health_check_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tcp-connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "holddown_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "translate_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "ssh_client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - "ssh_host_key_validation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssh_host_key": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "application": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.1", ""]], }, "persistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http-cookie"}], }, "http_cookie_domain_from_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "http_cookie_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - "http_cookie_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "http_cookie_domain": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "http_cookie_path": {"v_range": [["v7.0.1", ""]], "type": "string"}, "http_cookie_generation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - "http_cookie_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", }, + "http_cookie_age": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "http_cookie_share": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "same-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "same-ip"}], }, "https_cookie_secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "saml_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "saml_server": {"v_range": [["v7.0.1", ""]], "type": "string"}, "saml_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "3072", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, + {"value": "3072"}, + {"value": "4096"}, ], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "ssl_cipher_suites": { @@ -3470,3372 +1743,385 @@ versioned_schema = { "elements": "dict", "children": { "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "TLS-AES-128-GCM-SHA256"}, + {"value": "TLS-AES-256-GCM-SHA384"}, + {"value": "TLS-CHACHA20-POLY1305-SHA256"}, + { + "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256" + }, + { + "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256" + }, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, ], }, "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "list", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "ssl_vpn_web_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssl_vpn_web_portal": {"v_range": [["v7.0.4", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "api_gateway6": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, - "url_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "url_map": {"v_range": [["v7.0.1", ""]], "type": "string"}, "service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "samlsp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "web-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, - { - "value": "saas", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, + {"value": "http"}, + {"value": "https"}, + {"value": "tcp-forwarding"}, + {"value": "samlsp"}, + {"value": "web-portal", "v_range": [["v7.0.4", ""]]}, + {"value": "saas", "v_range": [["v7.2.1", ""]]}, ], }, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http-host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "first-alive"}, + {"value": "http-host"}, ], }, - "virtual_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "virtual_host": {"v_range": [["v7.0.1", ""]], "type": "string"}, "url_map_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "sub-string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "sub-string"}, + {"value": "wildcard"}, + {"value": "regex"}, ], }, - "realservers": { - "type": "list", - "elements": "dict", + "h2_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "h3_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "quic": { + "v_range": [["v7.4.1", ""]], + "type": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "max_idle_timeout": { + "v_range": [["v7.4.1", ""]], "type": "integer", - "required": True, }, - "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "max_udp_payload_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", + "active_connection_id_limit": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "ack_delay_exponent": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_ack_delay": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "max_datagram_frame_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "active_migration": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "grease_quic_bit": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + }, + }, + "realservers": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v7.0.1", ""]], "type": "integer", + "required": True, }, - "mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "addr_type": { + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "ip"}, {"value": "fqdn"}], }, + "address": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "domain": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "port": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "mappedport": {"v_range": [["v7.0.1", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "tcp-forwarding", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "tcp-forwarding"}, {"value": "ssh"}], }, "external_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - "http_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "weight": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "http_host": {"v_range": [["v7.0.1", ""]], "type": "string"}, "health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "health_check_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tcp-connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "ping"}, + {"value": "http"}, + {"value": "tcp-connect"}, ], }, "holddown_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "translate_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", }, "ssh_host_key_validation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssh_host_key": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "application": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.1", ""]], }, "persistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http-cookie"}], }, "http_cookie_domain_from_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "http_cookie_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - "http_cookie_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "http_cookie_domain": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "http_cookie_path": {"v_range": [["v7.0.1", ""]], "type": "string"}, "http_cookie_generation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - "http_cookie_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", }, + "http_cookie_age": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "http_cookie_share": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "same-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "same-ip"}], }, "https_cookie_secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "saml_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "saml_server": {"v_range": [["v7.0.1", ""]], "type": "string"}, "saml_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "3072", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, + {"value": "3072"}, + {"value": "4096"}, ], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "ssl_cipher_suites": { @@ -6843,1696 +2129,142 @@ versioned_schema = { "elements": "dict", "children": { "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "TLS-AES-128-GCM-SHA256"}, + {"value": "TLS-AES-256-GCM-SHA384"}, + {"value": "TLS-CHACHA20-POLY1305-SHA256"}, + { + "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256" + }, + { + "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256" + }, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, ], }, "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "list", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "ssl_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "ssl_vpn_web_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssl_vpn_web_portal": {"v_range": [["v7.0.4", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], + }, + "http_supported_max_version": { + "v_range": [["v7.2.4", "v7.4.0"]], + "type": "string", + "options": [{"value": "http1"}, {"value": "http2"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], } @@ -8569,6 +2301,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_ssh_client_cert.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_ssh_client_cert.py index 06e094ceb..0d2a3e4d2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_ssh_client_cert.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_ssh_client_cert.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -172,37 +172,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Access Proxy SSH client certificate. - fortios_firewall_access_proxy_ssh_client_cert: - vdom: "{{ vdom }}" +- name: Configure Access Proxy SSH client certificate. + fortinet.fortios.fortios_firewall_access_proxy_ssh_client_cert: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_access_proxy_ssh_client_cert: - auth_ca: " (source firewall.ssh.local-ca.name)" - cert_extension: - - - critical: "no" - data: "" - name: "default_name_7" - type: "fixed" - name: "default_name_9" - permit_agent_forwarding: "enable" - permit_port_forwarding: "enable" - permit_pty: "enable" - permit_user_rc: "enable" - permit_x11_forwarding: "enable" - source_address: "enable" - + auth_ca: " (source firewall.ssh.local-ca.name)" + cert_extension: + - + critical: "no" + data: "" + name: "default_name_7" + type: "fixed" + name: "default_name_9" + permit_agent_forwarding: "enable" + permit_port_forwarding: "enable" + permit_pty: "enable" + permit_user_rc: "enable" + permit_x11_forwarding: "enable" + source_address: "enable" """ RETURN = """ @@ -261,7 +250,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -364,7 +352,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "access-proxy-ssh-client-cert") if data["firewall_access_proxy_ssh_client_cert"]: resp = firewall_access_proxy_ssh_client_cert(data, fos) @@ -386,565 +373,63 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.0.1", ""]], "type": "string", "required": True}, "source_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_x11_forwarding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_agent_forwarding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_port_forwarding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_pty": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_user_rc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cert_extension": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, }, "critical": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "fixed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "fixed"}, {"value": "user"}], }, - "data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - "auth_ca": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, + "data": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, - "type": "string", + "v_range": [["v7.0.1", ""]], }, + "auth_ca": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], } @@ -981,6 +466,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_virtual_host.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_virtual_host.py index a45d00d96..f9e0ca5d9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_virtual_host.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_access_proxy_virtual_host.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,28 +115,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Access Proxy virtual hosts. - fortios_firewall_access_proxy_virtual_host: - vdom: "{{ vdom }}" +- name: Configure Access Proxy virtual hosts. + fortinet.fortios.fortios_firewall_access_proxy_virtual_host: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_access_proxy_virtual_host: - host: "myhostname" - host_type: "sub-string" - name: "default_name_5" - replacemsg_group: " (source system.replacemsg-group.name)" - ssl_certificate: " (source vpn.certificate.local.name)" - + host: "myhostname" + host_type: "sub-string" + name: "default_name_5" + replacemsg_group: " (source system.replacemsg-group.name)" + ssl_certificate: " (source vpn.certificate.local.name)" """ RETURN = """ @@ -195,7 +184,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -286,7 +274,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "access-proxy-virtual-host") if data["firewall_access_proxy_virtual_host"]: resp = firewall_access_proxy_virtual_host(data, fos) @@ -308,159 +295,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "ssl_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "ssl_certificate": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "host": {"v_range": [["v7.0.0", ""]], "type": "string"}, "host_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "sub-string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "sub-string"}, {"value": "wildcard"}], }, "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -497,6 +345,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl.py index 9bdb8e869..e412e5346 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,6 +105,13 @@ options: - Address name. Source firewall.address.name firewall.addrgrp.name. required: true type: str + fragment: + description: + - Pass/drop fragments that match L3 information. + type: str + choices: + - 'pass' + - 'drop' interface: description: - Interface name. Source system.zone.name system.interface.name. @@ -113,7 +122,7 @@ options: type: str policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int service: @@ -148,37 +157,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 access control list. - fortios_firewall_acl: - vdom: "{{ vdom }}" +- name: Configure IPv4 access control list. + fortinet.fortios.fortios_firewall_acl: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_acl: - comments: "" - dstaddr: - - - name: "default_name_5 (source firewall.address.name firewall.addrgrp.name)" - interface: " (source system.zone.name system.interface.name)" - name: "default_name_7" - policyid: "0" - service: - - - name: "default_name_10 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_12 (source firewall.address.name firewall.addrgrp.name)" - status: "enable" - + comments: "" + dstaddr: + - + name: "default_name_5 (source firewall.address.name firewall.addrgrp.name)" + fragment: "pass" + interface: " (source system.zone.name system.interface.name)" + name: "default_name_8" + policyid: "" + service: + - + name: "default_name_11 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_13 (source firewall.address.name firewall.addrgrp.name)" + status: "enable" """ RETURN = """ @@ -237,7 +236,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -265,12 +263,16 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_acl_data(json): option_list = [ "comments", "dstaddr", + "fragment", "interface", "name", "policyid", @@ -303,7 +305,6 @@ def underscore_to_hyphen(data): def firewall_acl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -337,11 +338,16 @@ def firewall_acl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -389,13 +395,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "acl") if data["firewall_acl"]: resp = firewall_acl(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_acl")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -410,341 +415,58 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], + }, + "fragment": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "pass"}, {"value": "drop"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -779,6 +501,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl6.py index 7b860d0e4..e9db22779 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_acl6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,6 +105,13 @@ options: - Address name. Source firewall.address6.name firewall.addrgrp6.name. required: true type: str + fragment: + description: + - Pass/drop fragments that match L3 information. + type: str + choices: + - 'pass' + - 'drop' interface: description: - Interface name. Source system.zone.name system.interface.name. @@ -113,7 +122,7 @@ options: type: str policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int service: @@ -148,37 +157,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 access control list. - fortios_firewall_acl6: - vdom: "{{ vdom }}" +- name: Configure IPv6 access control list. + fortinet.fortios.fortios_firewall_acl6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_acl6: - comments: "" - dstaddr: - - - name: "default_name_5 (source firewall.address6.name firewall.addrgrp6.name)" - interface: " (source system.zone.name system.interface.name)" - name: "default_name_7" - policyid: "0" - service: - - - name: "default_name_10 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_12 (source firewall.address6.name firewall.addrgrp6.name)" - status: "enable" - + comments: "" + dstaddr: + - + name: "default_name_5 (source firewall.address6.name firewall.addrgrp6.name)" + fragment: "pass" + interface: " (source system.zone.name system.interface.name)" + name: "default_name_8" + policyid: "" + service: + - + name: "default_name_11 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_13 (source firewall.address6.name firewall.addrgrp6.name)" + status: "enable" """ RETURN = """ @@ -237,7 +236,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -265,12 +263,16 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_acl6_data(json): option_list = [ "comments", "dstaddr", + "fragment", "interface", "name", "policyid", @@ -303,7 +305,6 @@ def underscore_to_hyphen(data): def firewall_acl6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -337,11 +338,16 @@ def firewall_acl6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -389,13 +395,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "acl6") if data["firewall_acl6"]: resp = firewall_acl6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_acl6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -410,341 +415,58 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], + }, + "fragment": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "pass"}, {"value": "drop"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -779,6 +501,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address.py index cd5445097..b3aa18cce 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -383,83 +383,72 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 addresses. - fortios_firewall_address: - vdom: "{{ vdom }}" +- name: Configure IPv4 addresses. + fortinet.fortios.fortios_firewall_address: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_address: - allow_routing: "enable" - associated_interface: " (source system.interface.name system.zone.name)" - cache_ttl: "0" - clearpass_spt: "unknown" - color: "0" - comment: "Comment." - country: "" - end_ip: "" - end_mac: "" - epg_name: "" - fabric_object: "enable" - filter: "" - fqdn: "" - fsso_group: - - - name: "default_name_17 (source user.adgrp.name)" - hw_model: "" - hw_vendor: "" - interface: " (source system.interface.name)" - list: - - - ip: "" - net_id: "" - obj_id: "" - macaddr: - - - macaddr: "" - name: "default_name_27" - node_ip_only: "enable" - obj_id: "" - obj_tag: "" - obj_type: "ip" - organization: "" - os: "" - policy_group: "" - route_tag: "0" - sdn: "aci" - sdn_addr_type: "private" - sdn_tag: "" - start_ip: "" - start_mac: "" - sub_type: "sdn" - subnet: "" - subnet_name: "" - sw_version: "" - tag_detection_level: "" - tag_type: "" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_49" - tags: - - - name: "default_name_51 (source system.object-tagging.tags.name)" - tenant: "" - type: "ipmask" - uuid: "" - visibility: "enable" - wildcard: "" - wildcard_fqdn: "" - + allow_routing: "enable" + associated_interface: " (source system.interface.name system.zone.name)" + cache_ttl: "0" + clearpass_spt: "unknown" + color: "0" + comment: "Comment." + country: "" + end_ip: "" + end_mac: "" + epg_name: "" + fabric_object: "enable" + filter: "" + fqdn: "" + fsso_group: + - + name: "default_name_17 (source user.adgrp.name)" + hw_model: "" + hw_vendor: "" + interface: " (source system.interface.name)" + list: + - + ip: "" + net_id: "" + obj_id: "" + macaddr: + - + macaddr: "" + name: "default_name_27" + node_ip_only: "enable" + obj_id: "" + obj_tag: "" + obj_type: "ip" + organization: "" + os: "" + policy_group: "" + route_tag: "0" + sdn: "aci" + sdn_addr_type: "private" + sdn_tag: "" + start_ip: "" + start_mac: "" + sub_type: "sdn" + subnet: "" + subnet_name: "" + sw_version: "" + tag_detection_level: "" + tag_type: "" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_49" + tags: + - + name: "default_name_51 (source system.object-tagging.tags.name)" + tenant: "" + type: "ipmask" + uuid: "" + visibility: "enable" + wildcard: "" + wildcard_fqdn: "" """ RETURN = """ @@ -518,7 +507,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -546,6 +534,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_address_data(json): @@ -622,7 +613,6 @@ def underscore_to_hyphen(data): def firewall_address(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -658,11 +648,16 @@ def firewall_address(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -710,13 +705,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "address") if data["firewall_address"]: resp = firewall_address(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_address")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -731,869 +725,51 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ipmask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iprange", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "geography", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "interface-subnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "route-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "wildcard-fqdn", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "ipmask"}, + {"value": "iprange"}, + {"value": "fqdn"}, + {"value": "geography"}, + {"value": "wildcard"}, + {"value": "dynamic"}, + {"value": "interface-subnet", "v_range": [["v6.2.0", ""]]}, + {"value": "mac", "v_range": [["v6.2.0", ""]]}, + {"value": "route-tag", "v_range": [["v7.4.0", ""]]}, + {"value": "wildcard-fqdn", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, - "route_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "route_tag": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "sub_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "sdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clearpass-spt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fsso", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ems-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "fortivoice-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "fortinac-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "fortipolicy-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "swc-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "device-identification", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "sdn"}, + {"value": "clearpass-spt"}, + {"value": "fsso"}, + {"value": "ems-tag", "v_range": [["v6.4.0", ""]]}, + {"value": "fortivoice-tag", "v_range": [["v7.0.4", ""]]}, + {"value": "fortinac-tag", "v_range": [["v7.0.4", ""]]}, + {"value": "fortipolicy-tag", "v_range": [["v7.2.4", ""]]}, + {"value": "swc-tag", "v_range": [["v7.0.1", ""]]}, + {"value": "device-identification", "v_range": [["v7.4.0", ""]]}, ], }, "clearpass_spt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "healthy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "checkup", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "transient", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "infected", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "unknown"}, + {"value": "healthy"}, + {"value": "quarantine"}, + {"value": "checkup"}, + {"value": "transient"}, + {"value": "infected"}, ], }, "macaddr": { @@ -1601,317 +777,32 @@ versioned_schema = { "elements": "dict", "children": { "macaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "country": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wildcard_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cache_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "wildcard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "country": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wildcard_fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cache_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "wildcard": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "aci", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "aws", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "azure", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "gcp", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "nsx", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "nuage", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "oci", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "openstack", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "aci", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "aws", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "azure", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "gcp", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "nsx", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "nuage", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "oci", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "openstack", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, "fsso_group": { @@ -1919,1352 +810,104 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "tenant": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "organization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "epg_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subnet_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sdn_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "policy_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "interface": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "tenant": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "organization": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "epg_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subnet_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sdn_tag": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "policy_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "obj_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "obj_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], - }, - "tag_detection_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "tag_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "hw_vendor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "hw_model": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "os": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sw_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "associated_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], + "type": "string", + "options": [{"value": "ip"}, {"value": "mac"}], + }, + "tag_detection_level": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "tag_type": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "hw_vendor": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "hw_model": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "os": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "sw_version": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "associated_interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sdn_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "public", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "private"}, {"value": "public"}, {"value": "all"}], }, "node_ip_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "obj_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "obj_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "list": { "type": "list", "elements": "dict", "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "obj_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "net_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "obj_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "net_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "allow_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "start_mac": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "end_mac": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "start_mac": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "end_mac": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3299,6 +942,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6.py index 57f6deb82..64dd69015 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -286,67 +286,56 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 firewall addresses. - fortios_firewall_address6: - vdom: "{{ vdom }}" +- name: Configure IPv6 firewall addresses. + fortinet.fortios.fortios_firewall_address6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_address6: - cache_ttl: "0" - color: "0" - comment: "Comment." - country: "" - end_ip: "" - end_mac: "" - epg_name: "" - fabric_object: "enable" - fqdn: "" - host: "myhostname" - host_type: "any" - ip6: "" - list: - - - ip: "" - net_id: "" - obj_id: "" - macaddr: - - - macaddr: "" - name: "default_name_21" - obj_id: "" - route_tag: "0" - sdn: "nsx" - sdn_tag: "" - start_ip: "" - start_mac: "" - subnet_segment: - - - name: "default_name_29" - type: "any" - value: "" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_34" - tags: - - - name: "default_name_36 (source system.object-tagging.tags.name)" - template: " (source firewall.address6-template.name)" - tenant: "" - type: "ipprefix" - uuid: "" - visibility: "enable" - + cache_ttl: "0" + color: "0" + comment: "Comment." + country: "" + end_ip: "" + end_mac: "" + epg_name: "" + fabric_object: "enable" + fqdn: "" + host: "myhostname" + host_type: "any" + ip6: "" + list: + - + ip: "" + net_id: "" + obj_id: "" + macaddr: + - + macaddr: "" + name: "default_name_21" + obj_id: "" + route_tag: "0" + sdn: "nsx" + sdn_tag: "" + start_ip: "" + start_mac: "" + subnet_segment: + - + name: "default_name_29" + type: "any" + value: "" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_34" + tags: + - + name: "default_name_36 (source system.object-tagging.tags.name)" + template: " (source firewall.address6-template.name)" + tenant: "" + type: "ipprefix" + uuid: "" + visibility: "enable" """ RETURN = """ @@ -405,7 +394,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -433,6 +421,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_address6_data(json): @@ -491,7 +482,6 @@ def underscore_to_hyphen(data): def firewall_address6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -527,11 +517,16 @@ def firewall_address6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -579,13 +574,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "address6") if data["firewall_address6"]: resp = firewall_address6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_address6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -600,1520 +594,147 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ipprefix", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iprange", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "geography", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "template", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ipprefix"}, + {"value": "iprange"}, + {"value": "fqdn"}, + {"value": "geography", "v_range": [["v6.4.0", ""]]}, + {"value": "dynamic"}, + {"value": "template"}, { "value": "mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "route-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, + {"value": "route-tag", "v_range": [["v7.4.0", ""]]}, ], }, - "route_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "route_tag": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "macaddr": { "type": "list", "elements": "dict", "children": { "macaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "sdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "nsx", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - } - ], - }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "country": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "cache_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "obj_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "nsx", "v_range": [["v6.0.0", "v6.0.11"]]}], }, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "country": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "cache_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "obj_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "list": { "type": "list", "elements": "dict", "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "obj_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "net_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "obj_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "net_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "template": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "template": {"v_range": [["v6.0.0", ""]], "type": "string"}, "subnet_segment": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specific", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "any"}, {"value": "specific"}], }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "host_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specific", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tenant": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "epg_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sdn_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "any"}, {"value": "specific"}], }, + "host": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tenant": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "epg_name": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "sdn_tag": {"v_range": [["v7.2.1", ""]], "type": "string"}, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "start_mac": { - "revisions": { - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", "v6.4.4"], + ], "type": "string", }, "end_mac": { - "revisions": { - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", "v6.4.4"], + ], "type": "string", }, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2148,6 +769,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6_template.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6_template.py index 0fdc069b6..3aabafe75 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6_template.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_address6_template.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,7 +123,7 @@ options: - 'disable' id: description: - - Subnet segment ID. + - Subnet segment ID. see Notes. required: true type: int name: @@ -152,37 +152,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 address templates. - fortios_firewall_address6_template: - vdom: "{{ vdom }}" +- name: Configure IPv6 address templates. + fortinet.fortios.fortios_firewall_address6_template: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_address6_template: - fabric_object: "enable" - ip6: "" - name: "default_name_5" - subnet_segment: - - - bits: "0" - exclusive: "enable" - id: "9" - name: "default_name_10" - values: - - - name: "default_name_12" - value: "" - subnet_segment_count: "0" - + fabric_object: "enable" + ip6: "" + name: "default_name_5" + subnet_segment: + - + bits: "0" + exclusive: "enable" + id: "9" + name: "default_name_10" + values: + - + name: "default_name_12" + value: "" + subnet_segment_count: "0" """ RETURN = """ @@ -241,7 +230,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -269,6 +257,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_address6_template_data(json): @@ -304,7 +295,6 @@ def underscore_to_hyphen(data): def firewall_address6_template(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -340,11 +330,16 @@ def firewall_address6_template(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -394,7 +389,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "address6-template") if data["firewall_address6_template"]: resp = firewall_address6_template(data, fos, check_mode) @@ -402,7 +396,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_address6_template") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -417,490 +411,48 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subnet_segment_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subnet_segment_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "subnet_segment": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "bits": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "exclusive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "values": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -937,6 +489,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp.py index d4343f644..d9e26bd82 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -199,46 +199,35 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 address groups. - fortios_firewall_addrgrp: - vdom: "{{ vdom }}" +- name: Configure IPv4 address groups. + fortinet.fortios.fortios_firewall_addrgrp: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_addrgrp: - allow_routing: "enable" - category: "default" - color: "0" - comment: "Comment." - exclude: "enable" - exclude_member: - - - name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" - fabric_object: "enable" - member: - - - name: "default_name_12 (source firewall.address.name firewall.addrgrp.name)" - name: "default_name_13" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_16" - tags: - - - name: "default_name_18 (source system.object-tagging.tags.name)" - type: "default" - uuid: "" - visibility: "enable" - + allow_routing: "enable" + category: "default" + color: "0" + comment: "Comment." + exclude: "enable" + exclude_member: + - + name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" + fabric_object: "enable" + member: + - + name: "default_name_12 (source firewall.address.name firewall.addrgrp.name)" + name: "default_name_13" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_16" + tags: + - + name: "default_name_18 (source system.object-tagging.tags.name)" + type: "default" + uuid: "" + visibility: "enable" """ RETURN = """ @@ -297,7 +286,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -325,6 +313,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_addrgrp_data(json): @@ -368,7 +359,6 @@ def underscore_to_hyphen(data): def firewall_addrgrp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -404,11 +394,16 @@ def firewall_addrgrp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -456,13 +451,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "addrgrp") if data["firewall_addrgrp"]: resp = firewall_addrgrp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_addrgrp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -477,868 +471,95 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "folder", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "folder"}], }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna-ems-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna-geo-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "default"}, + {"value": "ztna-ems-tag"}, + {"value": "ztna-geo-tag"}, ], }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "exclude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "exclude_member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.2.0", ""]], }, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "allow_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1373,6 +594,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp6.py index ab9647948..55f61decf 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_addrgrp6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -177,43 +177,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 address groups. - fortios_firewall_addrgrp6: - vdom: "{{ vdom }}" +- name: Configure IPv6 address groups. + fortinet.fortios.fortios_firewall_addrgrp6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_addrgrp6: - color: "0" - comment: "Comment." - exclude: "enable" - exclude_member: - - - name: "default_name_7 (source firewall.address6.name firewall.addrgrp6.name)" - fabric_object: "enable" - member: - - - name: "default_name_10 (source firewall.address6.name firewall.addrgrp6.name)" - name: "default_name_11" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_14" - tags: - - - name: "default_name_16 (source system.object-tagging.tags.name)" - uuid: "" - visibility: "enable" - + color: "0" + comment: "Comment." + exclude: "enable" + exclude_member: + - + name: "default_name_7 (source firewall.address6.name firewall.addrgrp6.name)" + fabric_object: "enable" + member: + - + name: "default_name_10 (source firewall.address6.name firewall.addrgrp6.name)" + name: "default_name_11" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_14" + tags: + - + name: "default_name_16 (source system.object-tagging.tags.name)" + uuid: "" + visibility: "enable" """ RETURN = """ @@ -272,7 +261,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -300,6 +288,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_addrgrp6_data(json): @@ -340,7 +331,6 @@ def underscore_to_hyphen(data): def firewall_addrgrp6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -376,11 +366,16 @@ def firewall_addrgrp6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -428,13 +423,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "addrgrp6") if data["firewall_addrgrp6"]: resp = firewall_addrgrp6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_addrgrp6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -449,544 +443,76 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "exclude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "exclude_member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1021,6 +547,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_auth_portal.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_auth_portal.py index 20eaaf76d..f21b36905 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_auth_portal.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_auth_portal.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -113,28 +113,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure firewall authentication portals. - fortios_firewall_auth_portal: - vdom: "{{ vdom }}" +- name: Configure firewall authentication portals. + fortinet.fortios.fortios_firewall_auth_portal: + vdom: "{{ vdom }}" firewall_auth_portal: - groups: - - - name: "default_name_4 (source user.group.name)" - identity_based_route: " (source firewall.identity-based-route.name)" - portal_addr: "" - portal_addr6: "" - proxy_auth: "enable" - + groups: + - + name: "default_name_4 (source user.group.name)" + identity_based_route: " (source firewall.identity-based-route.name)" + portal_addr: "" + portal_addr6: "" + proxy_auth: "enable" """ RETURN = """ @@ -193,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -272,7 +260,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "auth-portal") if data["firewall_auth_portal"]: resp = firewall_auth_portal(data, fos) @@ -289,32 +276,7 @@ def fortios_firewall(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "groups": { @@ -322,182 +284,20 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "portal_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "portal_addr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "identity_based_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "portal_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "portal_addr6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "identity_based_route": {"v_range": [["v6.0.0", ""]], "type": "string"}, "proxy_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -533,6 +333,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_carrier_endpoint_bwl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_carrier_endpoint_bwl.py index 004b88d35..138c34467 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_carrier_endpoint_bwl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_carrier_endpoint_bwl.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -136,7 +138,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -146,33 +148,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Carrier end point black/white list tables. - fortios_firewall_carrier_endpoint_bwl: - vdom: "{{ vdom }}" +- name: Carrier end point black/white list tables. + fortinet.fortios.fortios_firewall_carrier_endpoint_bwl: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_carrier_endpoint_bwl: - comment: "Optional comments." - entries: - - - action: "block" - carrier_endpoint: "" - log_action: "archive" - pattern_type: "wildcard" - status: "enable" - id: "10" - name: "default_name_11" - + comment: "Optional comments." + entries: + - + action: "block" + carrier_endpoint: "" + log_action: "archive" + pattern_type: "wildcard" + status: "enable" + id: "10" + name: "default_name_11" """ RETURN = """ @@ -231,7 +222,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -259,6 +249,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_carrier_endpoint_bwl_data(json): @@ -318,7 +311,6 @@ def underscore_to_hyphen(data): def firewall_carrier_endpoint_bwl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -359,11 +351,16 @@ def firewall_carrier_endpoint_bwl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -415,7 +412,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "carrier-endpoint-bwl") if data["firewall_carrier_endpoint_bwl"]: resp = firewall_carrier_endpoint_bwl(data, fos, check_mode) @@ -423,7 +419,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_carrier_endpoint_bwl") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -438,249 +434,55 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "carrier_endpoint": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pattern_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "wildcard", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "simple", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "wildcard"}, + {"value": "regexp"}, + {"value": "simple"}, ], }, "action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt-mass-mms", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "exempt"}, + {"value": "exempt-mass-mms"}, ], "multiple_values": True, "elements": "str", }, "log_action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", - "options": [ - { - "value": "archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "archive"}], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -717,6 +519,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_central_snat_map.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_central_snat_map.py index 7b8e4c273..26bc1fbd2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_central_snat_map.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_central_snat_map.py @@ -35,12 +35,14 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks - Adjust object order by moving self after(before) another. - Only one of [after, before] must be specified when action is moving an object. requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -224,7 +226,7 @@ options: type: str policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int protocol: @@ -263,67 +265,48 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 and IPv6 central SNAT policies. - fortios_firewall_central_snat_map: - vdom: "{{ vdom }}" +- name: Configure IPv4 and IPv6 central SNAT policies. + fortinet.fortios.fortios_firewall_central_snat_map: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_central_snat_map: - comments: "" - dst_addr: - - - name: "default_name_5 (source firewall.address.name firewall.addrgrp.name)" - dst_addr6: - - - name: "default_name_7 (source firewall.address6.name firewall.addrgrp6.name)" - dst_port: "" - dstintf: - - - name: "default_name_10 (source system.interface.name system.zone.name)" - nat: "disable" - nat_ippool: - - - name: "default_name_13 (source firewall.ippool.name)" - nat_ippool6: - - - name: "default_name_15 (source firewall.ippool6.name)" - nat_port: "" - nat46: "enable" - nat64: "enable" - orig_addr: - - - name: "default_name_20 (source firewall.address.name firewall.addrgrp.name)" - orig_addr6: - - - name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" - orig_port: "" - policyid: "0" - protocol: "0" - srcintf: - - - name: "default_name_27 (source system.interface.name system.zone.name)" - status: "enable" - type: "ipv4" - uuid: "" - - - name: move firewall.central_snat_map - fortios_firewall_central_snat_map: - vdom: "root" - action: "move" - self: "" - after: "" - #before: "" - + comments: "" + dst_addr: + - + name: "default_name_5 (source firewall.address.name firewall.addrgrp.name)" + dst_addr6: + - + name: "default_name_7 (source firewall.address6.name firewall.addrgrp6.name)" + dst_port: "" + dstintf: + - + name: "default_name_10 (source system.interface.name system.zone.name)" + nat: "disable" + nat_ippool: + - + name: "default_name_13 (source firewall.ippool.name)" + nat_ippool6: + - + name: "default_name_15 (source firewall.ippool6.name)" + nat_port: "" + nat46: "enable" + nat64: "enable" + orig_addr: + - + name: "default_name_20 (source firewall.address.name firewall.addrgrp.name)" + orig_addr6: + - + name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" + orig_port: "" + policyid: "" + protocol: "0" + srcintf: + - + name: "default_name_27 (source system.interface.name system.zone.name)" + status: "enable" + type: "ipv4" + uuid: "" """ RETURN = """ @@ -382,7 +365,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -410,6 +392,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_central_snat_map_data(json): @@ -460,7 +445,6 @@ def underscore_to_hyphen(data): def firewall_central_snat_map(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -496,11 +480,16 @@ def firewall_central_snat_map(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -570,7 +559,6 @@ def move_fortios_firewall(data, fos): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "central-snat-map") if data["action"] == "move": resp = move_fortios_firewall(data, fos) @@ -580,7 +568,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_central_snat_map") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -595,1099 +583,136 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "uuid": {"v_range": [["v6.4.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "orig_addr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "orig_addr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "dst_addr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dst_addr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "orig_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.4.0", ""]], }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "orig_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, "nat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "nat46": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat64": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat_ippool": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "nat_ippool6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "nat_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.4.0", ""]], }, + "nat_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_port": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1728,6 +753,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_city.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_city.py index 4fbffa1ee..833cbe296 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_city.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_city.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - City ID. + - City ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Define city table. - fortios_firewall_city: - vdom: "{{ vdom }}" +- name: Define city table. + fortinet.fortios.fortios_firewall_city: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_city: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_city_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_city(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -268,11 +260,16 @@ def firewall_city(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -320,13 +317,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "city") if data["firewall_city"]: resp = firewall_city(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_city")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -342,49 +338,16 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -419,6 +382,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_consolidated_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_consolidated_policy.py index 077e5acc9..837cea7da 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_consolidated_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_consolidated_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -308,7 +310,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_negate: @@ -366,7 +368,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_src_negate: @@ -430,7 +432,7 @@ options: type: str policyid: description: - - Policy ID (0 - 4294967294). + - Policy ID (0 - 4294967294). see Notes. required: true type: int poolname4: @@ -668,149 +670,139 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure consolidated IPv4/IPv6 policies. - fortios_firewall_consolidated_policy: - vdom: "{{ vdom }}" +- name: Configure consolidated IPv4/IPv6 policies. + fortinet.fortios.fortios_firewall_consolidated_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_consolidated_policy: - action: "accept" - application_list: " (source application.list.name)" - auto_asic_offload: "enable" - av_profile: " (source antivirus.profile.name)" - captive_portal_exempt: "enable" - cifs_profile: " (source cifs.profile.name)" - comments: "" - diffserv_forward: "enable" - diffserv_reverse: "enable" - diffservcode_forward: "" - diffservcode_rev: "" - dlp_sensor: " (source dlp.sensor.name)" - dnsfilter_profile: " (source dnsfilter.profile.name)" - dstaddr_negate: "enable" - dstaddr4: - - - name: "default_name_18 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name system.external-resource.name)" - dstaddr6: - - - name: "default_name_20 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system.external-resource - .name)" - dstintf: - - - name: "default_name_22 (source system.interface.name system.zone.name)" - emailfilter_profile: " (source emailfilter.profile.name)" - fixedport: "enable" - fsso_groups: - - - name: "default_name_26 (source user.adgrp.name)" - global_label: "" - groups: - - - name: "default_name_29 (source user.group.name)" - http_policy_redirect: "enable" - icap_profile: " (source icap.profile.name)" - inbound: "enable" - inspection_mode: "proxy" - internet_service: "enable" - internet_service_custom: - - - name: "default_name_36 (source firewall.internet-service-custom.name)" - internet_service_custom_group: - - - name: "default_name_38 (source firewall.internet-service-custom-group.name)" - internet_service_group: - - - name: "default_name_40 (source firewall.internet-service-group.name)" - internet_service_id: - - - id: "42 (source firewall.internet-service.id)" - internet_service_negate: "enable" - internet_service_src: "enable" - internet_service_src_custom: - - - name: "default_name_46 (source firewall.internet-service-custom.name)" - internet_service_src_custom_group: - - - name: "default_name_48 (source firewall.internet-service-custom-group.name)" - internet_service_src_group: - - - name: "default_name_50 (source firewall.internet-service-group.name)" - internet_service_src_id: - - - id: "52 (source firewall.internet-service.id)" - internet_service_src_negate: "enable" - ippool: "enable" - ips_sensor: " (source ips.sensor.name)" - logtraffic: "all" - logtraffic_start: "enable" - mms_profile: " (source firewall.mms-profile.name)" - name: "default_name_59" - nat: "enable" - outbound: "enable" - per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" - policyid: "2147483647" - poolname4: - - - name: "default_name_65 (source firewall.ippool.name)" - poolname6: - - - name: "default_name_67 (source firewall.ippool6.name)" - profile_group: " (source firewall.profile-group.name)" - profile_protocol_options: " (source firewall.profile-protocol-options.name)" - profile_type: "single" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - service: - - - name: "default_name_73 (source firewall.service.custom.name firewall.service.group.name)" - service_negate: "enable" - session_ttl: "1382400" - srcaddr_negate: "enable" - srcaddr4: - - - name: "default_name_78 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" - srcaddr6: - - - name: "default_name_80 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - srcintf: - - - name: "default_name_82 (source system.interface.name system.zone.name)" - ssh_filter_profile: " (source ssh-filter.profile.name)" - ssh_policy_redirect: "enable" - ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" - status: "enable" - tcp_mss_receiver: "32767" - tcp_mss_sender: "32767" - traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" - traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" - users: - - - name: "default_name_92 (source user.local.name)" - utm_status: "enable" - uuid: "" - voip_profile: " (source voip.profile.name)" - vpntunnel: " (source vpn.ipsec.phase1.name vpn.ipsec.manualkey.name)" - waf_profile: " (source waf.profile.name)" - wanopt: "enable" - wanopt_detection: "active" - wanopt_passive_opt: "default" - wanopt_peer: " (source wanopt.peer.peer-host-id)" - wanopt_profile: " (source wanopt.profile.name)" - webcache: "enable" - webcache_https: "disable" - webfilter_profile: " (source webfilter.profile.name)" - webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" - webproxy_profile: " (source web-proxy.profile.name)" - + action: "accept" + application_list: " (source application.list.name)" + auto_asic_offload: "enable" + av_profile: " (source antivirus.profile.name)" + captive_portal_exempt: "enable" + cifs_profile: " (source cifs.profile.name)" + comments: "" + diffserv_forward: "enable" + diffserv_reverse: "enable" + diffservcode_forward: "" + diffservcode_rev: "" + dlp_sensor: " (source dlp.sensor.name)" + dnsfilter_profile: " (source dnsfilter.profile.name)" + dstaddr_negate: "enable" + dstaddr4: + - + name: "default_name_18 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name system.external-resource + .name)" + dstaddr6: + - + name: "default_name_20 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system + .external-resource.name)" + dstintf: + - + name: "default_name_22 (source system.interface.name system.zone.name)" + emailfilter_profile: " (source emailfilter.profile.name)" + fixedport: "enable" + fsso_groups: + - + name: "default_name_26 (source user.adgrp.name)" + global_label: "" + groups: + - + name: "default_name_29 (source user.group.name)" + http_policy_redirect: "enable" + icap_profile: " (source icap.profile.name)" + inbound: "enable" + inspection_mode: "proxy" + internet_service: "enable" + internet_service_custom: + - + name: "default_name_36 (source firewall.internet-service-custom.name)" + internet_service_custom_group: + - + name: "default_name_38 (source firewall.internet-service-custom-group.name)" + internet_service_group: + - + name: "default_name_40 (source firewall.internet-service-group.name)" + internet_service_id: + - + id: "42 (source firewall.internet-service.id)" + internet_service_negate: "enable" + internet_service_src: "enable" + internet_service_src_custom: + - + name: "default_name_46 (source firewall.internet-service-custom.name)" + internet_service_src_custom_group: + - + name: "default_name_48 (source firewall.internet-service-custom-group.name)" + internet_service_src_group: + - + name: "default_name_50 (source firewall.internet-service-group.name)" + internet_service_src_id: + - + id: "52 (source firewall.internet-service.id)" + internet_service_src_negate: "enable" + ippool: "enable" + ips_sensor: " (source ips.sensor.name)" + logtraffic: "all" + logtraffic_start: "enable" + mms_profile: " (source firewall.mms-profile.name)" + name: "default_name_59" + nat: "enable" + outbound: "enable" + per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" + policyid: "" + poolname4: + - + name: "default_name_65 (source firewall.ippool.name)" + poolname6: + - + name: "default_name_67 (source firewall.ippool6.name)" + profile_group: " (source firewall.profile-group.name)" + profile_protocol_options: " (source firewall.profile-protocol-options.name)" + profile_type: "single" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + service: + - + name: "default_name_73 (source firewall.service.custom.name firewall.service.group.name)" + service_negate: "enable" + session_ttl: "1382400" + srcaddr_negate: "enable" + srcaddr4: + - + name: "default_name_78 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" + srcaddr6: + - + name: "default_name_80 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + srcintf: + - + name: "default_name_82 (source system.interface.name system.zone.name)" + ssh_filter_profile: " (source ssh-filter.profile.name)" + ssh_policy_redirect: "enable" + ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" + status: "enable" + tcp_mss_receiver: "32767" + tcp_mss_sender: "32767" + traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" + traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" + users: + - + name: "default_name_92 (source user.local.name)" + utm_status: "enable" + uuid: "" + voip_profile: " (source voip.profile.name)" + vpntunnel: " (source vpn.ipsec.phase1.name vpn.ipsec.manualkey.name)" + waf_profile: " (source waf.profile.name)" + wanopt: "enable" + wanopt_detection: "active" + wanopt_passive_opt: "default" + wanopt_peer: " (source wanopt.peer.peer-host-id)" + wanopt_profile: " (source wanopt.profile.name)" + webcache: "enable" + webcache_https: "disable" + webfilter_profile: " (source webfilter.profile.name)" + webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" + webproxy_profile: " (source web-proxy.profile.name)" """ RETURN = """ @@ -869,7 +861,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -897,6 +888,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_consolidated_policy_data(json): @@ -1012,7 +1006,6 @@ def underscore_to_hyphen(data): def firewall_consolidated_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1048,11 +1041,16 @@ def firewall_consolidated_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1102,7 +1100,6 @@ def is_successful_status(resp): def fortios_firewall_consolidated(data, fos, check_mode): - fos.do_member_operation("firewall.consolidated", "policy") if data["firewall_consolidated_policy"]: resp = firewall_consolidated_policy(data, fos, check_mode) @@ -1110,7 +1107,7 @@ def fortios_firewall_consolidated(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_consolidated_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1126,1664 +1123,446 @@ versioned_schema = { "elements": "dict", "children": { "policyid": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "uuid": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "uuid": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "srcaddr4": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "dstaddr4": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "srcaddr_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "service_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_src": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_src_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_src_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_src_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_src_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_src_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ipsec", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "accept"}, {"value": "deny"}, {"value": "ipsec"}], }, + "schedule": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "utm_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspection_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "proxy", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "flow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "proxy"}, {"value": "flow"}], }, "http_policy_redirect": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_policy_redirect": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "webproxy_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "webproxy_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "profile_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "single", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "group", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "profile_group": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "single"}, {"value": "group"}], }, + "profile_group": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "profile_protocol_options": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "ssl_ssh_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "av_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "dnsfilter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "emailfilter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "dlp_sensor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "ips_sensor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "voip_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "mms_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "icap_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "cifs_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "waf_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "ssh_filter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", }, + "ssl_ssh_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "av_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "webfilter_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "dnsfilter_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "emailfilter_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "dlp_sensor": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "ips_sensor": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "application_list": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "voip_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "mms_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "icap_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "cifs_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "waf_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "ssh_filter_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "logtraffic": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, "logtraffic_start": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_asic_offload": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "diffserv_forward": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv_reverse": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "diffservcode_forward": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "diffservcode_rev": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "tcp_mss_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "tcp_mss_receiver": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "diffservcode_forward": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "diffservcode_rev": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "tcp_mss_sender": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, + "tcp_mss_receiver": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, "webproxy_forward_server": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", }, "wanopt": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wanopt_detection": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "active", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "passive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "off", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "active"}, {"value": "passive"}, {"value": "off"}], }, "wanopt_passive_opt": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "transparent", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "non-transparent", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "transparent"}, + {"value": "non-transparent"}, ], }, - "wanopt_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "wanopt_peer": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "wanopt_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "wanopt_peer": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "webcache": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webcache_https": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "traffic_shaper": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "traffic_shaper_reverse": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "per_ip_shaper": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "traffic_shaper": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "traffic_shaper_reverse": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "per_ip_shaper": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "nat": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fixedport": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ippool": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "poolname4": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "poolname6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - "session_ttl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "vpntunnel": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", + "v_range": [["v6.2.0", "v6.2.7"]], }, + "session_ttl": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, + "comments": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "vpntunnel": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "inbound": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "outbound": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "captive_portal_exempt": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fsso_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - "global_label": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "string", + "v_range": [["v6.2.0", "v6.2.7"]], }, + "global_label": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, }, - "revisions": {"v6.2.7": True, "v6.2.5": True, "v6.2.3": True, "v6.2.0": True}, + "v_range": [["v6.2.0", "v6.2.7"]], } @@ -2820,6 +1599,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_country.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_country.py index 893f54376..a0c2c9870 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_country.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_country.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Country ID. + - Country ID. see Notes. required: true type: int name: @@ -105,34 +107,23 @@ options: suboptions: id: description: - - Region ID. + - Region ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Define country table. - fortios_firewall_country: - vdom: "{{ vdom }}" +- name: Define country table. + fortinet.fortios.fortios_firewall_country: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_country: - id: "3" - name: "default_name_4" - region: - - - id: "6" - + id: "3" + name: "default_name_4" + region: + - + id: "6" """ RETURN = """ @@ -191,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +209,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_country_data(json): @@ -248,7 +241,6 @@ def underscore_to_hyphen(data): def firewall_country(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -284,11 +276,16 @@ def firewall_country(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -336,13 +333,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "country") if data["firewall_country"]: resp = firewall_country(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_country")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -358,34 +354,12 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "region": { @@ -393,48 +367,15 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -469,6 +410,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_decrypted_traffic_mirror.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_decrypted_traffic_mirror.py index 84f817a7f..7ab8e3199 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_decrypted_traffic_mirror.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_decrypted_traffic_mirror.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -127,30 +127,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure decrypted traffic mirror. - fortios_firewall_decrypted_traffic_mirror: - vdom: "{{ vdom }}" +- name: Configure decrypted traffic mirror. + fortinet.fortios.fortios_firewall_decrypted_traffic_mirror: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_decrypted_traffic_mirror: - dstmac: "" - interface: - - - name: "default_name_5 (source system.interface.name)" - name: "default_name_6" - traffic_source: "client" - traffic_type: "ssl" - + dstmac: "" + interface: + - + name: "default_name_5 (source system.interface.name)" + name: "default_name_6" + traffic_source: "client" + traffic_type: "ssl" """ RETURN = """ @@ -209,7 +198,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -237,6 +225,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_decrypted_traffic_mirror_data(json): @@ -295,7 +286,6 @@ def underscore_to_hyphen(data): def firewall_decrypted_traffic_mirror(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -340,11 +330,16 @@ def firewall_decrypted_traffic_mirror(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -399,7 +394,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "decrypted-traffic-mirror") if data["firewall_decrypted_traffic_mirror"]: resp = firewall_decrypted_traffic_mirror(data, fos, check_mode) @@ -407,7 +401,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_decrypted_traffic_mirror") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -422,279 +416,34 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "dstmac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "dstmac": {"v_range": [["v6.4.0", ""]], "type": "string"}, "traffic_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", - "options": [ - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "ssl"}, {"value": "ssh"}], "multiple_values": True, "elements": "str", }, "traffic_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "server", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "client"}, {"value": "server"}, {"value": "both"}], }, "interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -731,6 +480,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dnstranslation.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dnstranslation.py index ec68b3b8b..1503328b4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dnstranslation.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dnstranslation.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -95,7 +97,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int netmask: @@ -110,27 +112,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS translation. - fortios_firewall_dnstranslation: - vdom: "{{ vdom }}" +- name: Configure DNS translation. + fortinet.fortios.fortios_firewall_dnstranslation: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_dnstranslation: - dst: "" - id: "4" - netmask: "" - src: "" - + dst: "" + id: "4" + netmask: "" + src: "" """ RETURN = """ @@ -189,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -217,6 +207,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_dnstranslation_data(json): @@ -246,7 +239,6 @@ def underscore_to_hyphen(data): def firewall_dnstranslation(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -282,11 +274,16 @@ def firewall_dnstranslation(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -336,13 +333,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "dnstranslation") if data["firewall_dnstranslation"]: resp = firewall_dnstranslation(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_dnstranslation")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -357,150 +353,12 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "netmask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "src": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "netmask": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -537,6 +395,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy.py index e22584caa..b350bf947 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -174,7 +176,7 @@ options: type: str policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int service: @@ -209,48 +211,37 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 DoS policies. - fortios_firewall_dos_policy: - vdom: "{{ vdom }}" +- name: Configure IPv4 DoS policies. + fortinet.fortios.fortios_firewall_dos_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_dos_policy: - anomaly: - - - action: "pass" - log: "enable" - name: "default_name_6" - quarantine: "none" - quarantine_expiry: "" - quarantine_log: "disable" - status: "disable" - threshold: "0" - threshold_default: "0" - comments: "" - dstaddr: - - - name: "default_name_15 (source firewall.address.name firewall.addrgrp.name)" - interface: " (source system.zone.name system.interface.name)" - name: "default_name_17" - policyid: "0" - service: - - - name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_22 (source firewall.address.name firewall.addrgrp.name)" - status: "enable" - + anomaly: + - + action: "pass" + log: "enable" + name: "default_name_6" + quarantine: "none" + quarantine_expiry: "" + quarantine_log: "disable" + status: "disable" + threshold: "0" + threshold_default: "0" + comments: "" + dstaddr: + - + name: "default_name_15 (source firewall.address.name firewall.addrgrp.name)" + interface: " (source system.zone.name system.interface.name)" + name: "default_name_17" + policyid: "" + service: + - + name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_22 (source firewall.address.name firewall.addrgrp.name)" + status: "enable" """ RETURN = """ @@ -309,7 +300,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -337,6 +327,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_dos_policy_data(json): @@ -399,7 +392,6 @@ def valid_attr_to_invalid_attrs(data): def firewall_dos_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -436,11 +428,16 @@ def firewall_dos_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -490,13 +487,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "DoS-policy") if data["firewall_dos_policy"]: resp = firewall_dos_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_dos_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -511,1040 +507,100 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "anomaly": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "proxy"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attacker", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "quarantine_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "attacker"}], }, + "quarantine_expiry": {"v_range": [["v6.0.0", ""]], "type": "string"}, "quarantine_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "threshold_default": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1579,6 +635,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy6.py index 82bba33f6..163bacfc9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_dos_policy6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -174,7 +176,7 @@ options: type: str policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int service: @@ -209,48 +211,37 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 DoS policies. - fortios_firewall_dos_policy6: - vdom: "{{ vdom }}" +- name: Configure IPv6 DoS policies. + fortinet.fortios.fortios_firewall_dos_policy6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_dos_policy6: - anomaly: - - - action: "pass" - log: "enable" - name: "default_name_6" - quarantine: "none" - quarantine_expiry: "" - quarantine_log: "disable" - status: "disable" - threshold: "0" - threshold_default: "0" - comments: "" - dstaddr: - - - name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name)" - interface: " (source system.zone.name system.interface.name)" - name: "default_name_17" - policyid: "0" - service: - - - name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" - status: "enable" - + anomaly: + - + action: "pass" + log: "enable" + name: "default_name_6" + quarantine: "none" + quarantine_expiry: "" + quarantine_log: "disable" + status: "disable" + threshold: "0" + threshold_default: "0" + comments: "" + dstaddr: + - + name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name)" + interface: " (source system.zone.name system.interface.name)" + name: "default_name_17" + policyid: "" + service: + - + name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" + status: "enable" """ RETURN = """ @@ -309,7 +300,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -337,6 +327,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_dos_policy6_data(json): @@ -399,7 +392,6 @@ def valid_attr_to_invalid_attrs(data): def firewall_dos_policy6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -436,11 +428,16 @@ def firewall_dos_policy6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -490,13 +487,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "DoS-policy6") if data["firewall_dos_policy6"]: resp = firewall_dos_policy6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_dos_policy6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -511,1040 +507,100 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "anomaly": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "proxy"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attacker", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "quarantine_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "attacker"}], }, + "quarantine_expiry": {"v_range": [["v6.0.0", ""]], "type": "string"}, "quarantine_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "threshold_default": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1579,6 +635,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_global.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_global.py index 2c40c7a1f..6a501fe08 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_global.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_global.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,22 +91,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global firewall settings. - fortios_firewall_global: - vdom: "{{ vdom }}" +- name: Global firewall settings. + fortinet.fortios.fortios_firewall_global: + vdom: "{{ vdom }}" firewall_global: - banned_ip_persistency: "disabled" - + banned_ip_persistency: "disabled" """ RETURN = """ @@ -165,7 +154,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -238,7 +226,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "global") if data["firewall_global"]: resp = firewall_global(data, fos) @@ -255,45 +242,16 @@ def fortios_firewall(data, fos): versioned_schema = { - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.2.2": True, "v7.2.1": True}, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { "banned_ip_persistency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "permanent-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "disabled"}, + {"value": "permanent-only"}, + {"value": "all"}, ], } }, @@ -330,6 +288,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_gtp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_gtp.py index 0c82bbc88..c435490c7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_gtp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_gtp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -118,7 +118,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int selection_mode: @@ -286,7 +286,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int remove_ies: @@ -487,7 +487,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int mcc_mnc: @@ -563,7 +563,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int srcaddr: @@ -940,7 +940,7 @@ options: type: int id: description: - - ID. + - ID. see Notes. required: true type: int start: @@ -980,7 +980,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int rate_limit: @@ -1026,7 +1026,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int imei: @@ -1134,7 +1134,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int imsi_prefix: @@ -1322,266 +1322,255 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure GTP. - fortios_firewall_gtp: - vdom: "{{ vdom }}" +- name: Configure GTP. + fortinet.fortios.fortios_firewall_gtp: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_gtp: - addr_notify: "" - apn: - - - action: "allow" - apnmember: - - - name: "default_name_7 (source gtp.apn.name gtp.apngrp.name)" - id: "8" - selection_mode: "ms" - apn_filter: "enable" - authorized_ggsns: " (source firewall.address.name firewall.addrgrp.name)" - authorized_ggsns6: " (source firewall.address6.name firewall.addrgrp6.name)" - authorized_sgsns: " (source firewall.address.name firewall.addrgrp.name)" - authorized_sgsns6: " (source firewall.address6.name firewall.addrgrp6.name)" - comment: "Comment." - context_id: "696" - control_plane_message_rate_limit: "0" - default_apn_action: "allow" - default_imsi_action: "allow" - default_ip_action: "allow" - default_noip_action: "allow" - default_policy_action: "allow" - denied_log: "enable" - echo_request_interval: "0" - extension_log: "enable" - forwarded_log: "enable" - global_tunnel_limit: " (source gtp.tunnel-limit.name)" - gtp_in_gtp: "allow" - gtpu_denied_log: "enable" - gtpu_forwarded_log: "enable" - gtpu_log_freq: "0" - half_close_timeout: "10" - half_open_timeout: "300" - handover_group: " (source firewall.address.name firewall.addrgrp.name)" - handover_group6: " (source firewall.address6.name firewall.addrgrp6.name)" - ie_allow_list_v0v1: " (source gtp.ie-allow-list.name)" - ie_allow_list_v2: " (source gtp.ie-allow-list.name)" - ie_remove_policy: - - - id: "39" - remove_ies: "apn-restriction" - sgsn_addr: " (source firewall.address.name firewall.addrgrp.name)" - sgsn_addr6: " (source firewall.address6.name firewall.addrgrp6.name)" - ie_remover: "enable" - ie_validation: - apn_restriction: "enable" - charging_gateway_addr: "enable" - charging_ID: "enable" - end_user_addr: "enable" - gsn_addr: "enable" - imei: "enable" - imsi: "enable" - mm_context: "enable" - ms_tzone: "enable" - ms_validated: "enable" - msisdn: "enable" - nsapi: "enable" - pdp_context: "enable" - qos_profile: "enable" - rai: "enable" - rat_type: "enable" - reordering_required: "enable" - selection_mode: "enable" - uli: "enable" - ie_white_list_v0v1: " (source gtp.ie-white-list.name)" - ie_white_list_v2: " (source gtp.ie-white-list.name)" - imsi: - - - action: "allow" - apnmember: - - - name: "default_name_69 (source gtp.apn.name gtp.apngrp.name)" - id: "70" - mcc_mnc: "" - msisdn_prefix: "" - selection_mode: "ms" - imsi_filter: "enable" - interface_notify: " (source system.interface.name)" - invalid_reserved_field: "allow" - invalid_sgsns_to_log: " (source firewall.address.name firewall.addrgrp.name)" - invalid_sgsns6_to_log: " (source firewall.address6.name firewall.addrgrp6.name)" - ip_filter: "enable" - ip_policy: - - - action: "allow" - dstaddr: " (source firewall.address.name firewall.addrgrp.name)" - dstaddr6: " (source firewall.address6.name firewall.addrgrp6.name)" - id: "84" - srcaddr: " (source firewall.address.name firewall.addrgrp.name)" - srcaddr6: " (source firewall.address6.name firewall.addrgrp6.name)" - log_freq: "0" - log_gtpu_limit: "0" - log_imsi_prefix: "" - log_msisdn_prefix: "" - max_message_length: "1452" - message_filter_v0v1: " (source gtp.message-filter-v0v1.name)" - message_filter_v2: " (source gtp.message-filter-v2.name)" - message_rate_limit: - create_aa_pdp_request: "0" - create_aa_pdp_response: "0" - create_mbms_request: "0" - create_mbms_response: "0" - create_pdp_request: "0" - create_pdp_response: "0" - delete_aa_pdp_request: "0" - delete_aa_pdp_response: "0" - delete_mbms_request: "0" - delete_mbms_response: "0" - delete_pdp_request: "0" - delete_pdp_response: "0" - echo_reponse: "0" - echo_request: "0" - error_indication: "0" - failure_report_request: "0" - failure_report_response: "0" - fwd_reloc_complete_ack: "0" - fwd_relocation_complete: "0" - fwd_relocation_request: "0" - fwd_relocation_response: "0" - fwd_srns_context: "0" - fwd_srns_context_ack: "0" - g_pdu: "0" - identification_request: "0" - identification_response: "0" - mbms_de_reg_request: "0" - mbms_de_reg_response: "0" - mbms_notify_rej_request: "0" - mbms_notify_rej_response: "0" - mbms_notify_request: "0" - mbms_notify_response: "0" - mbms_reg_request: "0" - mbms_reg_response: "0" - mbms_ses_start_request: "0" - mbms_ses_start_response: "0" - mbms_ses_stop_request: "0" - mbms_ses_stop_response: "0" - note_ms_request: "0" - note_ms_response: "0" - pdu_notify_rej_request: "0" - pdu_notify_rej_response: "0" - pdu_notify_request: "0" - pdu_notify_response: "0" - ran_info: "0" - relocation_cancel_request: "0" - relocation_cancel_response: "0" - send_route_request: "0" - send_route_response: "0" - sgsn_context_ack: "0" - sgsn_context_request: "0" - sgsn_context_response: "0" - support_ext_hdr_notify: "0" - update_mbms_request: "0" - update_mbms_response: "0" - update_pdp_request: "0" - update_pdp_response: "0" - version_not_support: "0" - message_rate_limit_v0: - create_pdp_request: "0" - delete_pdp_request: "0" - echo_request: "0" - message_rate_limit_v1: - create_pdp_request: "0" - delete_pdp_request: "0" - echo_request: "0" - message_rate_limit_v2: - create_session_request: "0" - delete_session_request: "0" - echo_request: "0" - min_message_length: "0" - miss_must_ie: "allow" - monitor_mode: "enable" - name: "default_name_168" - noip_filter: "enable" - noip_policy: - - - action: "allow" - end: "0" - id: "173" - start: "0" - type: "etsi" - out_of_state_ie: "allow" - out_of_state_message: "allow" - per_apn_shaper: - - - apn: " (source gtp.apn.name)" - id: "180" - rate_limit: "0" - version: "1" - policy: - - - action: "allow" - apn_sel_mode: "ms" - apnmember: - - - name: "default_name_187 (source gtp.apn.name gtp.apngrp.name)" - id: "188" - imei: "" - imsi: "" - imsi_prefix: "" - max_apn_restriction: "all" - messages: "create-req" - msisdn: "" - msisdn_prefix: "" - rai: "" - rat_type: "any" - uli: "" - policy_filter: "enable" - policy_v2: - - - action: "allow" - apn_sel_mode: "ms" - apnmember: - - - name: "default_name_204 (source gtp.apn.name gtp.apngrp.name)" - id: "205" - imsi_prefix: "" - max_apn_restriction: "all" - mei: "" - messages: "create-ses-req" - msisdn_prefix: "" - rat_type: "any" - uli: "" - port_notify: "21123" - rat_timeout_profile: " (source gtp.rat-timeout-profile.name)" - rate_limit_mode: "per-profile" - rate_limited_log: "enable" - rate_sampling_interval: "1" - remove_if_echo_expires: "enable" - remove_if_recovery_differ: "enable" - reserved_ie: "allow" - send_delete_when_timeout: "enable" - send_delete_when_timeout_v2: "enable" - spoof_src_addr: "allow" - state_invalid_log: "enable" - sub_second_interval: "0.5" - sub_second_sampling: "enable" - traffic_count_log: "enable" - tunnel_limit: "0" - tunnel_limit_log: "enable" - tunnel_timeout: "86400" - unknown_version_action: "allow" - user_plane_message_rate_limit: "0" - warning_threshold: "0" - + addr_notify: "" + apn: + - + action: "allow" + apnmember: + - + name: "default_name_7 (source gtp.apn.name gtp.apngrp.name)" + id: "8" + selection_mode: "ms" + apn_filter: "enable" + authorized_ggsns: " (source firewall.address.name firewall.addrgrp.name)" + authorized_ggsns6: " (source firewall.address6.name firewall.addrgrp6.name)" + authorized_sgsns: " (source firewall.address.name firewall.addrgrp.name)" + authorized_sgsns6: " (source firewall.address6.name firewall.addrgrp6.name)" + comment: "Comment." + context_id: "696" + control_plane_message_rate_limit: "0" + default_apn_action: "allow" + default_imsi_action: "allow" + default_ip_action: "allow" + default_noip_action: "allow" + default_policy_action: "allow" + denied_log: "enable" + echo_request_interval: "0" + extension_log: "enable" + forwarded_log: "enable" + global_tunnel_limit: " (source gtp.tunnel-limit.name)" + gtp_in_gtp: "allow" + gtpu_denied_log: "enable" + gtpu_forwarded_log: "enable" + gtpu_log_freq: "0" + half_close_timeout: "10" + half_open_timeout: "300" + handover_group: " (source firewall.address.name firewall.addrgrp.name)" + handover_group6: " (source firewall.address6.name firewall.addrgrp6.name)" + ie_allow_list_v0v1: " (source gtp.ie-allow-list.name)" + ie_allow_list_v2: " (source gtp.ie-allow-list.name)" + ie_remove_policy: + - + id: "39" + remove_ies: "apn-restriction" + sgsn_addr: " (source firewall.address.name firewall.addrgrp.name)" + sgsn_addr6: " (source firewall.address6.name firewall.addrgrp6.name)" + ie_remover: "enable" + ie_validation: + apn_restriction: "enable" + charging_gateway_addr: "enable" + charging_ID: "enable" + end_user_addr: "enable" + gsn_addr: "enable" + imei: "enable" + imsi: "enable" + mm_context: "enable" + ms_tzone: "enable" + ms_validated: "enable" + msisdn: "enable" + nsapi: "enable" + pdp_context: "enable" + qos_profile: "enable" + rai: "enable" + rat_type: "enable" + reordering_required: "enable" + selection_mode: "enable" + uli: "enable" + ie_white_list_v0v1: " (source gtp.ie-white-list.name)" + ie_white_list_v2: " (source gtp.ie-white-list.name)" + imsi: + - + action: "allow" + apnmember: + - + name: "default_name_69 (source gtp.apn.name gtp.apngrp.name)" + id: "70" + mcc_mnc: "" + msisdn_prefix: "" + selection_mode: "ms" + imsi_filter: "enable" + interface_notify: " (source system.interface.name)" + invalid_reserved_field: "allow" + invalid_sgsns_to_log: " (source firewall.address.name firewall.addrgrp.name)" + invalid_sgsns6_to_log: " (source firewall.address6.name firewall.addrgrp6.name)" + ip_filter: "enable" + ip_policy: + - + action: "allow" + dstaddr: " (source firewall.address.name firewall.addrgrp.name)" + dstaddr6: " (source firewall.address6.name firewall.addrgrp6.name)" + id: "84" + srcaddr: " (source firewall.address.name firewall.addrgrp.name)" + srcaddr6: " (source firewall.address6.name firewall.addrgrp6.name)" + log_freq: "0" + log_gtpu_limit: "0" + log_imsi_prefix: "" + log_msisdn_prefix: "" + max_message_length: "1452" + message_filter_v0v1: " (source gtp.message-filter-v0v1.name)" + message_filter_v2: " (source gtp.message-filter-v2.name)" + message_rate_limit: + create_aa_pdp_request: "0" + create_aa_pdp_response: "0" + create_mbms_request: "0" + create_mbms_response: "0" + create_pdp_request: "0" + create_pdp_response: "0" + delete_aa_pdp_request: "0" + delete_aa_pdp_response: "0" + delete_mbms_request: "0" + delete_mbms_response: "0" + delete_pdp_request: "0" + delete_pdp_response: "0" + echo_reponse: "0" + echo_request: "0" + error_indication: "0" + failure_report_request: "0" + failure_report_response: "0" + fwd_reloc_complete_ack: "0" + fwd_relocation_complete: "0" + fwd_relocation_request: "0" + fwd_relocation_response: "0" + fwd_srns_context: "0" + fwd_srns_context_ack: "0" + g_pdu: "0" + identification_request: "0" + identification_response: "0" + mbms_de_reg_request: "0" + mbms_de_reg_response: "0" + mbms_notify_rej_request: "0" + mbms_notify_rej_response: "0" + mbms_notify_request: "0" + mbms_notify_response: "0" + mbms_reg_request: "0" + mbms_reg_response: "0" + mbms_ses_start_request: "0" + mbms_ses_start_response: "0" + mbms_ses_stop_request: "0" + mbms_ses_stop_response: "0" + note_ms_request: "0" + note_ms_response: "0" + pdu_notify_rej_request: "0" + pdu_notify_rej_response: "0" + pdu_notify_request: "0" + pdu_notify_response: "0" + ran_info: "0" + relocation_cancel_request: "0" + relocation_cancel_response: "0" + send_route_request: "0" + send_route_response: "0" + sgsn_context_ack: "0" + sgsn_context_request: "0" + sgsn_context_response: "0" + support_ext_hdr_notify: "0" + update_mbms_request: "0" + update_mbms_response: "0" + update_pdp_request: "0" + update_pdp_response: "0" + version_not_support: "0" + message_rate_limit_v0: + create_pdp_request: "0" + delete_pdp_request: "0" + echo_request: "0" + message_rate_limit_v1: + create_pdp_request: "0" + delete_pdp_request: "0" + echo_request: "0" + message_rate_limit_v2: + create_session_request: "0" + delete_session_request: "0" + echo_request: "0" + min_message_length: "0" + miss_must_ie: "allow" + monitor_mode: "enable" + name: "default_name_168" + noip_filter: "enable" + noip_policy: + - + action: "allow" + end: "0" + id: "173" + start: "0" + type: "etsi" + out_of_state_ie: "allow" + out_of_state_message: "allow" + per_apn_shaper: + - + apn: " (source gtp.apn.name)" + id: "180" + rate_limit: "0" + version: "1" + policy: + - + action: "allow" + apn_sel_mode: "ms" + apnmember: + - + name: "default_name_187 (source gtp.apn.name gtp.apngrp.name)" + id: "188" + imei: "" + imsi: "" + imsi_prefix: "" + max_apn_restriction: "all" + messages: "create-req" + msisdn: "" + msisdn_prefix: "" + rai: "" + rat_type: "any" + uli: "" + policy_filter: "enable" + policy_v2: + - + action: "allow" + apn_sel_mode: "ms" + apnmember: + - + name: "default_name_204 (source gtp.apn.name gtp.apngrp.name)" + id: "205" + imsi_prefix: "" + max_apn_restriction: "all" + mei: "" + messages: "create-ses-req" + msisdn_prefix: "" + rat_type: "any" + uli: "" + port_notify: "21123" + rat_timeout_profile: " (source gtp.rat-timeout-profile.name)" + rate_limit_mode: "per-profile" + rate_limited_log: "enable" + rate_sampling_interval: "1" + remove_if_echo_expires: "enable" + remove_if_recovery_differ: "enable" + reserved_ie: "allow" + send_delete_when_timeout: "enable" + send_delete_when_timeout_v2: "enable" + spoof_src_addr: "allow" + state_invalid_log: "enable" + sub_second_interval: "0.5" + sub_second_sampling: "enable" + traffic_count_log: "enable" + tunnel_limit: "0" + tunnel_limit_log: "enable" + tunnel_timeout: "86400" + unknown_version_action: "allow" + user_plane_message_rate_limit: "0" + warning_threshold: "0" """ RETURN = """ @@ -1640,7 +1629,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1847,7 +1835,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "gtp") if data["firewall_gtp"]: resp = firewall_gtp(data, fos) @@ -1868,3118 +1855,306 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "comment": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "remove_if_echo_expires": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_if_recovery_differ": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "send_delete_when_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "send_delete_when_timeout_v2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp_in_gtp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "unknown_version_action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "min_message_length": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "max_message_length": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "control_plane_message_rate_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "sub_second_sampling": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rate_sampling_interval": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "sub_second_interval": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "0.5", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "0.25", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "0.1", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "0.5"}, {"value": "0.25"}, {"value": "0.1"}], }, "echo_request_interval": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "user_plane_message_rate_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "tunnel_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "global_tunnel_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "tunnel_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "half_open_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "half_close_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "default_apn_action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "default_imsi_action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "default_policy_action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "default_ip_action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "default_noip_action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "apn_filter": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "imsi_filter": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "policy_filter": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ie_remover": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_filter": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "noip_filter": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "monitor_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "enable"}, + {"value": "disable"}, { "value": "vdom", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, ], }, "forwarded_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "denied_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rate_limited_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "state_invalid_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_limit_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "extension_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "traffic_count_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_freq": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "gtpu_forwarded_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtpu_denied_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtpu_log_freq": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "log_gtpu_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "log_imsi_prefix": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "log_msisdn_prefix": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "invalid_reserved_field": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "reserved_ie": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "miss_must_ie": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "out_of_state_message": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "out_of_state_ie": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "spoof_src_addr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "handover_group": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "handover_group6": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], "type": "string", }, "authorized_sgsns": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "authorized_sgsns6": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], "type": "string", }, "invalid_sgsns_to_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "invalid_sgsns6_to_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], "type": "string", }, "authorized_ggsns": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "authorized_ggsns6": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], "type": "string", }, "apn": { @@ -4987,26 +2162,7 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, @@ -5015,312 +2171,43 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "selection_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", - "options": [ - { - "value": "ms", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "net", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vrf", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ms"}, {"value": "net"}, {"value": "vrf"}], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "imsi": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, "mcc_mnc": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "msisdn_prefix": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "apnmember": { @@ -5328,265 +2215,34 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "selection_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", - "options": [ - { - "value": "ms", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "net", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vrf", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ms"}, {"value": "net"}, {"value": "vrf"}], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "policy": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, @@ -5595,878 +2251,105 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "messages": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", "options": [ - { - "value": "create-req", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "create-res", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "update-req", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "update-res", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "create-req"}, + {"value": "create-res"}, + {"value": "update-req"}, + {"value": "update-res"}, ], "multiple_values": True, "elements": "str", }, "apn_sel_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", - "options": [ - { - "value": "ms", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "net", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vrf", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ms"}, {"value": "net"}, {"value": "vrf"}], "multiple_values": True, "elements": "str", }, "max_apn_restriction": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "all", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "public-1", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "public-2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private-1", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private-2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "all"}, + {"value": "public-1"}, + {"value": "public-2"}, + {"value": "private-1"}, + {"value": "private-2"}, ], }, "imsi_prefix": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "msisdn_prefix": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "rat_type": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", "options": [ - { - "value": "any", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utran", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "geran", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wlan", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gan", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hspa", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "utran"}, + {"value": "geran"}, + {"value": "wlan"}, + {"value": "gan"}, + {"value": "hspa"}, { "value": "eutran", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "virtual", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "nbiot", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, ], "multiple_values": True, "elements": "str", }, "imei": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "rai": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "uli": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "imsi": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "msisdn": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, + "imsi": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "msisdn": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "policy_v2": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, @@ -6475,855 +2358,116 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "messages": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", "options": [ - { - "value": "create-ses-req", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "create-ses-res", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "modify-bearer-req", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "modify-bearer-res", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "create-ses-req"}, + {"value": "create-ses-res"}, + {"value": "modify-bearer-req"}, + {"value": "modify-bearer-res"}, ], "multiple_values": True, "elements": "str", }, "apn_sel_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", - "options": [ - { - "value": "ms", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "net", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "vrf", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "ms"}, {"value": "net"}, {"value": "vrf"}], "multiple_values": True, "elements": "str", }, "max_apn_restriction": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "all", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "public-1", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "public-2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "private-1", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "private-2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "all"}, + {"value": "public-1"}, + {"value": "public-2"}, + {"value": "private-1"}, + {"value": "private-2"}, ], }, "imsi_prefix": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "msisdn_prefix": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "rat_type": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", "options": [ - { - "value": "any", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "utran", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "geran", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "wlan", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "gan", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "hspa", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "eutran", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "virtual", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "nbiot", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "any"}, + {"value": "utran"}, + {"value": "geran"}, + {"value": "wlan"}, + {"value": "gan"}, + {"value": "hspa"}, + {"value": "eutran"}, + {"value": "virtual"}, + {"value": "nbiot"}, { "value": "ltem", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], }, { "value": "nr", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], }, ], "multiple_values": True, "elements": "str", }, "mei": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "uli": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "addr_notify": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "port_notify": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "interface_notify": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "context_id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "ie_remove_policy": { @@ -7331,3933 +2475,531 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, "sgsn_addr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "sgsn_addr6": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], "type": "string", }, "remove_ies": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "list", "options": [ - { - "value": "apn-restriction", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rat-type", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rai", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "uli", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imei", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "apn-restriction"}, + {"value": "rat-type"}, + {"value": "rai"}, + {"value": "uli"}, + {"value": "imei"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "ip_policy": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, "srcaddr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "dstaddr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "srcaddr6": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], + ], "type": "string", }, "dstaddr6": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v6.4.4", "v7.0.8"], + ["v7.2.0", "v7.2.4"], ], + "type": "string", + }, + "action": { + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], + "type": "string", + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "noip_policy": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "etsi", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ietf", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "etsi"}, {"value": "ietf"}], }, "start": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "end": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "message_filter_v0v1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "message_filter_v2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "ie_allow_list_v0v1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "ie_allow_list_v2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "rat_timeout_profile": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "ie_validation": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "dict", "children": { "imsi": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rai": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "reordering_required": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ms_validated": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "selection_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nsapi": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "charging_ID": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "end_user_addr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mm_context": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pdp_context": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gsn_addr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "msisdn": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "qos_profile": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "apn_restriction": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rat_type": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "uli": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ms_tzone": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "imei": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "charging_gateway_addr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "message_rate_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "dict", "children": { "echo_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "echo_reponse": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "version_not_support": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_pdp_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "update_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "update_pdp_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_pdp_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_aa_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_aa_pdp_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_aa_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_aa_pdp_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "error_indication": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "pdu_notify_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "pdu_notify_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "pdu_notify_rej_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "pdu_notify_rej_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "support_ext_hdr_notify": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "send_route_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "send_route_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "failure_report_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "failure_report_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "note_ms_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "note_ms_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "identification_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "identification_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "sgsn_context_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "sgsn_context_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "sgsn_context_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "fwd_relocation_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "fwd_relocation_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "fwd_relocation_complete": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "relocation_cancel_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "relocation_cancel_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "fwd_srns_context": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "fwd_reloc_complete_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "fwd_srns_context_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "ran_info": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_notify_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_notify_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_notify_rej_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_notify_rej_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_mbms_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_mbms_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "update_mbms_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "update_mbms_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_mbms_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_mbms_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_reg_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_reg_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_de_reg_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_de_reg_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_ses_start_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_ses_start_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_ses_stop_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "mbms_ses_stop_response": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "g_pdu": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, }, "rate_limit_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "per-profile", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "per-stream", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "per-apn", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "per-profile"}, + {"value": "per-stream"}, + {"value": "per-apn"}, ], }, "warning_threshold": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "message_rate_limit_v0": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "dict", "children": { "echo_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, }, "message_rate_limit_v1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "dict", "children": { "echo_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_pdp_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, }, "message_rate_limit_v2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "dict", "children": { "echo_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "create_session_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "delete_session_request": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, @@ -11267,171 +3009,29 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, "apn": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "version": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "rate_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ie_white_list_v0v1": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ie_white_list_v2": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, + "ie_white_list_v0v1": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "ie_white_list_v2": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -11466,6 +3066,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_identity_based_route.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_identity_based_route.py index c055531a5..cefe11ddf 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_identity_based_route.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_identity_based_route.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -124,39 +124,28 @@ options: type: str id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure identity based routing. - fortios_firewall_identity_based_route: - vdom: "{{ vdom }}" +- name: Configure identity based routing. + fortinet.fortios.fortios_firewall_identity_based_route: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_identity_based_route: - comments: "" - name: "default_name_4" - rule: - - - device: " (source system.interface.name)" - gateway: "" - groups: - - - name: "default_name_9 (source user.group.name)" - id: "10" - + comments: "" + name: "default_name_4" + rule: + - + device: " (source system.interface.name)" + gateway: "" + groups: + - + name: "default_name_9 (source user.group.name)" + id: "10" """ RETURN = """ @@ -215,7 +204,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -243,6 +231,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_identity_based_route_data(json): @@ -272,7 +263,6 @@ def underscore_to_hyphen(data): def firewall_identity_based_route(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -310,11 +300,16 @@ def firewall_identity_based_route(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -366,7 +361,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "identity-based-route") if data["firewall_identity_based_route"]: resp = firewall_identity_based_route(data, fos, check_mode) @@ -374,7 +368,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_identity_based_route") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -389,274 +383,36 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -693,6 +449,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy.py index cadabd0a1..1147a73fa 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,6 +119,17 @@ options: choices: - 'enable' - 'disable' + casb_profile: + description: + - CASB profile. Source casb.profile.name. + type: str + casb_profile_status: + description: + - Enable/disable CASB. + type: str + choices: + - 'enable' + - 'disable' comments: description: - Comments. @@ -201,7 +214,7 @@ options: - 'disable' policyid: description: - - Policy ID (0 - 4294967295). + - Policy ID (0 - 4294967295). see Notes. required: true type: int scan_botnet_connections: @@ -266,57 +279,48 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 interface policies. - fortios_firewall_interface_policy: - vdom: "{{ vdom }}" +- name: Configure IPv4 interface policies. + fortinet.fortios.fortios_firewall_interface_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_interface_policy: - address_type: "ipv4" - application_list: " (source application.list.name)" - application_list_status: "enable" - av_profile: " (source antivirus.profile.name)" - av_profile_status: "enable" - comments: "" - dlp_profile: " (source dlp.profile.name)" - dlp_profile_status: "enable" - dlp_sensor: " (source dlp.sensor.name)" - dlp_sensor_status: "enable" - dsri: "enable" - dstaddr: - - - name: "default_name_15 (source firewall.address.name firewall.addrgrp.name)" - emailfilter_profile: " (source emailfilter.profile.name)" - emailfilter_profile_status: "enable" - interface: " (source system.zone.name system.interface.name)" - ips_sensor: " (source ips.sensor.name)" - ips_sensor_status: "enable" - label: "" - logtraffic: "all" - policyid: "0" - scan_botnet_connections: "disable" - service: - - - name: "default_name_26 (source firewall.service.custom.name firewall.service.group.name)" - spamfilter_profile: " (source spamfilter.profile.name)" - spamfilter_profile_status: "enable" - srcaddr: - - - name: "default_name_30 (source firewall.address.name firewall.addrgrp.name)" - status: "enable" - webfilter_profile: " (source webfilter.profile.name)" - webfilter_profile_status: "enable" - + address_type: "ipv4" + application_list: " (source application.list.name)" + application_list_status: "enable" + av_profile: " (source antivirus.profile.name)" + av_profile_status: "enable" + casb_profile: " (source casb.profile.name)" + casb_profile_status: "enable" + comments: "" + dlp_profile: " (source dlp.profile.name)" + dlp_profile_status: "enable" + dlp_sensor: " (source dlp.sensor.name)" + dlp_sensor_status: "enable" + dsri: "enable" + dstaddr: + - + name: "default_name_17 (source firewall.address.name firewall.addrgrp.name)" + emailfilter_profile: " (source emailfilter.profile.name)" + emailfilter_profile_status: "enable" + interface: " (source system.zone.name system.interface.name)" + ips_sensor: " (source ips.sensor.name)" + ips_sensor_status: "enable" + label: "" + logtraffic: "all" + policyid: "" + scan_botnet_connections: "disable" + service: + - + name: "default_name_28 (source firewall.service.custom.name firewall.service.group.name)" + spamfilter_profile: " (source spamfilter.profile.name)" + spamfilter_profile_status: "enable" + srcaddr: + - + name: "default_name_32 (source firewall.address.name firewall.addrgrp.name)" + status: "enable" + webfilter_profile: " (source webfilter.profile.name)" + webfilter_profile_status: "enable" """ RETURN = """ @@ -375,7 +379,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -403,6 +406,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_interface_policy_data(json): @@ -412,6 +418,8 @@ def filter_firewall_interface_policy_data(json): "application_list_status", "av_profile", "av_profile_status", + "casb_profile", + "casb_profile_status", "comments", "dlp_profile", "dlp_profile_status", @@ -461,7 +469,6 @@ def underscore_to_hyphen(data): def firewall_interface_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -497,11 +504,16 @@ def firewall_interface_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -551,7 +563,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "interface-policy") if data["firewall_interface_policy"]: resp = firewall_interface_policy(data, fos, check_mode) @@ -559,7 +570,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_interface_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -574,1441 +585,130 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "application_list_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "application_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ips_sensor_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ips_sensor": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dsri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "av_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "av_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "av_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "webfilter_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "webfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "casb_profile_status": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "casb_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, "emailfilter_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "emailfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "emailfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, "dlp_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dlp_profile": {"v_range": [["v7.2.0", ""]], "type": "string"}, "dlp_sensor_status": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dlp_sensor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dlp_sensor": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "address_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, "label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "spamfilter_profile_status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "spamfilter_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "spamfilter_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "scan_botnet_connections": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "block", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monitor", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "block"}, {"value": "monitor"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2045,6 +745,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy6.py index 15f6d6217..28d381a3b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_interface_policy6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,6 +119,17 @@ options: choices: - 'enable' - 'disable' + casb_profile: + description: + - CASB profile. Source casb.profile.name. + type: str + casb_profile_status: + description: + - Enable/disable CASB. + type: str + choices: + - 'enable' + - 'disable' comments: description: - Comments. @@ -201,7 +214,7 @@ options: - 'disable' policyid: description: - - Policy ID (0 - 4294967295). + - Policy ID (0 - 4294967295). see Notes. required: true type: int scan_botnet_connections: @@ -266,57 +279,48 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 interface policies. - fortios_firewall_interface_policy6: - vdom: "{{ vdom }}" +- name: Configure IPv6 interface policies. + fortinet.fortios.fortios_firewall_interface_policy6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_interface_policy6: - address_type: "ipv4" - application_list: " (source application.list.name)" - application_list_status: "enable" - av_profile: " (source antivirus.profile.name)" - av_profile_status: "enable" - comments: "" - dlp_profile: " (source dlp.profile.name)" - dlp_profile_status: "enable" - dlp_sensor: " (source dlp.sensor.name)" - dlp_sensor_status: "enable" - dsri: "enable" - dstaddr6: - - - name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name)" - emailfilter_profile: " (source emailfilter.profile.name)" - emailfilter_profile_status: "enable" - interface: " (source system.zone.name system.interface.name)" - ips_sensor: " (source ips.sensor.name)" - ips_sensor_status: "enable" - label: "" - logtraffic: "all" - policyid: "0" - scan_botnet_connections: "disable" - service6: - - - name: "default_name_26 (source firewall.service.custom.name firewall.service.group.name)" - spamfilter_profile: " (source spamfilter.profile.name)" - spamfilter_profile_status: "enable" - srcaddr6: - - - name: "default_name_30 (source firewall.address6.name firewall.addrgrp6.name)" - status: "enable" - webfilter_profile: " (source webfilter.profile.name)" - webfilter_profile_status: "enable" - + address_type: "ipv4" + application_list: " (source application.list.name)" + application_list_status: "enable" + av_profile: " (source antivirus.profile.name)" + av_profile_status: "enable" + casb_profile: " (source casb.profile.name)" + casb_profile_status: "enable" + comments: "" + dlp_profile: " (source dlp.profile.name)" + dlp_profile_status: "enable" + dlp_sensor: " (source dlp.sensor.name)" + dlp_sensor_status: "enable" + dsri: "enable" + dstaddr6: + - + name: "default_name_17 (source firewall.address6.name firewall.addrgrp6.name)" + emailfilter_profile: " (source emailfilter.profile.name)" + emailfilter_profile_status: "enable" + interface: " (source system.zone.name system.interface.name)" + ips_sensor: " (source ips.sensor.name)" + ips_sensor_status: "enable" + label: "" + logtraffic: "all" + policyid: "" + scan_botnet_connections: "disable" + service6: + - + name: "default_name_28 (source firewall.service.custom.name firewall.service.group.name)" + spamfilter_profile: " (source spamfilter.profile.name)" + spamfilter_profile_status: "enable" + srcaddr6: + - + name: "default_name_32 (source firewall.address6.name firewall.addrgrp6.name)" + status: "enable" + webfilter_profile: " (source webfilter.profile.name)" + webfilter_profile_status: "enable" """ RETURN = """ @@ -375,7 +379,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -403,6 +406,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_interface_policy6_data(json): @@ -412,6 +418,8 @@ def filter_firewall_interface_policy6_data(json): "application_list_status", "av_profile", "av_profile_status", + "casb_profile", + "casb_profile_status", "comments", "dlp_profile", "dlp_profile_status", @@ -461,7 +469,6 @@ def underscore_to_hyphen(data): def firewall_interface_policy6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -497,11 +504,16 @@ def firewall_interface_policy6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -551,7 +563,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "interface-policy6") if data["firewall_interface_policy6"]: resp = firewall_interface_policy6(data, fos, check_mode) @@ -559,7 +570,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_interface_policy6") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -574,1441 +585,130 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "application_list_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "application_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ips_sensor_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ips_sensor": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dsri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "av_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "av_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "av_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "webfilter_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "webfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "casb_profile_status": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "casb_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, "emailfilter_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "emailfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "emailfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, "dlp_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dlp_profile": {"v_range": [["v7.2.0", ""]], "type": "string"}, "dlp_sensor_status": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dlp_sensor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dlp_sensor": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "address_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, "label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "spamfilter_profile_status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "spamfilter_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "spamfilter_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "scan_botnet_connections": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "block", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monitor", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "block"}, {"value": "monitor"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2045,6 +745,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service.py index dbc8cff44..cd678ebdb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,7 +113,7 @@ options: suboptions: id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int ip_number: @@ -140,7 +142,7 @@ options: type: int id: description: - - Internet Service ID. + - Internet Service ID. see Notes. required: true type: int ip_number: @@ -178,43 +180,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Show Internet Service application. - fortios_firewall_internet_service: - vdom: "{{ vdom }}" +- name: Show Internet Service application. + fortinet.fortios.fortios_firewall_internet_service: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service: - database: "isdb" - direction: "src" - entry: - - - id: "6" - ip_number: "32767" - ip_range_number: "2147483647" - port: "32767" - protocol: "127" - extra_ip_range_number: "0" - icon_id: "0" - id: "13" - ip_number: "0" - ip_range_number: "0" - name: "default_name_16" - obsolete: "0" - offset: "2147483647" - reputation: "2147483647" - singularity: "0" - sld_id: "2147483647" - + database: "isdb" + direction: "src" + entry: + - + id: "6" + ip_number: "32767" + ip_range_number: "2147483647" + port: "32767" + protocol: "127" + extra_ip_range_number: "0" + icon_id: "0" + id: "13" + ip_number: "0" + ip_range_number: "0" + name: "default_name_16" + obsolete: "0" + offset: "2147483647" + reputation: "2147483647" + singularity: "0" + sld_id: "2147483647" """ RETURN = """ @@ -273,7 +264,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -301,6 +291,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_data(json): @@ -345,7 +338,6 @@ def underscore_to_hyphen(data): def firewall_internet_service(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -381,11 +373,16 @@ def firewall_internet_service(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -435,7 +432,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service") if data["firewall_internet_service"]: resp = firewall_internet_service(data, fos, check_mode) @@ -443,7 +439,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -459,416 +455,72 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "icon_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "direction": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "src", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dst", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "src"}, {"value": "dst"}, {"value": "both"}], }, "database": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "isdb", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "irdb", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "isdb"}, {"value": "irdb"}], }, "ip_range_number": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "extra_ip_range_number": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "ip_number": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "singularity": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "obsolete": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "reputation": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sld_id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "offset": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, + "reputation": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "sld_id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "offset": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, "entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, - "protocol": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "port": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, + "protocol": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "port": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, "ip_range_number": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "ip_number": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, + "ip_number": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -905,6 +557,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_addition.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_addition.py index 87fb48ef8..0092a76ea 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_addition.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_addition.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'ipv6' id: description: - - Entry ID(1-255). + - Entry ID(1-255). see Notes. required: true type: int port_range: @@ -122,7 +124,7 @@ options: type: int id: description: - - Custom entry port range ID. + - Custom entry port range ID. see Notes. required: true type: int start_port: @@ -135,41 +137,30 @@ options: type: int id: description: - - Internet Service ID in the Internet Service database. Source firewall.internet-service.id. + - Internet Service ID in the Internet Service database. see Notes. Source firewall.internet-service.id. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Internet Services Addition. - fortios_firewall_internet_service_addition: - vdom: "{{ vdom }}" +- name: Configure Internet Services Addition. + fortinet.fortios.fortios_firewall_internet_service_addition: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_addition: - comment: "Comment." - entry: - - - addr_mode: "ipv4" - id: "6" - port_range: - - - end_port: "65535" - id: "9" - start_port: "1" - protocol: "0" - id: "12 (source firewall.internet-service.id)" - + comment: "Comment." + entry: + - + addr_mode: "ipv4" + id: "6" + port_range: + - + end_port: "65535" + id: "9" + start_port: "1" + protocol: "0" + id: "12 (source firewall.internet-service.id)" """ RETURN = """ @@ -228,7 +219,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -256,6 +246,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_addition_data(json): @@ -285,7 +278,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_addition(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -327,11 +319,16 @@ def firewall_internet_service_addition(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -383,7 +380,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-addition") if data["firewall_internet_service_addition"]: resp = firewall_internet_service_addition(data, fos, check_mode) @@ -391,7 +387,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_addition") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -406,319 +402,42 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "protocol": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "port_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "start_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -755,6 +474,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_append.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_append.py index a1f97bdf3..c85ed1763 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_append.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_append.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -99,24 +99,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure additional port mappings for Internet Services. - fortios_firewall_internet_service_append: - vdom: "{{ vdom }}" +- name: Configure additional port mappings for Internet Services. + fortinet.fortios.fortios_firewall_internet_service_append: + vdom: "{{ vdom }}" firewall_internet_service_append: - addr_mode: "ipv4" - append_port: "0" - match_port: "0" - + addr_mode: "ipv4" + append_port: "0" + match_port: "0" """ RETURN = """ @@ -175,7 +164,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,7 +238,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "internet-service-append") if data["firewall_internet_service_append"]: resp = firewall_internet_service_append(data, fos) @@ -269,132 +256,20 @@ def fortios_firewall(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "dict", "children": { "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}, {"value": "both"}], }, "match_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, "append_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, }, @@ -433,6 +308,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_botnet.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_botnet.py index c49d7c659..fc96218b1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_botnet.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_botnet.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Internet Service Botnet ID. + - Internet Service Botnet ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Show Internet Service botnet. - fortios_firewall_internet_service_botnet: - vdom: "{{ vdom }}" +- name: Show Internet Service botnet. + fortinet.fortios.fortios_firewall_internet_service_botnet: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_botnet: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_botnet_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_botnet(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -276,11 +268,16 @@ def firewall_internet_service_botnet(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,7 +329,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-botnet") if data["firewall_internet_service_botnet"]: resp = firewall_internet_service_botnet(data, fos, check_mode) @@ -340,7 +336,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_botnet") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -356,49 +352,16 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -435,6 +398,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom.py index 360bc578b..a47519849 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,7 +100,7 @@ options: suboptions: id: description: - - Disable entry ID. + - Disable entry ID. see Notes. required: true type: int ip_range: @@ -115,7 +115,7 @@ options: type: str id: description: - - Disable entry range ID. + - Disable entry range ID. see Notes. required: true type: int start_ip: @@ -169,7 +169,7 @@ options: type: str id: description: - - Entry ID(1-255). + - Entry ID(1-255). see Notes. required: true type: int port_range: @@ -184,7 +184,7 @@ options: type: int id: description: - - Custom entry port range ID. + - Custom entry port range ID. see Notes. required: true type: int start_port: @@ -211,53 +211,42 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure custom Internet Services. - fortios_firewall_internet_service_custom: - vdom: "{{ vdom }}" +- name: Configure custom Internet Services. + fortinet.fortios.fortios_firewall_internet_service_custom: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_custom: - comment: "Comment." - disable_entry: - - - id: "5" - ip_range: - - - end_ip: "" - id: "8" - start_ip: "" - port: "32767" - protocol: "127" - entry: - - - addr_mode: "ipv4" - dst: - - - name: "default_name_15 (source firewall.address.name firewall.addrgrp.name)" - dst6: - - - name: "default_name_17 (source firewall.address6.name firewall.addrgrp6.name)" - id: "18" - port_range: - - - end_port: "65535" - id: "21" - start_port: "1" - protocol: "0" - master_service_id: "2147483647" - name: "default_name_25" - reputation: "3" - + comment: "Comment." + disable_entry: + - + id: "5" + ip_range: + - + end_ip: "" + id: "8" + start_ip: "" + port: "32767" + protocol: "127" + entry: + - + addr_mode: "ipv4" + dst: + - + name: "default_name_15 (source firewall.address.name firewall.addrgrp.name)" + dst6: + - + name: "default_name_17 (source firewall.address6.name firewall.addrgrp6.name)" + id: "18" + port_range: + - + end_port: "65535" + id: "21" + start_port: "1" + protocol: "0" + master_service_id: "2147483647" + name: "default_name_25" + reputation: "3" """ RETURN = """ @@ -316,7 +305,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -344,6 +332,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_custom_data(json): @@ -380,7 +371,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_custom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -422,11 +412,16 @@ def firewall_internet_service_custom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -478,7 +473,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-custom") if data["firewall_internet_service_custom"]: resp = firewall_internet_service_custom(data, fos, check_mode) @@ -486,7 +480,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_custom") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -501,541 +495,102 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "reputation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "reputation": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "port_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "start_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "dst": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dst6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "master_service_id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "master_service_id": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, "disable_entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, - "protocol": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "port": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, + "protocol": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "port": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, "ip_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, "start_ip": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, "end_ip": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1072,6 +627,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom_group.py index 7fa2807db..7a647731b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_custom_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure custom Internet Service group. - fortios_firewall_internet_service_custom_group: - vdom: "{{ vdom }}" +- name: Configure custom Internet Service group. + fortinet.fortios.fortios_firewall_internet_service_custom_group: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_custom_group: - comment: "Comment." - member: - - - name: "default_name_5 (source firewall.internet-service-custom.name)" - name: "default_name_6" - + comment: "Comment." + member: + - + name: "default_name_5 (source firewall.internet-service-custom.name)" + name: "default_name_6" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +207,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_custom_group_data(json): @@ -248,7 +239,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_custom_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -292,11 +282,16 @@ def firewall_internet_service_custom_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -351,7 +346,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-custom-group") if data["firewall_internet_service_custom_group"]: resp = firewall_internet_service_custom_group(data, fos, check_mode) @@ -359,7 +353,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_custom_group") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -374,154 +368,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -558,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_definition.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_definition.py index 3aaaac194..f85f08b7b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_definition.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_definition.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,7 +116,7 @@ options: type: int id: description: - - Custom entry port range ID. + - Custom entry port range ID. see Notes. required: true type: int start_port: @@ -127,46 +129,35 @@ options: type: int seq_num: description: - - Entry sequence number. + - Entry sequence number. see Notes. required: true type: int id: description: - - Internet Service application list ID. + - Internet Service application list ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Internet Service definition. - fortios_firewall_internet_service_definition: - vdom: "{{ vdom }}" +- name: Configure Internet Service definition. + fortinet.fortios.fortios_firewall_internet_service_definition: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_definition: - entry: - - - category_id: "0" - name: "default_name_5" - port_range: - - - end_port: "65535" - id: "8" - start_port: "1" - protocol: "0" - seq_num: "6" - id: "12" - + entry: + - + category_id: "0" + name: "default_name_5" + port_range: + - + end_port: "65535" + id: "8" + start_port: "1" + protocol: "0" + seq_num: "" + id: "12" """ RETURN = """ @@ -225,7 +216,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -253,6 +243,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_definition_data(json): @@ -282,7 +275,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_definition(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -326,11 +318,16 @@ def firewall_internet_service_definition(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -385,7 +382,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-definition") if data["firewall_internet_service_definition"]: resp = firewall_internet_service_definition(data, fos, check_mode) @@ -393,7 +389,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_definition") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -413,29 +409,7 @@ versioned_schema = { "elements": "dict", "children": { "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, @@ -444,221 +418,43 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "start_port": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "end_port": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "category_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "protocol": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -695,6 +491,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_extension.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_extension.py index 3c096761c..c9c97ceed 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_extension.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_extension.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'ipv6' id: description: - - Disable entry ID. + - Disable entry ID. see Notes. required: true type: int ip_range: @@ -122,7 +124,7 @@ options: type: str id: description: - - Disable entry range ID. + - Disable entry range ID. see Notes. required: true type: int start_ip: @@ -141,7 +143,7 @@ options: type: str id: description: - - Disable entry range ID. + - Disable entry range ID. see Notes. required: true type: int start_ip6: @@ -160,7 +162,7 @@ options: type: int id: description: - - Custom entry port range ID. + - Custom entry port range ID. see Notes. required: true type: int start_port: @@ -210,7 +212,7 @@ options: type: str id: description: - - Entry ID(1-255). + - Entry ID(1-255). see Notes. required: true type: int port_range: @@ -225,7 +227,7 @@ options: type: int id: description: - - Custom entry port range ID. + - Custom entry port range ID. see Notes. required: true type: int start_port: @@ -238,67 +240,56 @@ options: type: int id: description: - - Internet Service ID in the Internet Service database. Source firewall.internet-service.id. + - Internet Service ID in the Internet Service database. see Notes. Source firewall.internet-service.id. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Internet Services Extension. - fortios_firewall_internet_service_extension: - vdom: "{{ vdom }}" +- name: Configure Internet Services Extension. + fortinet.fortios.fortios_firewall_internet_service_extension: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_extension: - comment: "Comment." - disable_entry: - - - addr_mode: "ipv4" - id: "6" - ip_range: - - - end_ip: "" - id: "9" - start_ip: "" - ip6_range: - - - end_ip6: "" - id: "13" - start_ip6: "" - port_range: - - - end_port: "65535" - id: "17" - start_port: "1" - protocol: "0" - entry: - - - addr_mode: "ipv4" - dst: - - - name: "default_name_23 (source firewall.address.name firewall.addrgrp.name)" - dst6: - - - name: "default_name_25 (source firewall.address6.name firewall.addrgrp6.name)" - id: "26" - port_range: - - - end_port: "65535" - id: "29" - start_port: "1" - protocol: "0" - id: "32 (source firewall.internet-service.id)" - + comment: "Comment." + disable_entry: + - + addr_mode: "ipv4" + id: "6" + ip_range: + - + end_ip: "" + id: "9" + start_ip: "" + ip6_range: + - + end_ip6: "" + id: "13" + start_ip6: "" + port_range: + - + end_port: "65535" + id: "17" + start_port: "1" + protocol: "0" + entry: + - + addr_mode: "ipv4" + dst: + - + name: "default_name_23 (source firewall.address.name firewall.addrgrp.name)" + dst6: + - + name: "default_name_25 (source firewall.address6.name firewall.addrgrp6.name)" + id: "26" + port_range: + - + end_port: "65535" + id: "29" + start_port: "1" + protocol: "0" + id: "32 (source firewall.internet-service.id)" """ RETURN = """ @@ -357,7 +348,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -385,6 +375,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_extension_data(json): @@ -414,7 +407,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_extension(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -458,11 +450,16 @@ def firewall_internet_service_extension(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -517,7 +514,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-extension") if data["firewall_internet_service_extension"]: resp = firewall_internet_service_extension(data, fos, check_mode) @@ -525,7 +521,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_extension") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -540,815 +536,126 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "protocol": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "port_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "start_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], }, "dst": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "dst6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "disable_entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "protocol": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "port_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "start_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], }, "ip_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "start_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "ip6_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", "required": True, }, - "start_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "end_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, + "start_ip6": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "end_ip6": {"v_range": [["v7.2.1", ""]], "type": "string"}, }, + "v_range": [["v7.2.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1385,6 +692,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_group.py index 09c78c06b..a40dd9482 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,30 +123,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure group of Internet Service. - fortios_firewall_internet_service_group: - vdom: "{{ vdom }}" +- name: Configure group of Internet Service. + fortinet.fortios.fortios_firewall_internet_service_group: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_group: - comment: "Comment." - direction: "source" - member: - - - id: "6 (source firewall.internet-service.id)" - name: "default_name_7 (source firewall.internet-service-name.name)" - name: "default_name_8" - + comment: "Comment." + direction: "source" + member: + - + id: "6 (source firewall.internet-service.id)" + name: "default_name_7 (source firewall.internet-service-name.name)" + name: "default_name_8" """ RETURN = """ @@ -205,7 +194,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -233,6 +221,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_group_data(json): @@ -262,7 +253,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -304,11 +294,16 @@ def firewall_internet_service_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -360,7 +355,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-group") if data["firewall_internet_service_group"]: resp = firewall_internet_service_group(data, fos, check_mode) @@ -368,7 +362,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_group") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -383,172 +377,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "source", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "destination", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "source"}, + {"value": "destination"}, + {"value": "both"}, ], }, "member": { @@ -556,102 +393,16 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, - "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -688,6 +439,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_reason.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_reason.py index 3ae16d278..7999e8800 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_reason.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_reason.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - IP block list reason ID. + - IP block list reason ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: IP block list reason. - fortios_firewall_internet_service_ipbl_reason: - vdom: "{{ vdom }}" +- name: IP block list reason. + fortinet.fortios.fortios_firewall_internet_service_ipbl_reason: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_ipbl_reason: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_ipbl_reason_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_ipbl_reason(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +270,16 @@ def firewall_internet_service_ipbl_reason(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -337,7 +334,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-ipbl-reason") if data["firewall_internet_service_ipbl_reason"]: resp = firewall_internet_service_ipbl_reason(data, fos, check_mode) @@ -345,7 +341,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_ipbl_reason") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -361,58 +357,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -449,6 +411,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_vendor.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_vendor.py index 25605e228..7047dc742 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_vendor.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_ipbl_vendor.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - IP block list vendor ID. + - IP block list vendor ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: IP block list vendor. - fortios_firewall_internet_service_ipbl_vendor: - vdom: "{{ vdom }}" +- name: IP block list vendor. + fortinet.fortios.fortios_firewall_internet_service_ipbl_vendor: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_ipbl_vendor: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_ipbl_vendor_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_ipbl_vendor(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +270,16 @@ def firewall_internet_service_ipbl_vendor(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -337,7 +334,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-ipbl-vendor") if data["firewall_internet_service_ipbl_vendor"]: resp = firewall_internet_service_ipbl_vendor(data, fos, check_mode) @@ -345,7 +341,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_ipbl_vendor") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -361,58 +357,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -449,6 +411,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_list.py index efd031809..fc8df6e28 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_list.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Internet Service category ID. + - Internet Service category ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Internet Service list. - fortios_firewall_internet_service_list: - vdom: "{{ vdom }}" +- name: Internet Service list. + fortinet.fortios.fortios_firewall_internet_service_list: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_list: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_list_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -274,11 +266,16 @@ def firewall_internet_service_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -330,7 +327,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-list") if data["firewall_internet_service_list"]: resp = firewall_internet_service_list(data, fos, check_mode) @@ -338,7 +334,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_list") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -354,58 +350,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -442,6 +404,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_name.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_name.py index 3a608ab26..7fe80c70f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_name.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_name.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,29 +119,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Define internet service names. - fortios_firewall_internet_service_name: - vdom: "{{ vdom }}" +- name: Define internet service names. + fortinet.fortios.fortios_firewall_internet_service_name: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_name: - city_id: "0" - country_id: "0" - internet_service_id: "0" - name: "default_name_6" - region_id: "0" - type: "default" - + city_id: "0" + country_id: "0" + internet_service_id: "0" + name: "default_name_6" + region_id: "0" + type: "default" """ RETURN = """ @@ -200,7 +189,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -228,6 +216,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_name_data(json): @@ -264,7 +255,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_name(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -304,11 +294,16 @@ def firewall_internet_service_name(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -360,7 +355,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-name") if data["firewall_internet_service_name"]: resp = firewall_internet_service_name(data, fos, check_mode) @@ -368,7 +362,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_name") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -383,205 +377,18 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "location", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "internet_service_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "country_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "region_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "city_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "location"}], }, + "internet_service_id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "country_id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "region_id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "city_id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -618,6 +425,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_owner.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_owner.py index 479fad514..00c4a98c3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_owner.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_owner.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Internet Service owner ID. + - Internet Service owner ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Internet Service owner. - fortios_firewall_internet_service_owner: - vdom: "{{ vdom }}" +- name: Internet Service owner. + fortinet.fortios.fortios_firewall_internet_service_owner: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_owner: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_owner_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_owner(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -276,11 +268,16 @@ def firewall_internet_service_owner(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,7 +329,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-owner") if data["firewall_internet_service_owner"]: resp = firewall_internet_service_owner(data, fos, check_mode) @@ -340,7 +336,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_owner") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -356,58 +352,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -444,6 +406,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_reputation.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_reputation.py index 0a9337ba9..4f14c2ccb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_reputation.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_reputation.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,31 +96,20 @@ options: type: str id: description: - - Internet Service Reputation ID. + - Internet Service Reputation ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Show Internet Service reputation. - fortios_firewall_internet_service_reputation: - vdom: "{{ vdom }}" +- name: Show Internet Service reputation. + fortinet.fortios.fortios_firewall_internet_service_reputation: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_reputation: - description: "" - id: "4" - + description: "" + id: "4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_reputation_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_reputation(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +270,16 @@ def firewall_internet_service_reputation(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -337,7 +334,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-reputation") if data["firewall_internet_service_reputation"]: resp = firewall_internet_service_reputation(data, fos, check_mode) @@ -345,7 +341,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_reputation") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -361,58 +357,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", "required": True, }, "description": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -449,6 +411,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_sld.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_sld.py index 37f635d2a..44fd072d7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_sld.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_internet_service_sld.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Second Level Domain ID. + - Second Level Domain ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Internet Service Second Level Domain. - fortios_firewall_internet_service_sld: - vdom: "{{ vdom }}" +- name: Internet Service Second Level Domain. + fortinet.fortios.fortios_firewall_internet_service_sld: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_internet_service_sld: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_internet_service_sld_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_internet_service_sld(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -272,11 +264,16 @@ def firewall_internet_service_sld(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -328,7 +325,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "internet-service-sld") if data["firewall_internet_service_sld"]: resp = firewall_internet_service_sld(data, fos, check_mode) @@ -336,7 +332,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_internet_service_sld") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -352,58 +348,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -440,6 +402,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ip_translation.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ip_translation.py index baea06510..d5a86f9c9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ip_translation.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ip_translation.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the transid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -102,7 +104,7 @@ options: type: str transid: description: - - IP translation ID. + - IP translation ID. see Notes. required: true type: int type: @@ -114,28 +116,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure firewall IP-translation. - fortios_firewall_ip_translation: - vdom: "{{ vdom }}" +- name: Configure firewall IP-translation. + fortinet.fortios.fortios_firewall_ip_translation: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ip_translation: - endip: "" - map_startip: "" - startip: "" - transid: "0" - type: "SCTP" - + endip: "" + map_startip: "" + startip: "" + transid: "" + type: "SCTP" """ RETURN = """ @@ -194,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -222,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ip_translation_data(json): @@ -251,7 +244,6 @@ def underscore_to_hyphen(data): def firewall_ip_translation(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -287,11 +279,16 @@ def firewall_ip_translation(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -341,13 +338,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "ip-translation") if data["firewall_ip_translation"]: resp = firewall_ip_translation(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ip_translation")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -362,210 +358,17 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "transid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "transid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "SCTP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], - }, - "startip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "endip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "map_startip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "SCTP"}], }, + "startip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "endip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "map_startip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -602,6 +405,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_setting.py index c6ee30194..2a0a8254e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,24 +104,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IP to MAC binding settings. - fortios_firewall_ipmacbinding_setting: - vdom: "{{ vdom }}" +- name: Configure IP to MAC binding settings. + fortinet.fortios.fortios_firewall_ipmacbinding_setting: + vdom: "{{ vdom }}" firewall_ipmacbinding_setting: - bindthroughfw: "enable" - bindtofw: "enable" - undefinedhost: "allow" - + bindthroughfw: "enable" + bindtofw: "enable" + undefinedhost: "allow" """ RETURN = """ @@ -180,7 +169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -253,7 +241,6 @@ def is_successful_status(resp): def fortios_firewall_ipmacbinding(data, fos): - fos.do_member_operation("firewall.ipmacbinding", "setting") if data["firewall_ipmacbinding_setting"]: resp = firewall_ipmacbinding_setting(data, fos) @@ -272,300 +259,23 @@ def fortios_firewall_ipmacbinding(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "bindthroughfw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bindtofw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "undefinedhost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, }, } @@ -603,6 +313,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_table.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_table.py index 82ae896bb..405168349 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_table.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipmacbinding_table.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the seq_num instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -102,7 +104,7 @@ options: type: str seq_num: description: - - Entry number. + - Entry number. see Notes. required: true type: int status: @@ -115,28 +117,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IP to MAC address pairs in the IP/MAC binding table. - fortios_firewall_ipmacbinding_table: - vdom: "{{ vdom }}" +- name: Configure IP to MAC address pairs in the IP/MAC binding table. + fortinet.fortios.fortios_firewall_ipmacbinding_table: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ipmacbinding_table: - ip: "" - mac: "" - name: "default_name_5" - seq_num: "0" - status: "enable" - + ip: "" + mac: "" + name: "default_name_5" + seq_num: "" + status: "enable" """ RETURN = """ @@ -195,7 +186,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -223,6 +213,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ipmacbinding_table_data(json): @@ -252,7 +245,6 @@ def underscore_to_hyphen(data): def firewall_ipmacbinding_table(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -288,11 +280,16 @@ def firewall_ipmacbinding_table(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -342,7 +339,6 @@ def is_successful_status(resp): def fortios_firewall_ipmacbinding(data, fos, check_mode): - fos.do_member_operation("firewall.ipmacbinding", "table") if data["firewall_ipmacbinding_table"]: resp = firewall_ipmacbinding_table(data, fos, check_mode) @@ -350,7 +346,7 @@ def fortios_firewall_ipmacbinding(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_ipmacbinding_table") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,239 +361,17 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "seq_num": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mac": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -634,6 +408,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool.py index 69abe78e5..9c633222b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -192,43 +192,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 IP pools. - fortios_firewall_ippool: - vdom: "{{ vdom }}" +- name: Configure IPv4 IP pools. + fortinet.fortios.fortios_firewall_ippool: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ippool: - add_nat64_route: "disable" - arp_intf: " (source system.interface.name)" - arp_reply: "disable" - associated_interface: " (source system.interface.name)" - block_size: "128" - comments: "" - endip: "" - endport: "65533" - name: "default_name_11" - nat64: "disable" - num_blocks_per_user: "8" - pba_timeout: "30" - permit_any_host: "disable" - port_per_user: "0" - source_endip: "" - source_startip: "" - startip: "" - startport: "5117" - subnet_broadcast_in_ippool: "disable" - type: "overload" - + add_nat64_route: "disable" + arp_intf: " (source system.interface.name)" + arp_reply: "disable" + associated_interface: " (source system.interface.name)" + block_size: "128" + comments: "" + endip: "" + endport: "65533" + name: "default_name_11" + nat64: "disable" + num_blocks_per_user: "8" + pba_timeout: "30" + permit_any_host: "disable" + port_per_user: "0" + source_endip: "" + source_startip: "" + startip: "" + startport: "5117" + subnet_broadcast_in_ippool: "disable" + type: "overload" """ RETURN = """ @@ -287,7 +276,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -315,6 +303,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ippool_data(json): @@ -365,7 +356,6 @@ def underscore_to_hyphen(data): def firewall_ippool(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -401,11 +391,16 @@ def firewall_ippool(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -453,13 +448,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "ippool") if data["firewall_ippool"]: resp = firewall_ippool(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ippool")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -474,938 +468,57 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "overload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "one-to-one", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fixed-port-range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "port-block-allocation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "overload"}, + {"value": "one-to-one"}, + {"value": "fixed-port-range"}, + {"value": "port-block-allocation"}, ], }, - "startip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "endip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "startport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "endport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "source_startip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_endip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "block_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "port_per_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "num_blocks_per_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "pba_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "startip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "endip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "startport": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "endport": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "source_startip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_endip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "block_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "port_per_user": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "num_blocks_per_user": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "pba_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "permit_any_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "arp_reply": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "arp_intf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "associated_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "arp_intf": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "associated_interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "nat64": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "add_nat64_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "subnet_broadcast_in_ippool": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.0.8": True}, - }, - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.0.8": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1440,6 +553,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool6.py index a3c306e10..3ec84ca6d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ippool6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,29 +122,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 IP pools. - fortios_firewall_ippool6: - vdom: "{{ vdom }}" +- name: Configure IPv6 IP pools. + fortinet.fortios.fortios_firewall_ippool6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ippool6: - add_nat46_route: "disable" - comments: "" - endip: "" - name: "default_name_6" - nat46: "disable" - startip: "" - + add_nat46_route: "disable" + comments: "" + endip: "" + name: "default_name_6" + nat46: "disable" + startip: "" """ RETURN = """ @@ -203,7 +192,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -231,6 +219,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ippool6_data(json): @@ -260,7 +251,6 @@ def underscore_to_hyphen(data): def firewall_ippool6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -296,11 +286,16 @@ def firewall_ippool6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -348,13 +343,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "ippool6") if data["firewall_ippool6"]: resp = firewall_ippool6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ippool6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -369,284 +363,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "startip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "endip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "startip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "endip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "nat46": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "add_nat46_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -681,6 +413,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_iprope_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_iprope_list.py index dff2b6241..39dc763e9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_iprope_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_iprope_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: List. - fortios_firewall_iprope_list: - vdom: "{{ vdom }}" +- name: List. + fortinet.fortios.fortios_firewall_iprope_list: + vdom: "{{ vdom }}" firewall_iprope_list: - group_number: "" - + group_number: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_firewall_iprope(data, fos): - fos.do_member_operation("firewall.iprope", "list") if data["firewall_iprope_list"]: resp = firewall_iprope_list(data, fos) @@ -275,39 +262,15 @@ def fortios_firewall_iprope(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "group_number": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -344,6 +307,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipv6_eh_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipv6_eh_filter.py index 4f52cac10..9ffaf05ad 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipv6_eh_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ipv6_eh_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -135,29 +135,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 extension header filter. - fortios_firewall_ipv6_eh_filter: - vdom: "{{ vdom }}" +- name: Configure IPv6 extension header filter. + fortinet.fortios.fortios_firewall_ipv6_eh_filter: + vdom: "{{ vdom }}" firewall_ipv6_eh_filter: - auth: "enable" - dest_opt: "enable" - fragment: "enable" - hdopt_type: "" - hop_opt: "enable" - no_next: "enable" - routing: "enable" - routing_type: "" - + auth: "enable" + dest_opt: "enable" + fragment: "enable" + hdopt_type: "" + hop_opt: "enable" + no_next: "enable" + routing: "enable" + routing_type: "" """ RETURN = """ @@ -216,7 +205,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -331,7 +319,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "ipv6-eh-filter") if data["firewall_ipv6_eh_filter"]: resp = firewall_ipv6_eh_filter(data, fos) @@ -348,629 +335,50 @@ def fortios_firewall(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "hop_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dest_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hdopt_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "routing_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "fragment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "no_next": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -1008,6 +416,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ldb_monitor.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ldb_monitor.py index 7c40b691a..3b663fff1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ldb_monitor.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ldb_monitor.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -154,36 +154,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure server load balancing health monitors. - fortios_firewall_ldb_monitor: - vdom: "{{ vdom }}" +- name: Configure server load balancing health monitors. + fortinet.fortios.fortios_firewall_ldb_monitor: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ldb_monitor: - dns_match_ip: "" - dns_protocol: "udp" - dns_request_domain: "" - http_get: "" - http_match: "" - http_max_redirects: "0" - interval: "10" - name: "default_name_10" - port: "0" - retry: "3" - src_ip: "" - timeout: "2" - type: "ping" - + dns_match_ip: "" + dns_protocol: "udp" + dns_request_domain: "" + http_get: "" + http_match: "" + http_max_redirects: "0" + interval: "10" + name: "default_name_10" + port: "0" + retry: "3" + src_ip: "" + timeout: "2" + type: "ping" """ RETURN = """ @@ -242,7 +231,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -270,6 +258,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ldb_monitor_data(json): @@ -313,7 +304,6 @@ def underscore_to_hyphen(data): def firewall_ldb_monitor(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -349,11 +339,16 @@ def firewall_ldb_monitor(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -403,13 +398,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "ldb-monitor") if data["firewall_ldb_monitor"]: resp = firewall_ldb_monitor(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ldb_monitor")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -424,626 +418,39 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ping"}, + {"value": "tcp"}, + {"value": "http"}, + {"value": "https", "v_range": [["v6.2.0", ""]]}, + {"value": "dns", "v_range": [["v7.0.0", ""]]}, { "value": "passive-sip", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, ], }, - "interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "retry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "src_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "http_get": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_max_redirects": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "retry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "src_ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "http_get": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_match": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_max_redirects": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dns_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "dns_request_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "dns_match_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "udp"}, {"value": "tcp"}], }, + "dns_request_domain": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "dns_match_ip": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1078,6 +485,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy.py index 2a37ab84e..19732d4ab 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -130,7 +132,7 @@ options: type: str policyid: description: - - User defined local in policy ID. + - User defined local in policy ID. see Notes. required: true type: int schedule: @@ -195,44 +197,33 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure user defined IPv4 local-in policies. - fortios_firewall_local_in_policy: - vdom: "{{ vdom }}" +- name: Configure user defined IPv4 local-in policies. + fortinet.fortios.fortios_firewall_local_in_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_local_in_policy: - action: "accept" - comments: "" - dstaddr: - - - name: "default_name_6 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" - dstaddr_negate: "enable" - ha_mgmt_intf_only: "enable" - intf: " (source system.zone.name system.interface.name)" - policyid: "0" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - service: - - - name: "default_name_13 (source firewall.service.custom.name firewall.service.group.name)" - service_negate: "enable" - srcaddr: - - - name: "default_name_16 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" - srcaddr_negate: "enable" - status: "enable" - uuid: "" - virtual_patch: "enable" - + action: "accept" + comments: "" + dstaddr: + - + name: "default_name_6 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" + dstaddr_negate: "enable" + ha_mgmt_intf_only: "enable" + intf: " (source system.zone.name system.interface.name)" + policyid: "" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + service: + - + name: "default_name_13 (source firewall.service.custom.name firewall.service.group.name)" + service_negate: "enable" + srcaddr: + - + name: "default_name_16 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" + srcaddr_negate: "enable" + status: "enable" + uuid: "" + virtual_patch: "enable" """ RETURN = """ @@ -291,7 +282,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -319,6 +309,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_local_in_policy_data(json): @@ -364,7 +357,6 @@ def underscore_to_hyphen(data): def firewall_local_in_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -400,11 +392,16 @@ def firewall_local_in_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -454,7 +451,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "local-in-policy") if data["firewall_local_in_policy"]: resp = firewall_local_in_policy(data, fos, check_mode) @@ -462,7 +458,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_local_in_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -477,872 +473,84 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "uuid": {"v_range": [["v6.4.0", ""]], "type": "string"}, "ha_mgmt_intf_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "intf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "intf": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "virtual_patch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1379,6 +587,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy6.py index 84cde78af..166a3a11f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_local_in_policy6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,7 +125,7 @@ options: type: str policyid: description: - - User defined local in policy ID. + - User defined local in policy ID. see Notes. required: true type: int schedule: @@ -188,43 +190,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure user defined IPv6 local-in policies. - fortios_firewall_local_in_policy6: - vdom: "{{ vdom }}" +- name: Configure user defined IPv6 local-in policies. + fortinet.fortios.fortios_firewall_local_in_policy6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_local_in_policy6: - action: "accept" - comments: "" - dstaddr: - - - name: "default_name_6 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - dstaddr_negate: "enable" - intf: " (source system.zone.name system.interface.name)" - policyid: "0" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - service: - - - name: "default_name_12 (source firewall.service.custom.name firewall.service.group.name)" - service_negate: "enable" - srcaddr: - - - name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - srcaddr_negate: "enable" - status: "enable" - uuid: "" - virtual_patch: "enable" - + action: "accept" + comments: "" + dstaddr: + - + name: "default_name_6 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + dstaddr_negate: "enable" + intf: " (source system.zone.name system.interface.name)" + policyid: "" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + service: + - + name: "default_name_12 (source firewall.service.custom.name firewall.service.group.name)" + service_negate: "enable" + srcaddr: + - + name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + srcaddr_negate: "enable" + status: "enable" + uuid: "" + virtual_patch: "enable" """ RETURN = """ @@ -283,7 +274,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -311,6 +301,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_local_in_policy6_data(json): @@ -355,7 +348,6 @@ def underscore_to_hyphen(data): def firewall_local_in_policy6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -391,11 +383,16 @@ def firewall_local_in_policy6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -445,7 +442,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "local-in-policy6") if data["firewall_local_in_policy6"]: resp = firewall_local_in_policy6(data, fos, check_mode) @@ -453,7 +449,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_local_in_policy6") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -468,783 +464,79 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "intf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "uuid": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "intf": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "virtual_patch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1281,6 +573,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_mms_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_mms_profile.py index 59d51ffa5..a69ad1e3e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_mms_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_mms_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -884,157 +884,146 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure MMS profiles. - fortios_firewall_mms_profile: - vdom: "{{ vdom }}" +- name: Configure MMS profiles. + fortinet.fortios.fortios_firewall_mms_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_mms_profile: - avnotificationtable: "2147483647" - bwordtable: "2147483647" - carrier_endpoint_prefix: "enable" - carrier_endpoint_prefix_range_max: "24" - carrier_endpoint_prefix_range_min: "24" - carrier_endpoint_prefix_string: "" - carrierendpointbwltable: "2147483647" - comment: "Comment." - dupe: - - - action1: "block" - action2: "block" - action3: "block" - block_time1: "17895" - block_time2: "17895" - block_time3: "17895" - limit1: "1073741823" - limit2: "1073741823" - limit3: "1073741823" - protocol: "" - status1: "enable" - status2: "enable" - status3: "enable" - window1: "1440" - window2: "1440" - window3: "1440" - extended_utm_log: "" - flood: - - - action1: "block" - action2: "block" - action3: "block" - block_time1: "17895" - block_time2: "17895" - block_time3: "17895" - limit1: "1073741823" - limit2: "1073741823" - limit3: "1073741823" - protocol: "" - status1: "enable" - status2: "enable" - status3: "enable" - window1: "1440" - window2: "1440" - window3: "1440" - mm1: "avmonitor" - mm1_addr_hdr: "" - mm1_addr_source: "http-header" - mm1_convert_hex: "enable" - mm1_outbreak_prevention: "disabled" - mm1_retr_dupe: "enable" - mm1_retrieve_scan: "enable" - mm1comfortamount: "2147483647" - mm1comfortinterval: "2147483647" - mm1oversizelimit: "409600" - mm3: "avmonitor" - mm3_outbreak_prevention: "disabled" - mm3oversizelimit: "409600" - mm4: "avmonitor" - mm4_outbreak_prevention: "disabled" - mm4oversizelimit: "409600" - mm7: "avmonitor" - mm7_addr_hdr: "" - mm7_addr_source: "http-header" - mm7_convert_hex: "enable" - mm7_outbreak_prevention: "disabled" - mm7comfortamount: "2147483647" - mm7comfortinterval: "2147483647" - mm7oversizelimit: "409600" - mms_antispam_mass_log: "enable" - mms_av_block_log: "enable" - mms_av_oversize_log: "enable" - mms_av_virus_log: "enable" - mms_carrier_endpoint_filter_log: "enable" - mms_checksum_log: "enable" - mms_checksum_table: "2147483647" - mms_notification_log: "enable" - mms_web_content_log: "enable" - mmsbwordthreshold: "1073741823" - name: "default_name_80" - notif_msisdn: - - - msisdn: "" - threshold: "flood-thresh-1" - notification: - - - alert_int: "720" - alert_int_mode: "hours" - alert_src_msisdn: "" - alert_status: "enable" - bword_int: "720" - bword_int_mode: "hours" - bword_status: "enable" - carrier_endpoint_bwl_int: "720" - carrier_endpoint_bwl_int_mode: "hours" - carrier_endpoint_bwl_status: "enable" - days_allowed: "sunday" - detect_server: "enable" - dupe_int: "720" - dupe_int_mode: "hours" - dupe_status: "enable" - file_block_int: "720" - file_block_int_mode: "hours" - file_block_status: "enable" - flood_int: "720" - flood_int_mode: "hours" - flood_status: "enable" - from_in_header: "enable" - mms_checksum_int: "720" - mms_checksum_int_mode: "hours" - mms_checksum_status: "enable" - mmsc_hostname: "myhostname" - mmsc_password: "" - mmsc_port: "32767" - mmsc_url: "" - mmsc_username: "" - msg_protocol: "mm1" - msg_type: "submit-req" - protocol: "" - rate_limit: "125" - tod_window_duration: "" - tod_window_end: "" - tod_window_start: "" - user_domain: "" - vas_id: "" - vasp_id: "" - virus_int: "720" - virus_int_mode: "hours" - virus_status: "enable" - outbreak_prevention: - external_blocklist: "disable" - ftgd_service: "disable" - remove_blocked_const_length: "enable" - replacemsg_group: " (source system.replacemsg-group.name)" - + avnotificationtable: "2147483647" + bwordtable: "2147483647" + carrier_endpoint_prefix: "enable" + carrier_endpoint_prefix_range_max: "24" + carrier_endpoint_prefix_range_min: "24" + carrier_endpoint_prefix_string: "" + carrierendpointbwltable: "2147483647" + comment: "Comment." + dupe: + - + action1: "block" + action2: "block" + action3: "block" + block_time1: "17895" + block_time2: "17895" + block_time3: "17895" + limit1: "1073741823" + limit2: "1073741823" + limit3: "1073741823" + protocol: "" + status1: "enable" + status2: "enable" + status3: "enable" + window1: "1440" + window2: "1440" + window3: "1440" + extended_utm_log: "" + flood: + - + action1: "block" + action2: "block" + action3: "block" + block_time1: "17895" + block_time2: "17895" + block_time3: "17895" + limit1: "1073741823" + limit2: "1073741823" + limit3: "1073741823" + protocol: "" + status1: "enable" + status2: "enable" + status3: "enable" + window1: "1440" + window2: "1440" + window3: "1440" + mm1: "avmonitor" + mm1_addr_hdr: "" + mm1_addr_source: "http-header" + mm1_convert_hex: "enable" + mm1_outbreak_prevention: "disabled" + mm1_retr_dupe: "enable" + mm1_retrieve_scan: "enable" + mm1comfortamount: "2147483647" + mm1comfortinterval: "2147483647" + mm1oversizelimit: "409600" + mm3: "avmonitor" + mm3_outbreak_prevention: "disabled" + mm3oversizelimit: "409600" + mm4: "avmonitor" + mm4_outbreak_prevention: "disabled" + mm4oversizelimit: "409600" + mm7: "avmonitor" + mm7_addr_hdr: "" + mm7_addr_source: "http-header" + mm7_convert_hex: "enable" + mm7_outbreak_prevention: "disabled" + mm7comfortamount: "2147483647" + mm7comfortinterval: "2147483647" + mm7oversizelimit: "409600" + mms_antispam_mass_log: "enable" + mms_av_block_log: "enable" + mms_av_oversize_log: "enable" + mms_av_virus_log: "enable" + mms_carrier_endpoint_filter_log: "enable" + mms_checksum_log: "enable" + mms_checksum_table: "2147483647" + mms_notification_log: "enable" + mms_web_content_log: "enable" + mmsbwordthreshold: "1073741823" + name: "default_name_80" + notif_msisdn: + - + msisdn: "" + threshold: "flood-thresh-1" + notification: + - + alert_int: "720" + alert_int_mode: "hours" + alert_src_msisdn: "" + alert_status: "enable" + bword_int: "720" + bword_int_mode: "hours" + bword_status: "enable" + carrier_endpoint_bwl_int: "720" + carrier_endpoint_bwl_int_mode: "hours" + carrier_endpoint_bwl_status: "enable" + days_allowed: "sunday" + detect_server: "enable" + dupe_int: "720" + dupe_int_mode: "hours" + dupe_status: "enable" + file_block_int: "720" + file_block_int_mode: "hours" + file_block_status: "enable" + flood_int: "720" + flood_int_mode: "hours" + flood_status: "enable" + from_in_header: "enable" + mms_checksum_int: "720" + mms_checksum_int_mode: "hours" + mms_checksum_status: "enable" + mmsc_hostname: "myhostname" + mmsc_password: "" + mmsc_port: "32767" + mmsc_url: "" + mmsc_username: "" + msg_protocol: "mm1" + msg_type: "submit-req" + protocol: "" + rate_limit: "125" + tod_window_duration: "" + tod_window_end: "" + tod_window_start: "" + user_domain: "" + vas_id: "" + vasp_id: "" + virus_int: "720" + virus_int_mode: "hours" + virus_status: "enable" + outbreak_prevention: + external_blocklist: "disable" + ftgd_service: "disable" + remove_blocked_const_length: "enable" + replacemsg_group: " (source system.replacemsg-group.name)" """ RETURN = """ @@ -1093,7 +1082,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1270,7 +1258,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "mms-profile") if data["firewall_mms_profile"]: resp = firewall_mms_profile(data, fos) @@ -1290,1631 +1277,232 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replacemsg_group": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mmsbwordthreshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mm1comfortinterval": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mm7comfortinterval": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mm1comfortamount": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mm7comfortamount": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "extended_utm_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "replacemsg_group": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "mmsbwordthreshold": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mm1comfortinterval": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mm7comfortinterval": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mm1comfortamount": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mm7comfortamount": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "extended_utm_log": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "mms_carrier_endpoint_filter_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_antispam_mass_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_notification_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_checksum_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_av_virus_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_av_block_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_av_oversize_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_web_content_log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mm1_addr_hdr": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mm7_addr_hdr": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mm1_addr_hdr": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "mm7_addr_hdr": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "mm1_addr_source": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "http-header", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cookie", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "http-header"}, {"value": "cookie"}], }, "mm7_addr_source": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "http-header", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cookie", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "http-header"}, {"value": "cookie"}], }, "mm1_convert_hex": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mm7_convert_hex": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "carrier_endpoint_prefix": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "carrier_endpoint_prefix_string": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "carrier_endpoint_prefix_range_min": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "carrier_endpoint_prefix_range_max": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "remove_blocked_const_length": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mm1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "avmonitor", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bannedword", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chunkedbypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clientcomfort", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "servercomfort", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "carrier-endpoint-bwl", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-blocked", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mms-checksum", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "avmonitor"}, + {"value": "oversize"}, + {"value": "quarantine"}, + {"value": "scan"}, + {"value": "bannedword"}, + {"value": "chunkedbypass"}, + {"value": "clientcomfort"}, + {"value": "servercomfort"}, + {"value": "carrier-endpoint-bwl"}, + {"value": "remove-blocked"}, + {"value": "mms-checksum"}, ], "multiple_values": True, "elements": "str", }, "mm1_retrieve_scan": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mm3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "avmonitor", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bannedword", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fragmail", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "splice", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "carrier-endpoint-bwl", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-blocked", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mms-checksum", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "avmonitor"}, + {"value": "oversize"}, + {"value": "quarantine"}, + {"value": "scan"}, + {"value": "bannedword"}, + {"value": "fragmail"}, + {"value": "splice"}, + {"value": "carrier-endpoint-bwl"}, + {"value": "remove-blocked"}, + {"value": "mms-checksum"}, ], "multiple_values": True, "elements": "str", }, "mm4": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "avmonitor", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bannedword", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fragmail", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "splice", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "carrier-endpoint-bwl", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-blocked", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mms-checksum", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "avmonitor"}, + {"value": "oversize"}, + {"value": "quarantine"}, + {"value": "scan"}, + {"value": "bannedword"}, + {"value": "fragmail"}, + {"value": "splice"}, + {"value": "carrier-endpoint-bwl"}, + {"value": "remove-blocked"}, + {"value": "mms-checksum"}, ], "multiple_values": True, "elements": "str", }, "mm7": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "avmonitor", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bannedword", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chunkedbypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clientcomfort", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "servercomfort", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "carrier-endpoint-bwl", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-blocked", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mms-checksum", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "avmonitor"}, + {"value": "oversize"}, + {"value": "quarantine"}, + {"value": "scan"}, + {"value": "bannedword"}, + {"value": "chunkedbypass"}, + {"value": "clientcomfort"}, + {"value": "servercomfort"}, + {"value": "carrier-endpoint-bwl"}, + {"value": "remove-blocked"}, + {"value": "mms-checksum"}, ], "multiple_values": True, "elements": "str", }, - "mm1oversizelimit": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mm3oversizelimit": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mm4oversizelimit": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mm7oversizelimit": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "mm1oversizelimit": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mm3oversizelimit": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mm4oversizelimit": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mm7oversizelimit": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "outbreak_prevention": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "dict", "children": { "ftgd_service": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "external_blocklist": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "mm1_outbreak_prevention": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disabled"}, + {"value": "files"}, + {"value": "full-archive"}, ], }, "mm3_outbreak_prevention": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disabled"}, + {"value": "files"}, + {"value": "full-archive"}, ], }, "mm4_outbreak_prevention": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disabled"}, + {"value": "files"}, + {"value": "full-archive"}, ], }, "mm7_outbreak_prevention": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "files", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full-archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disabled"}, + {"value": "files"}, + {"value": "full-archive"}, ], }, "notification": { @@ -2922,2333 +1510,362 @@ versioned_schema = { "elements": "dict", "children": { "protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "msg_protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "mm1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mm7", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "mm1"}, + {"value": "mm3"}, + {"value": "mm4"}, + {"value": "mm7"}, ], }, "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "submit-req", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deliver-req", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "submit-req"}, {"value": "deliver-req"}], }, "detect_server": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mmsc_hostname": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mmsc_url": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mmsc_port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mmsc_username": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mmsc_password": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "user_domain": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vasp_id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vas_id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "mmsc_hostname": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "mmsc_url": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "mmsc_port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mmsc_username": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "mmsc_password": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "user_domain": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "vasp_id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "vas_id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "from_in_header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "rate_limit": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "rate_limit": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "tod_window_start": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tod_window_end": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, + "tod_window_end": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "tod_window_duration": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "days_allowed": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "sunday", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], "multiple_values": True, "elements": "str", }, "alert_src_msisdn": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "bword_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "bword_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "hours"}, {"value": "minutes"}], }, + "bword_int": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "bword_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "file_block_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "hours"}, {"value": "minutes"}], }, "file_block_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "file_block_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "carrier_endpoint_bwl_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "hours"}, {"value": "minutes"}], }, "carrier_endpoint_bwl_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "carrier_endpoint_bwl_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "flood_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "flood_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "hours"}, {"value": "minutes"}], }, + "flood_int": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "flood_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dupe_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dupe_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "hours"}, {"value": "minutes"}], }, + "dupe_int": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "dupe_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "alert_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "alert_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "hours"}, {"value": "minutes"}], }, + "alert_int": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "alert_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mms_checksum_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "hours"}, {"value": "minutes"}], }, "mms_checksum_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "mms_checksum_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "virus_int_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "hours", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "minutes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "virus_int": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "hours"}, {"value": "minutes"}], }, + "virus_int": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "virus_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "notif_msisdn": { "type": "list", "elements": "dict", "children": { "msisdn": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "threshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "flood-thresh-1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "flood-thresh-2", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "flood-thresh-3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dupe-thresh-1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dupe-thresh-2", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dupe-thresh-3", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "flood-thresh-1"}, + {"value": "flood-thresh-2"}, + {"value": "flood-thresh-3"}, + {"value": "dupe-thresh-1"}, + {"value": "dupe-thresh-2"}, + {"value": "dupe-thresh-3"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "flood": { "type": "list", "elements": "dict", "children": { "protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "status1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "window1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "limit1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "window1": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "limit1": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "action1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive-first", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert-notif", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "archive"}, + {"value": "log"}, + {"value": "archive-first"}, + {"value": "alert-notif"}, ], "multiple_values": True, "elements": "str", }, - "block_time1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "block_time1": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "status2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "window2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "limit2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "window2": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "limit2": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "action2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive-first", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert-notif", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "archive"}, + {"value": "log"}, + {"value": "archive-first"}, + {"value": "alert-notif"}, ], "multiple_values": True, "elements": "str", }, - "block_time2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "block_time2": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "status3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "window3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "limit3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "window3": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "limit3": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "action3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive-first", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert-notif", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "archive"}, + {"value": "log"}, + {"value": "archive-first"}, + {"value": "alert-notif"}, ], "multiple_values": True, "elements": "str", }, - "block_time3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "block_time3": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "dupe": { "type": "list", "elements": "dict", "children": { "protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "status1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "window1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "limit1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "window1": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "limit1": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "action1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive-first", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert-notif", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "archive"}, + {"value": "log"}, + {"value": "archive-first"}, + {"value": "alert-notif"}, ], "multiple_values": True, "elements": "str", }, - "block_time1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "block_time1": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "status2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "window2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "limit2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "window2": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "limit2": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "action2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive-first", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert-notif", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "archive"}, + {"value": "log"}, + {"value": "archive-first"}, + {"value": "alert-notif"}, ], "multiple_values": True, "elements": "str", }, - "block_time2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "block_time2": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "status3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "window3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "limit3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "window3": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "limit3": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "action3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "archive-first", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert-notif", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "archive"}, + {"value": "log"}, + {"value": "archive-first"}, + {"value": "alert-notif"}, ], "multiple_values": True, "elements": "str", }, - "block_time3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "block_time3": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "mm1_retr_dupe": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "carrierendpointbwltable": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "avnotificationtable": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "mms_checksum_table": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bwordtable": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, + "avnotificationtable": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "mms_checksum_table": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "bwordtable": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -5283,6 +1900,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address.py index 01f45e91a..a001b0e73 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -161,39 +161,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure multicast addresses. - fortios_firewall_multicast_address: - vdom: "{{ vdom }}" +- name: Configure multicast addresses. + fortinet.fortios.fortios_firewall_multicast_address: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_multicast_address: - associated_interface: " (source system.interface.name)" - color: "0" - comment: "Comment." - end_ip: "" - name: "default_name_7" - start_ip: "" - subnet: "" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_12" - tags: - - - name: "default_name_14 (source system.object-tagging.tags.name)" - type: "multicastrange" - visibility: "enable" - + associated_interface: " (source system.interface.name)" + color: "0" + comment: "Comment." + end_ip: "" + name: "default_name_7" + start_ip: "" + subnet: "" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_12" + tags: + - + name: "default_name_14 (source system.object-tagging.tags.name)" + type: "multicastrange" + visibility: "enable" """ RETURN = """ @@ -252,7 +241,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -280,6 +268,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_multicast_address_data(json): @@ -320,7 +311,6 @@ def underscore_to_hyphen(data): def firewall_multicast_address(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -356,11 +346,16 @@ def firewall_multicast_address(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -410,7 +405,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "multicast-address") if data["firewall_multicast_address"]: resp = firewall_multicast_address(data, fos, check_mode) @@ -418,7 +412,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_multicast_address") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -433,517 +427,50 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "multicastrange", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "broadcastmask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "multicastrange"}, {"value": "broadcastmask"}], }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "associated_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "associated_interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -980,6 +507,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address6.py index 992558398..4c57af20c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_address6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -141,35 +141,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 multicast address. - fortios_firewall_multicast_address6: - vdom: "{{ vdom }}" +- name: Configure IPv6 multicast address. + fortinet.fortios.fortios_firewall_multicast_address6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_multicast_address6: - color: "0" - comment: "Comment." - ip6: "" - name: "default_name_6" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_9" - tags: - - - name: "default_name_11 (source system.object-tagging.tags.name)" - visibility: "enable" - + color: "0" + comment: "Comment." + ip6: "" + name: "default_name_6" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_9" + tags: + - + name: "default_name_11 (source system.object-tagging.tags.name)" + visibility: "enable" """ RETURN = """ @@ -228,7 +217,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -256,6 +244,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_multicast_address6_data(json): @@ -285,7 +276,6 @@ def underscore_to_hyphen(data): def firewall_multicast_address6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -321,11 +311,16 @@ def firewall_multicast_address6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -375,7 +370,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "multicast-address6") if data["firewall_multicast_address6"]: resp = firewall_multicast_address6(data, fos, check_mode) @@ -383,7 +377,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_multicast_address6") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -398,341 +392,42 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -769,6 +464,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy.py index a8af255e8..2d4fade7c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -131,7 +133,7 @@ options: type: int id: description: - - Policy ID ((0 - 4294967294). + - Policy ID ((0 - 4294967294). see Notes. required: true type: int logtraffic: @@ -197,46 +199,35 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure multicast NAT policies. - fortios_firewall_multicast_policy: - vdom: "{{ vdom }}" +- name: Configure multicast NAT policies. + fortinet.fortios.fortios_firewall_multicast_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_multicast_policy: - action: "accept" - auto_asic_offload: "enable" - comments: "" - dnat: "" - dstaddr: - - - name: "default_name_8 (source firewall.multicast-address.name)" - dstintf: " (source system.interface.name system.zone.name)" - end_port: "65535" - id: "11" - logtraffic: "enable" - name: "default_name_13" - protocol: "0" - snat: "enable" - snat_ip: "" - srcaddr: - - - name: "default_name_18 (source firewall.address.name firewall.addrgrp.name)" - srcintf: " (source system.interface.name system.zone.name)" - start_port: "1" - status: "enable" - traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" - uuid: "" - + action: "accept" + auto_asic_offload: "enable" + comments: "" + dnat: "" + dstaddr: + - + name: "default_name_8 (source firewall.multicast-address.name)" + dstintf: " (source system.interface.name system.zone.name)" + end_port: "65535" + id: "11" + logtraffic: "enable" + name: "default_name_13" + protocol: "0" + snat: "enable" + snat_ip: "" + srcaddr: + - + name: "default_name_18 (source firewall.address.name firewall.addrgrp.name)" + srcintf: " (source system.interface.name system.zone.name)" + start_port: "1" + status: "enable" + traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" + uuid: "" """ RETURN = """ @@ -295,7 +286,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -323,6 +313,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_multicast_policy_data(json): @@ -372,7 +365,6 @@ def underscore_to_hyphen(data): def firewall_multicast_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -408,11 +400,16 @@ def firewall_multicast_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -462,7 +459,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "multicast-policy") if data["firewall_multicast_policy"]: resp = firewall_multicast_policy(data, fos, check_mode) @@ -470,7 +466,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_multicast_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -485,951 +481,69 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "uuid": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "name": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, + "comments": {"v_range": [["v6.4.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "srcintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dstintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "srcintf": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dstintf": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "snat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "snat_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dnat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "snat_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dnat": {"v_range": [["v6.0.0", ""]], "type": "string"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "accept"}, {"value": "deny"}], }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auto_asic_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "traffic_shaper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "traffic_shaper": {"v_range": [["v7.2.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1466,6 +580,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy6.py index 33237dd3f..a1479f852 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_multicast_policy6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -127,7 +129,7 @@ options: type: int id: description: - - Policy ID (0 - 4294967294). + - Policy ID (0 - 4294967294). see Notes. required: true type: int logtraffic: @@ -178,42 +180,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 multicast NAT policies. - fortios_firewall_multicast_policy6: - vdom: "{{ vdom }}" +- name: Configure IPv6 multicast NAT policies. + fortinet.fortios.fortios_firewall_multicast_policy6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_multicast_policy6: - action: "accept" - auto_asic_offload: "enable" - comments: "" - dstaddr: - - - name: "default_name_7 (source firewall.multicast-address6.name)" - dstintf: " (source system.interface.name system.zone.name)" - end_port: "65535" - id: "10" - logtraffic: "enable" - name: "default_name_12" - protocol: "0" - srcaddr: - - - name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name)" - srcintf: " (source system.interface.name system.zone.name)" - start_port: "1" - status: "enable" - uuid: "" - + action: "accept" + auto_asic_offload: "enable" + comments: "" + dstaddr: + - + name: "default_name_7 (source firewall.multicast-address6.name)" + dstintf: " (source system.interface.name system.zone.name)" + end_port: "65535" + id: "10" + logtraffic: "enable" + name: "default_name_12" + protocol: "0" + srcaddr: + - + name: "default_name_15 (source firewall.address6.name firewall.addrgrp6.name)" + srcintf: " (source system.interface.name system.zone.name)" + start_port: "1" + status: "enable" + uuid: "" """ RETURN = """ @@ -272,7 +263,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -300,6 +290,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_multicast_policy6_data(json): @@ -345,7 +338,6 @@ def underscore_to_hyphen(data): def firewall_multicast_policy6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -381,11 +373,16 @@ def firewall_multicast_policy6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -435,7 +432,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "multicast-policy6") if data["firewall_multicast_policy6"]: resp = firewall_multicast_policy6(data, fos, check_mode) @@ -443,7 +439,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_multicast_policy6") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -458,775 +454,61 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "uuid": {"v_range": [["v7.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "srcintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dstintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "srcintf": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dstintf": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "accept"}, {"value": "deny"}], }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auto_asic_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1263,6 +545,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_network_service_dynamic.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_network_service_dynamic.py index c50d4b9a0..57157cf69 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_network_service_dynamic.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_network_service_dynamic.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,27 +108,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Dynamic Network Services. - fortios_firewall_network_service_dynamic: - vdom: "{{ vdom }}" +- name: Configure Dynamic Network Services. + fortinet.fortios.fortios_firewall_network_service_dynamic: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_network_service_dynamic: - comment: "Comment." - filter: "" - name: "default_name_5" - sdn: " (source system.sdn-connector.name)" - + comment: "Comment." + filter: "" + name: "default_name_5" + sdn: " (source system.sdn-connector.name)" """ RETURN = """ @@ -187,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,7 +263,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "network-service-dynamic") if data["firewall_network_service_dynamic"]: resp = firewall_network_service_dynamic(data, fos) @@ -297,45 +284,12 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - "required": True, - }, - "sdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.2.1", ""]], "type": "string", "required": True}, + "sdn": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "comment": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "filter": {"v_range": [["v7.2.1", ""]], "type": "string"}, }, - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.2.2": True, "v7.2.1": True}, + "v_range": [["v7.2.1", ""]], } @@ -372,6 +326,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_pfcp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_pfcp.py index e045b0dba..f8f14258f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_pfcp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_pfcp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -159,35 +159,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure PFCP. - fortios_firewall_pfcp: - vdom: "{{ vdom }}" +- name: Configure PFCP. + fortinet.fortios.fortios_firewall_pfcp: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_pfcp: - denied_log: "enable" - forwarded_log: "enable" - invalid_reserved_field: "allow" - log_freq: "0" - max_message_length: "1452" - message_filter: " (source pfcp.message-filter.name)" - min_message_length: "0" - monitor_mode: "enable" - name: "default_name_11" - pfcp_timeout: "86400" - traffic_count_log: "enable" - unknown_version: "allow" - + denied_log: "enable" + forwarded_log: "enable" + invalid_reserved_field: "allow" + log_freq: "0" + max_message_length: "1452" + message_filter: " (source pfcp.message-filter.name)" + min_message_length: "0" + monitor_mode: "enable" + name: "default_name_11" + pfcp_timeout: "86400" + traffic_count_log: "enable" + unknown_version: "allow" """ RETURN = """ @@ -246,7 +235,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -339,7 +327,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "pfcp") if data["firewall_pfcp"]: resp = firewall_pfcp(data, fos) @@ -360,328 +347,62 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "min_message_length": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "max_message_length": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "monitor_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "vdom"}], }, "message_filter": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "pfcp_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "unknown_version": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "invalid_reserved_field": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "forwarded_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "denied_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "traffic_count_log": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_freq": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -716,6 +437,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy.py index 4a0d2e5ab..422220b53 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy.py @@ -35,12 +35,14 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks - Adjust object order by moving self after(before) another. - Only one of [after, before] must be specified when action is moving an object. requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -131,7 +133,7 @@ options: suboptions: id: description: - - Category IDs. + - Category IDs. see Notes. required: true type: int app_group: @@ -153,7 +155,7 @@ options: suboptions: id: description: - - Application IDs. + - Application IDs. see Notes. required: true type: int application_list: @@ -207,6 +209,10 @@ options: choices: - 'enable' - 'disable' + casb_profile: + description: + - Name of an existing CASB profile. Source casb.profile.name. + type: str cifs_profile: description: - Name of an existing CIFS profile. Source cifs.profile.name. @@ -348,8 +354,8 @@ options: suboptions: name: description: - - Address name. Source firewall.address6.name firewall.addrgrp6.name firewall.vipgrp6.name firewall.vip6.name system - .external-resource.name. + - Address name. Source firewall.address6.name firewall.vipgrp6.name firewall.vip6.name system.external-resource.name firewall + .addrgrp6.name. required: true type: str dstaddr6_negate: @@ -545,7 +551,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_name: @@ -614,7 +620,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_src_name: @@ -985,7 +991,7 @@ options: type: str policyid: description: - - Policy ID (0 - 4294967294). + - Policy ID (0 - 4294967294). see Notes. required: true type: int poolname: @@ -1147,7 +1153,7 @@ options: suboptions: id: description: - - Security group tag (1 - 65535). + - Security group tag (1 - 65535). see Notes. required: true type: int sgt_check: @@ -1169,7 +1175,7 @@ options: suboptions: id: description: - - Vendor MAC ID. Source firewall.vendor-mac.id. + - Vendor MAC ID. see Notes. Source firewall.vendor-mac.id. required: true type: int srcaddr: @@ -1198,7 +1204,7 @@ options: suboptions: name: description: - - Address name. Source firewall.address6.name firewall.addrgrp6.name system.external-resource.name. + - Address name. Source firewall.address6.name system.external-resource.name firewall.addrgrp6.name. required: true type: str srcaddr6_negate: @@ -1313,7 +1319,7 @@ options: suboptions: id: description: - - URL category ID. + - URL category ID. see Notes. required: true type: int users: @@ -1342,6 +1348,10 @@ options: description: - Name of an existing VideoFilter profile. Source videofilter.profile.name. type: str + virtual_patch_profile: + description: + - Name of an existing virtual-patch profile. Source virtual-patch.profile.name. + type: str vlan_cos_fwd: description: - 'VLAN forward direction user priority: 255 passthrough, 0 lowest, 7 highest.' @@ -1501,323 +1511,307 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4/IPv6 policies. - fortios_firewall_policy: - vdom: "{{ vdom }}" +- name: Configure IPv4/IPv6 policies. + fortinet.fortios.fortios_firewall_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_policy: - action: "accept" - anti_replay: "enable" - app_category: - - - id: "6" - app_group: - - - name: "default_name_8 (source application.group.name)" - application: - - - id: "10" - application_list: " (source application.list.name)" - auth_cert: " (source vpn.certificate.local.name)" - auth_path: "enable" - auth_redirect_addr: "" - auto_asic_offload: "enable" - av_profile: " (source antivirus.profile.name)" - block_notification: "enable" - captive_portal_exempt: "enable" - capture_packet: "enable" - cifs_profile: " (source cifs.profile.name)" - comments: "" - custom_log_fields: - - - field_id: " (source log.custom-field.id)" - decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" - delay_tcp_npu_session: "enable" - devices: - - - name: "default_name_27 (source user.device.alias user.device-group.name user.device-category.name)" - diffserv_copy: "enable" - diffserv_forward: "enable" - diffserv_reverse: "enable" - diffservcode_forward: "" - diffservcode_rev: "" - disclaimer: "enable" - dlp_profile: " (source dlp.profile.name)" - dlp_sensor: " (source dlp.sensor.name)" - dnsfilter_profile: " (source dnsfilter.profile.name)" - dscp_match: "enable" - dscp_negate: "enable" - dscp_value: "" - dsri: "enable" - dstaddr: - - - name: "default_name_42 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name system.external-resource.name)" - dstaddr_negate: "enable" - dstaddr6: - - - name: "default_name_45 (source firewall.address6.name firewall.addrgrp6.name firewall.vipgrp6.name firewall.vip6.name system.external-resource - .name)" - dstaddr6_negate: "enable" - dstintf: - - - name: "default_name_48 (source system.interface.name system.zone.name system.sdwan.zone.name)" - dynamic_shaping: "enable" - email_collect: "enable" - emailfilter_profile: " (source emailfilter.profile.name)" - fec: "enable" - file_filter_profile: " (source file-filter.profile.name)" - firewall_session_dirty: "check-all" - fixedport: "enable" - fsso: "enable" - fsso_agent_for_ntlm: " (source user.fsso.name)" - fsso_groups: - - - name: "default_name_59 (source user.adgrp.name)" - geoip_anycast: "enable" - geoip_match: "physical-location" - global_label: "" - groups: - - - name: "default_name_64 (source user.group.name)" - gtp_profile: " (source firewall.gtp.name)" - http_policy_redirect: "enable" - icap_profile: " (source icap.profile.name)" - identity_based_route: " (source firewall.identity-based-route.name)" - inbound: "enable" - inspection_mode: "proxy" - internet_service: "enable" - internet_service_custom: - - - name: "default_name_73 (source firewall.internet-service-custom.name)" - internet_service_custom_group: - - - name: "default_name_75 (source firewall.internet-service-custom-group.name)" - internet_service_group: - - - name: "default_name_77 (source firewall.internet-service-group.name)" - internet_service_id: - - - id: "79 (source firewall.internet-service.id)" - internet_service_name: - - - name: "default_name_81 (source firewall.internet-service-name.name)" - internet_service_negate: "enable" - internet_service_src: "enable" - internet_service_src_custom: - - - name: "default_name_85 (source firewall.internet-service-custom.name)" - internet_service_src_custom_group: - - - name: "default_name_87 (source firewall.internet-service-custom-group.name)" - internet_service_src_group: - - - name: "default_name_89 (source firewall.internet-service-group.name)" - internet_service_src_id: - - - id: "91 (source firewall.internet-service.id)" - internet_service_src_name: - - - name: "default_name_93 (source firewall.internet-service-name.name)" - internet_service_src_negate: "enable" - internet_service6: "enable" - internet_service6_custom: - - - name: "default_name_97 (source firewall.internet-service-custom.name)" - internet_service6_custom_group: - - - name: "default_name_99 (source firewall.internet-service-custom-group.name)" - internet_service6_group: - - - name: "default_name_101 (source firewall.internet-service-group.name)" - internet_service6_name: - - - name: "default_name_103 (source firewall.internet-service-name.name)" - internet_service6_negate: "enable" - internet_service6_src: "enable" - internet_service6_src_custom: - - - name: "default_name_107 (source firewall.internet-service-custom.name)" - internet_service6_src_custom_group: - - - name: "default_name_109 (source firewall.internet-service-custom-group.name)" - internet_service6_src_group: - - - name: "default_name_111 (source firewall.internet-service-group.name)" - internet_service6_src_name: - - - name: "default_name_113 (source firewall.internet-service-name.name)" - internet_service6_src_negate: "enable" - ippool: "enable" - ips_sensor: " (source ips.sensor.name)" - ips_voip_filter: " (source voip.profile.name)" - label: "" - learning_mode: "enable" - logtraffic: "all" - logtraffic_start: "enable" - match_vip: "enable" - match_vip_only: "enable" - mms_profile: " (source firewall.mms-profile.name)" - name: "default_name_125" - nat: "enable" - nat46: "enable" - nat64: "enable" - natinbound: "enable" - natip: "" - natoutbound: "enable" - network_service_dynamic: - - - name: "default_name_133 (source firewall.network-service-dynamic.name)" - network_service_src_dynamic: - - - name: "default_name_135 (source firewall.network-service-dynamic.name)" - np_acceleration: "enable" - ntlm: "enable" - ntlm_enabled_browsers: - - - user_agent_string: "" - ntlm_guest: "enable" - outbound: "enable" - passive_wan_health_measurement: "enable" - pcp_inbound: "enable" - pcp_outbound: "enable" - pcp_poolname: - - - name: "default_name_146 (source system.pcp-server.pools.name)" - per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" - permit_any_host: "enable" - permit_stun_host: "enable" - pfcp_profile: " (source firewall.pfcp.name)" - policy_expiry: "enable" - policy_expiry_date: "" - policy_expiry_date_utc: "" - policyid: "0" - poolname: - - - name: "default_name_156 (source firewall.ippool.name)" - poolname6: - - - name: "default_name_158 (source firewall.ippool6.name)" - profile_group: " (source firewall.profile-group.name)" - profile_protocol_options: " (source firewall.profile-protocol-options.name)" - profile_type: "single" - radius_mac_auth_bypass: "enable" - redirect_url: "" - replacemsg_override_group: " (source system.replacemsg-group.name)" - reputation_direction: "source" - reputation_direction6: "source" - reputation_minimum: "0" - reputation_minimum6: "0" - rsso: "enable" - rtp_addr: - - - name: "default_name_171 (source firewall.internet-service-custom-group.name firewall.addrgrp.name)" - rtp_nat: "disable" - scan_botnet_connections: "disable" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - schedule_timeout: "enable" - sctp_filter_profile: " (source sctp-filter.profile.name)" - send_deny_packet: "disable" - service: - - - name: "default_name_179 (source firewall.service.custom.name firewall.service.group.name)" - service_negate: "enable" - session_ttl: "" - sgt: - - - id: "183" - sgt_check: "enable" - spamfilter_profile: " (source spamfilter.profile.name)" - src_vendor_mac: - - - id: "187 (source firewall.vendor-mac.id)" - srcaddr: - - - name: "default_name_189 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" - srcaddr_negate: "enable" - srcaddr6: - - - name: "default_name_192 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - srcaddr6_negate: "enable" - srcintf: - - - name: "default_name_195 (source system.interface.name system.zone.name system.sdwan.zone.name)" - ssh_filter_profile: " (source ssh-filter.profile.name)" - ssh_policy_redirect: "enable" - ssl_mirror: "enable" - ssl_mirror_intf: - - - name: "default_name_200 (source system.interface.name system.zone.name)" - ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" - status: "enable" - tcp_mss_receiver: "0" - tcp_mss_sender: "0" - tcp_session_without_syn: "all" - timeout_send_rst: "enable" - tos: "" - tos_mask: "" - tos_negate: "enable" - traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" - traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" - url_category: - - - id: "213" - users: - - - name: "default_name_215 (source user.local.name user.certificate.name)" - utm_status: "enable" - uuid: "" - videofilter_profile: " (source videofilter.profile.name)" - vlan_cos_fwd: "255" - vlan_cos_rev: "255" - vlan_filter: "" - voip_profile: " (source voip.profile.name)" - vpntunnel: " (source vpn.ipsec.phase1.name vpn.ipsec.manualkey.name)" - waf_profile: " (source waf.profile.name)" - wanopt: "enable" - wanopt_detection: "active" - wanopt_passive_opt: "default" - wanopt_peer: " (source wanopt.peer.peer-host-id)" - wanopt_profile: " (source wanopt.profile.name)" - wccp: "enable" - webcache: "enable" - webcache_https: "disable" - webfilter_profile: " (source webfilter.profile.name)" - webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" - webproxy_profile: " (source web-proxy.profile.name)" - wsso: "enable" - ztna_device_ownership: "enable" - ztna_ems_tag: - - - name: "default_name_239 (source firewall.address.name firewall.addrgrp.name)" - ztna_ems_tag_secondary: - - - name: "default_name_241 (source firewall.address.name firewall.addrgrp.name)" - ztna_geo_tag: - - - name: "default_name_243 (source firewall.address.name firewall.addrgrp.name)" - ztna_policy_redirect: "enable" - ztna_status: "enable" - ztna_tags_match_logic: "or" - - - name: move firewall.policy - fortios_firewall_policy: - vdom: "root" - action: "move" - self: "" - after: "" - #before: "" - + action: "accept" + anti_replay: "enable" + app_category: + - + id: "6" + app_group: + - + name: "default_name_8 (source application.group.name)" + application: + - + id: "10" + application_list: " (source application.list.name)" + auth_cert: " (source vpn.certificate.local.name)" + auth_path: "enable" + auth_redirect_addr: "" + auto_asic_offload: "enable" + av_profile: " (source antivirus.profile.name)" + block_notification: "enable" + captive_portal_exempt: "enable" + capture_packet: "enable" + casb_profile: " (source casb.profile.name)" + cifs_profile: " (source cifs.profile.name)" + comments: "" + custom_log_fields: + - + field_id: " (source log.custom-field.id)" + decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" + delay_tcp_npu_session: "enable" + devices: + - + name: "default_name_28 (source user.device.alias user.device-group.name user.device-category.name)" + diffserv_copy: "enable" + diffserv_forward: "enable" + diffserv_reverse: "enable" + diffservcode_forward: "" + diffservcode_rev: "" + disclaimer: "enable" + dlp_profile: " (source dlp.profile.name)" + dlp_sensor: " (source dlp.sensor.name)" + dnsfilter_profile: " (source dnsfilter.profile.name)" + dscp_match: "enable" + dscp_negate: "enable" + dscp_value: "" + dsri: "enable" + dstaddr: + - + name: "default_name_43 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name system.external-resource + .name)" + dstaddr_negate: "enable" + dstaddr6: + - + name: "default_name_46 (source firewall.address6.name firewall.vipgrp6.name firewall.vip6.name system.external-resource.name firewall + .addrgrp6.name)" + dstaddr6_negate: "enable" + dstintf: + - + name: "default_name_49 (source system.interface.name system.zone.name system.sdwan.zone.name)" + dynamic_shaping: "enable" + email_collect: "enable" + emailfilter_profile: " (source emailfilter.profile.name)" + fec: "enable" + file_filter_profile: " (source file-filter.profile.name)" + firewall_session_dirty: "check-all" + fixedport: "enable" + fsso: "enable" + fsso_agent_for_ntlm: " (source user.fsso.name)" + fsso_groups: + - + name: "default_name_60 (source user.adgrp.name)" + geoip_anycast: "enable" + geoip_match: "physical-location" + global_label: "" + groups: + - + name: "default_name_65 (source user.group.name)" + gtp_profile: " (source firewall.gtp.name)" + http_policy_redirect: "enable" + icap_profile: " (source icap.profile.name)" + identity_based_route: " (source firewall.identity-based-route.name)" + inbound: "enable" + inspection_mode: "proxy" + internet_service: "enable" + internet_service_custom: + - + name: "default_name_74 (source firewall.internet-service-custom.name)" + internet_service_custom_group: + - + name: "default_name_76 (source firewall.internet-service-custom-group.name)" + internet_service_group: + - + name: "default_name_78 (source firewall.internet-service-group.name)" + internet_service_id: + - + id: "80 (source firewall.internet-service.id)" + internet_service_name: + - + name: "default_name_82 (source firewall.internet-service-name.name)" + internet_service_negate: "enable" + internet_service_src: "enable" + internet_service_src_custom: + - + name: "default_name_86 (source firewall.internet-service-custom.name)" + internet_service_src_custom_group: + - + name: "default_name_88 (source firewall.internet-service-custom-group.name)" + internet_service_src_group: + - + name: "default_name_90 (source firewall.internet-service-group.name)" + internet_service_src_id: + - + id: "92 (source firewall.internet-service.id)" + internet_service_src_name: + - + name: "default_name_94 (source firewall.internet-service-name.name)" + internet_service_src_negate: "enable" + internet_service6: "enable" + internet_service6_custom: + - + name: "default_name_98 (source firewall.internet-service-custom.name)" + internet_service6_custom_group: + - + name: "default_name_100 (source firewall.internet-service-custom-group.name)" + internet_service6_group: + - + name: "default_name_102 (source firewall.internet-service-group.name)" + internet_service6_name: + - + name: "default_name_104 (source firewall.internet-service-name.name)" + internet_service6_negate: "enable" + internet_service6_src: "enable" + internet_service6_src_custom: + - + name: "default_name_108 (source firewall.internet-service-custom.name)" + internet_service6_src_custom_group: + - + name: "default_name_110 (source firewall.internet-service-custom-group.name)" + internet_service6_src_group: + - + name: "default_name_112 (source firewall.internet-service-group.name)" + internet_service6_src_name: + - + name: "default_name_114 (source firewall.internet-service-name.name)" + internet_service6_src_negate: "enable" + ippool: "enable" + ips_sensor: " (source ips.sensor.name)" + ips_voip_filter: " (source voip.profile.name)" + label: "" + learning_mode: "enable" + logtraffic: "all" + logtraffic_start: "enable" + match_vip: "enable" + match_vip_only: "enable" + mms_profile: " (source firewall.mms-profile.name)" + name: "default_name_126" + nat: "enable" + nat46: "enable" + nat64: "enable" + natinbound: "enable" + natip: "" + natoutbound: "enable" + network_service_dynamic: + - + name: "default_name_134 (source firewall.network-service-dynamic.name)" + network_service_src_dynamic: + - + name: "default_name_136 (source firewall.network-service-dynamic.name)" + np_acceleration: "enable" + ntlm: "enable" + ntlm_enabled_browsers: + - + user_agent_string: "" + ntlm_guest: "enable" + outbound: "enable" + passive_wan_health_measurement: "enable" + pcp_inbound: "enable" + pcp_outbound: "enable" + pcp_poolname: + - + name: "default_name_147 (source system.pcp-server.pools.name)" + per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" + permit_any_host: "enable" + permit_stun_host: "enable" + pfcp_profile: " (source firewall.pfcp.name)" + policy_expiry: "enable" + policy_expiry_date: "" + policy_expiry_date_utc: "" + policyid: "" + poolname: + - + name: "default_name_157 (source firewall.ippool.name)" + poolname6: + - + name: "default_name_159 (source firewall.ippool6.name)" + profile_group: " (source firewall.profile-group.name)" + profile_protocol_options: " (source firewall.profile-protocol-options.name)" + profile_type: "single" + radius_mac_auth_bypass: "enable" + redirect_url: "" + replacemsg_override_group: " (source system.replacemsg-group.name)" + reputation_direction: "source" + reputation_direction6: "source" + reputation_minimum: "0" + reputation_minimum6: "0" + rsso: "enable" + rtp_addr: + - + name: "default_name_172 (source firewall.internet-service-custom-group.name firewall.addrgrp.name)" + rtp_nat: "disable" + scan_botnet_connections: "disable" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + schedule_timeout: "enable" + sctp_filter_profile: " (source sctp-filter.profile.name)" + send_deny_packet: "disable" + service: + - + name: "default_name_180 (source firewall.service.custom.name firewall.service.group.name)" + service_negate: "enable" + session_ttl: "" + sgt: + - + id: "184" + sgt_check: "enable" + spamfilter_profile: " (source spamfilter.profile.name)" + src_vendor_mac: + - + id: "188 (source firewall.vendor-mac.id)" + srcaddr: + - + name: "default_name_190 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" + srcaddr_negate: "enable" + srcaddr6: + - + name: "default_name_193 (source firewall.address6.name system.external-resource.name firewall.addrgrp6.name)" + srcaddr6_negate: "enable" + srcintf: + - + name: "default_name_196 (source system.interface.name system.zone.name system.sdwan.zone.name)" + ssh_filter_profile: " (source ssh-filter.profile.name)" + ssh_policy_redirect: "enable" + ssl_mirror: "enable" + ssl_mirror_intf: + - + name: "default_name_201 (source system.interface.name system.zone.name)" + ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" + status: "enable" + tcp_mss_receiver: "0" + tcp_mss_sender: "0" + tcp_session_without_syn: "all" + timeout_send_rst: "enable" + tos: "" + tos_mask: "" + tos_negate: "enable" + traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" + traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" + url_category: + - + id: "214" + users: + - + name: "default_name_216 (source user.local.name user.certificate.name)" + utm_status: "enable" + uuid: "" + videofilter_profile: " (source videofilter.profile.name)" + virtual_patch_profile: " (source virtual-patch.profile.name)" + vlan_cos_fwd: "255" + vlan_cos_rev: "255" + vlan_filter: "" + voip_profile: " (source voip.profile.name)" + vpntunnel: " (source vpn.ipsec.phase1.name vpn.ipsec.manualkey.name)" + waf_profile: " (source waf.profile.name)" + wanopt: "enable" + wanopt_detection: "active" + wanopt_passive_opt: "default" + wanopt_peer: " (source wanopt.peer.peer-host-id)" + wanopt_profile: " (source wanopt.profile.name)" + wccp: "enable" + webcache: "enable" + webcache_https: "disable" + webfilter_profile: " (source webfilter.profile.name)" + webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" + webproxy_profile: " (source web-proxy.profile.name)" + wsso: "enable" + ztna_device_ownership: "enable" + ztna_ems_tag: + - + name: "default_name_241 (source firewall.address.name firewall.addrgrp.name)" + ztna_ems_tag_secondary: + - + name: "default_name_243 (source firewall.address.name firewall.addrgrp.name)" + ztna_geo_tag: + - + name: "default_name_245 (source firewall.address.name firewall.addrgrp.name)" + ztna_policy_redirect: "enable" + ztna_status: "enable" + ztna_tags_match_logic: "or" """ RETURN = """ @@ -1876,7 +1870,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1904,6 +1897,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_policy_data(json): @@ -1922,6 +1918,7 @@ def filter_firewall_policy_data(json): "block_notification", "captive_portal_exempt", "capture_packet", + "casb_profile", "cifs_profile", "comments", "custom_log_fields", @@ -2080,6 +2077,7 @@ def filter_firewall_policy_data(json): "utm_status", "uuid", "videofilter_profile", + "virtual_patch_profile", "vlan_cos_fwd", "vlan_cos_rev", "vlan_filter", @@ -2131,7 +2129,6 @@ def underscore_to_hyphen(data): def firewall_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -2167,11 +2164,16 @@ def firewall_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -2241,7 +2243,6 @@ def move_fortios_firewall(data, fos): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "policy") if data["action"] == "move": resp = move_fortios_firewall(data, fos) @@ -2249,7 +2250,7 @@ def fortios_firewall(data, fos, check_mode): resp = firewall_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -2264,10627 +2265,1087 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipsec", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}, {"value": "ipsec"}], }, "nat64": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat46": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_device_ownership": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "ztna_ems_tag": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "ztna_ems_tag_secondary": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "ztna_tags_match_logic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "or", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "and", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "or"}, {"value": "and"}], }, "ztna_geo_tag": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "internet_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "network_service_dynamic": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_src_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_src_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_src_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "network_service_src_dynamic": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service_src_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "reputation_minimum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "v_range": [["v6.2.0", ""]], }, + "reputation_minimum": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "reputation_direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "source", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "destination", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "source"}, {"value": "destination"}], }, "src_vendor_mac": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "id": {"v_range": [["v6.4.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.4.0", ""]], }, "internet_service6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_src_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "reputation_minimum6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "v_range": [["v7.2.1", ""]], }, + "reputation_minimum6": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "reputation_direction6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "source", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "destination", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "source"}, {"value": "destination"}], }, "rtp_nat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rtp_addr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "send_deny_packet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "firewall_session_dirty": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "check-all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "check-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "check-all"}, {"value": "check-new"}], }, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, "schedule_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "policy_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "policy_expiry_date": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "policy_expiry_date_utc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "policy_expiry_date": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "policy_expiry_date_utc": {"v_range": [["v7.2.4", ""]], "type": "string"}, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "tos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "tos_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "tos_mask": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "tos": {"v_range": [["v6.2.0", ""]], "type": "string"}, "tos_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anti_replay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tcp_session_without_syn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "data-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "data-only"}, {"value": "disable"}], }, "geoip_anycast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "geoip_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "physical-location", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "registered-location", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "physical-location"}, + {"value": "registered-location"}, ], }, "dynamic_shaping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "passive_wan_health_measurement": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "utm_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspection_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "flow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "proxy"}, {"value": "flow"}], }, "http_policy_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_policy_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_policy_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "webproxy_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "webproxy_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, "profile_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "single", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "profile_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "profile_protocol_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_ssh_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "av_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dnsfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "emailfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "file_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "voip_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ips_voip_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sctp_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "icap_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cifs_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "videofilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "waf_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssh_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "single"}, {"value": "group"}], + }, + "profile_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "profile_protocol_options": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_ssh_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "av_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "webfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dnsfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "emailfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dlp_profile": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "file_filter_profile": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ips_sensor": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "application_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "voip_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ips_voip_filter": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "sctp_filter_profile": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "virtual_patch_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "icap_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cifs_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "videofilter_profile": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "waf_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssh_filter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "casb_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, "logtraffic_start": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capture_packet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_asic_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wanopt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wanopt_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "off", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "active"}, {"value": "passive"}, {"value": "off"}], }, "wanopt_passive_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transparent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-transparent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "transparent"}, + {"value": "non-transparent"}, ], }, - "wanopt_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wanopt_peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "wanopt_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wanopt_peer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "webcache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webcache_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "webproxy_forward_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "traffic_shaper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "traffic_shaper_reverse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "per_ip_shaper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "webproxy_forward_server": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "traffic_shaper": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "traffic_shaper_reverse": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "per_ip_shaper": {"v_range": [["v6.0.0", ""]], "type": "string"}, "nat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pcp_outbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pcp_inbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pcp_poolname": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "permit_any_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_stun_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fixedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ippool": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "poolname": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "poolname6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "session_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vlan_cos_fwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vlan_cos_rev": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.4.0", ""]], }, + "session_ttl": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vlan_cos_fwd": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vlan_cos_rev": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "inbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "outbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "natinbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "natoutbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wccp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ntlm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ntlm_guest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ntlm_enabled_browsers": { "type": "list", "elements": "dict", "children": { "user_agent_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "fsso_agent_for_ntlm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "fsso_agent_for_ntlm": {"v_range": [["v6.0.0", ""]], "type": "string"}, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "fsso_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "auth_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "disclaimer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "email_collect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "vpntunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "natip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vpntunnel": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "natip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "match_vip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "match_vip_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv_copy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv_reverse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "diffservcode_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "diffservcode_rev": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tcp_mss_sender": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_mss_receiver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_redirect_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "redirect_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "identity_based_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "diffservcode_forward": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "diffservcode_rev": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tcp_mss_sender": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_mss_receiver": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_redirect_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "redirect_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "identity_based_route": {"v_range": [["v6.0.0", ""]], "type": "string"}, "block_notification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "custom_log_fields": { "type": "list", "elements": "dict", "children": { "field_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "replacemsg_override_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "replacemsg_override_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "srcaddr6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_src_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_src_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "timeout_send_rst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "captive_portal_exempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "decrypted_traffic_mirror": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "decrypted_traffic_mirror": {"v_range": [["v6.4.0", ""]], "type": "string"}, "dsri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "radius_mac_auth_bypass": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "delay_tcp_npu_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vlan_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vlan_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sgt_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sgt": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "id": {"v_range": [["v7.0.1", ""]], "type": "integer", "required": True} }, + "v_range": [["v7.0.1", ""]], }, "np_acceleration": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp_profile": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "pfcp_profile": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "dlp_sensor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, + "dlp_sensor": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "internet_service_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "internet_service_src_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "mms_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v6.2.7"]], }, + "mms_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "application": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "app_category": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "url_category": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "app_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "fsso": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wsso": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rsso": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_mirror": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_mirror_intf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "devices": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "global_label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "learning_mode": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_match": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_negate": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "dscp_value": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "spamfilter_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dscp_value": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "spamfilter_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "scan_botnet_connections": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "block", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monitor", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "block"}, {"value": "monitor"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -12923,6 +3384,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy46.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy46.py index 5bfe3dd38..04f22584b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy46.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy46.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -159,7 +161,7 @@ options: - 'disable' policyid: description: - - Policy ID (0 - 4294967294). + - Policy ID (0 - 4294967294). see Notes. required: true type: int poolname: @@ -233,54 +235,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 to IPv6 policies. - fortios_firewall_policy46: - vdom: "{{ vdom }}" +- name: Configure IPv4 to IPv6 policies. + fortinet.fortios.fortios_firewall_policy46: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_policy46: - action: "accept" - comments: "" - dstaddr: - - - name: "default_name_6 (source firewall.vip46.name firewall.vipgrp46.name)" - dstintf: " (source system.interface.name system.zone.name)" - fixedport: "enable" - ippool: "enable" - logtraffic: "enable" - logtraffic_start: "enable" - name: "default_name_12" - per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" - permit_any_host: "enable" - policyid: "0" - poolname: - - - name: "default_name_17 (source firewall.ippool6.name)" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - service: - - - name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_22 (source firewall.address.name firewall.addrgrp.name)" - srcintf: " (source system.zone.name system.interface.name)" - status: "enable" - tcp_mss_receiver: "0" - tcp_mss_sender: "0" - traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" - traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" - uuid: "" - + action: "accept" + comments: "" + dstaddr: + - + name: "default_name_6 (source firewall.vip46.name firewall.vipgrp46.name)" + dstintf: " (source system.interface.name system.zone.name)" + fixedport: "enable" + ippool: "enable" + logtraffic: "enable" + logtraffic_start: "enable" + name: "default_name_12" + per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" + permit_any_host: "enable" + policyid: "" + poolname: + - + name: "default_name_17 (source firewall.ippool6.name)" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + service: + - + name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_22 (source firewall.address.name firewall.addrgrp.name)" + srcintf: " (source system.zone.name system.interface.name)" + status: "enable" + tcp_mss_receiver: "0" + tcp_mss_sender: "0" + traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" + traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" + uuid: "" """ RETURN = """ @@ -339,7 +330,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -367,6 +357,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_policy46_data(json): @@ -420,7 +413,6 @@ def underscore_to_hyphen(data): def firewall_policy46(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -456,11 +448,16 @@ def firewall_policy46(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -510,13 +507,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "policy46") if data["firewall_policy46"]: resp = firewall_policy46(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_policy46")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -532,700 +528,109 @@ versioned_schema = { "elements": "dict", "children": { "permit_any_host": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "policyid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "uuid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "srcintf": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dstintf": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.0"]], "type": "string", }, + "uuid": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "srcintf": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "dstintf": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "action": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "status": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "schedule": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "logtraffic": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "logtraffic_start": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "traffic_shaper": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "traffic_shaper_reverse": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "per_ip_shaper": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "traffic_shaper": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "traffic_shaper_reverse": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "per_ip_shaper": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "fixedport": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "tcp_mss_sender": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_mss_receiver": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "tcp_mss_sender": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "tcp_mss_receiver": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "ippool": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "poolname": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], } @@ -1260,6 +665,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy6.py index 8c3e450fa..08ae67bd0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,7 +113,7 @@ options: suboptions: id: description: - - Category IDs. + - Category IDs. see Notes. required: true type: int app_group: @@ -133,7 +135,7 @@ options: suboptions: id: description: - - Application IDs. + - Application IDs. see Notes. required: true type: int application_list: @@ -414,7 +416,7 @@ options: type: str policyid: description: - - Policy ID (0 - 4294967294). + - Policy ID (0 - 4294967294). see Notes. required: true type: int poolname: @@ -614,7 +616,7 @@ options: suboptions: id: description: - - URL category ID. + - URL category ID. see Notes. required: true type: int users: @@ -692,150 +694,139 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 policies. - fortios_firewall_policy6: - vdom: "{{ vdom }}" +- name: Configure IPv6 policies. + fortinet.fortios.fortios_firewall_policy6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_policy6: - action: "accept" - anti_replay: "enable" - app_category: - - - id: "6" - app_group: - - - name: "default_name_8 (source application.group.name)" - application: - - - id: "10" - application_list: " (source application.list.name)" - auto_asic_offload: "enable" - av_profile: " (source antivirus.profile.name)" - cifs_profile: " (source cifs.profile.name)" - comments: "" - custom_log_fields: - - - field_id: " (source log.custom-field.id)" - devices: - - - name: "default_name_19 (source user.device.alias user.device-group.name user.device-category.name)" - diffserv_forward: "enable" - diffserv_reverse: "enable" - diffservcode_forward: "" - diffservcode_rev: "" - dlp_sensor: " (source dlp.sensor.name)" - dnsfilter_profile: " (source dnsfilter.profile.name)" - dscp_match: "enable" - dscp_negate: "enable" - dscp_value: "" - dsri: "enable" - dstaddr: - - - name: "default_name_31 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system.external-resource - .name)" - dstaddr_negate: "enable" - dstintf: - - - name: "default_name_34 (source system.interface.name system.zone.name)" - emailfilter_profile: " (source emailfilter.profile.name)" - firewall_session_dirty: "check-all" - fixedport: "enable" - fsso_groups: - - - name: "default_name_39 (source user.adgrp.name)" - global_label: "" - groups: - - - name: "default_name_42 (source user.group.name)" - http_policy_redirect: "enable" - icap_profile: " (source icap.profile.name)" - inbound: "enable" - inspection_mode: "proxy" - ippool: "enable" - ips_sensor: " (source ips.sensor.name)" - label: "" - logtraffic: "all" - logtraffic_start: "enable" - mms_profile: " (source firewall.mms-profile.name)" - name: "default_name_53" - nat: "enable" - natinbound: "enable" - natoutbound: "enable" - np_acceleration: "enable" - outbound: "enable" - per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" - policyid: "2147483647" - poolname: - - - name: "default_name_62 (source firewall.ippool6.name)" - profile_group: " (source firewall.profile-group.name)" - profile_protocol_options: " (source firewall.profile-protocol-options.name)" - profile_type: "single" - replacemsg_override_group: " (source system.replacemsg-group.name)" - rsso: "enable" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - send_deny_packet: "enable" - service: - - - name: "default_name_71 (source firewall.service.custom.name firewall.service.group.name)" - service_negate: "enable" - session_ttl: "" - spamfilter_profile: " (source spamfilter.profile.name)" - srcaddr: - - - name: "default_name_76 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - srcaddr_negate: "enable" - srcintf: - - - name: "default_name_79 (source system.zone.name system.interface.name)" - ssh_filter_profile: " (source ssh-filter.profile.name)" - ssh_policy_redirect: "enable" - ssl_mirror: "enable" - ssl_mirror_intf: - - - name: "default_name_84 (source system.zone.name system.interface.name)" - ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" - status: "enable" - tcp_mss_receiver: "32767" - tcp_mss_sender: "32767" - tcp_session_without_syn: "all" - timeout_send_rst: "enable" - tos: "" - tos_mask: "" - tos_negate: "enable" - traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" - traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" - url_category: - - - id: "97" - users: - - - name: "default_name_99 (source user.local.name)" - utm_status: "enable" - uuid: "" - vlan_cos_fwd: "3" - vlan_cos_rev: "3" - vlan_filter: "" - voip_profile: " (source voip.profile.name)" - vpntunnel: " (source vpn.ipsec.phase1.name vpn.ipsec.manualkey.name)" - waf_profile: " (source waf.profile.name)" - webcache: "enable" - webcache_https: "disable" - webfilter_profile: " (source webfilter.profile.name)" - webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" - webproxy_profile: " (source web-proxy.profile.name)" - + action: "accept" + anti_replay: "enable" + app_category: + - + id: "6" + app_group: + - + name: "default_name_8 (source application.group.name)" + application: + - + id: "10" + application_list: " (source application.list.name)" + auto_asic_offload: "enable" + av_profile: " (source antivirus.profile.name)" + cifs_profile: " (source cifs.profile.name)" + comments: "" + custom_log_fields: + - + field_id: " (source log.custom-field.id)" + devices: + - + name: "default_name_19 (source user.device.alias user.device-group.name user.device-category.name)" + diffserv_forward: "enable" + diffserv_reverse: "enable" + diffservcode_forward: "" + diffservcode_rev: "" + dlp_sensor: " (source dlp.sensor.name)" + dnsfilter_profile: " (source dnsfilter.profile.name)" + dscp_match: "enable" + dscp_negate: "enable" + dscp_value: "" + dsri: "enable" + dstaddr: + - + name: "default_name_31 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system + .external-resource.name)" + dstaddr_negate: "enable" + dstintf: + - + name: "default_name_34 (source system.interface.name system.zone.name)" + emailfilter_profile: " (source emailfilter.profile.name)" + firewall_session_dirty: "check-all" + fixedport: "enable" + fsso_groups: + - + name: "default_name_39 (source user.adgrp.name)" + global_label: "" + groups: + - + name: "default_name_42 (source user.group.name)" + http_policy_redirect: "enable" + icap_profile: " (source icap.profile.name)" + inbound: "enable" + inspection_mode: "proxy" + ippool: "enable" + ips_sensor: " (source ips.sensor.name)" + label: "" + logtraffic: "all" + logtraffic_start: "enable" + mms_profile: " (source firewall.mms-profile.name)" + name: "default_name_53" + nat: "enable" + natinbound: "enable" + natoutbound: "enable" + np_acceleration: "enable" + outbound: "enable" + per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" + policyid: "" + poolname: + - + name: "default_name_62 (source firewall.ippool6.name)" + profile_group: " (source firewall.profile-group.name)" + profile_protocol_options: " (source firewall.profile-protocol-options.name)" + profile_type: "single" + replacemsg_override_group: " (source system.replacemsg-group.name)" + rsso: "enable" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + send_deny_packet: "enable" + service: + - + name: "default_name_71 (source firewall.service.custom.name firewall.service.group.name)" + service_negate: "enable" + session_ttl: "" + spamfilter_profile: " (source spamfilter.profile.name)" + srcaddr: + - + name: "default_name_76 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + srcaddr_negate: "enable" + srcintf: + - + name: "default_name_79 (source system.zone.name system.interface.name)" + ssh_filter_profile: " (source ssh-filter.profile.name)" + ssh_policy_redirect: "enable" + ssl_mirror: "enable" + ssl_mirror_intf: + - + name: "default_name_84 (source system.zone.name system.interface.name)" + ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" + status: "enable" + tcp_mss_receiver: "32767" + tcp_mss_sender: "32767" + tcp_session_without_syn: "all" + timeout_send_rst: "enable" + tos: "" + tos_mask: "" + tos_negate: "enable" + traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" + traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" + url_category: + - + id: "97" + users: + - + name: "default_name_99 (source user.local.name)" + utm_status: "enable" + uuid: "" + vlan_cos_fwd: "3" + vlan_cos_rev: "3" + vlan_filter: "" + voip_profile: " (source voip.profile.name)" + vpntunnel: " (source vpn.ipsec.phase1.name vpn.ipsec.manualkey.name)" + waf_profile: " (source waf.profile.name)" + webcache: "enable" + webcache_https: "disable" + webfilter_profile: " (source webfilter.profile.name)" + webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" + webproxy_profile: " (source web-proxy.profile.name)" """ RETURN = """ @@ -894,7 +885,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -922,6 +912,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_policy6_data(json): @@ -1046,7 +1039,6 @@ def underscore_to_hyphen(data): def firewall_policy6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1082,11 +1074,16 @@ def firewall_policy6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1136,13 +1133,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "policy6") if data["firewall_policy6"]: resp = firewall_policy6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_policy6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1158,2183 +1154,412 @@ versioned_schema = { "elements": "dict", "children": { "policyid": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "uuid": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "uuid": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipsec", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}, {"value": "ipsec"}], }, "firewall_session_dirty": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "check-all", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "check-new", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "check-all"}, {"value": "check-new"}], }, "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vlan_cos_fwd": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vlan_cos_rev": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "schedule": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vlan_cos_fwd": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "vlan_cos_rev": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "schedule": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "tos": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "tos_mask": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", "v6.2.7"]], }, + "tos": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "tos_mask": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "tos_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tcp_session_without_syn": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "data-only", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "data-only"}, {"value": "disable"}], }, "anti_replay": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "utm_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspection_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "proxy", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "flow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "proxy"}, {"value": "flow"}], }, "webcache": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webcache_https": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "http_policy_redirect": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_policy_redirect": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "webproxy_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "webproxy_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, "profile_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "single", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "group", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "profile_group": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "single"}, {"value": "group"}], }, + "profile_group": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "profile_protocol_options": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_ssh_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "av_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dnsfilter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "emailfilter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "dlp_sensor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ips_sensor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "voip_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mms_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "icap_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cifs_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "waf_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ssh_filter_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "v_range": [["v6.0.0", "v6.2.7"]], + "type": "string", + }, + "ssl_ssh_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "av_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "webfilter_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "dnsfilter_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "emailfilter_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "dlp_sensor": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "ips_sensor": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "application_list": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "voip_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "mms_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "icap_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "cifs_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "waf_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "ssh_filter_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "logtraffic": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, "logtraffic_start": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_asic_offload": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "np_acceleration": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webproxy_forward_server": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "traffic_shaper": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "traffic_shaper_reverse": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "per_ip_shaper": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", }, + "traffic_shaper": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "traffic_shaper_reverse": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "per_ip_shaper": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "application": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "app_category": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "url_category": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "app_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "nat": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fixedport": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ippool": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "poolname": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "session_ttl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v6.2.7"]], }, + "session_ttl": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "inbound": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "outbound": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "natinbound": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "natoutbound": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "send_deny_packet": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vpntunnel": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vpntunnel": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "diffserv_forward": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv_reverse": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "diffservcode_forward": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "diffservcode_rev": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tcp_mss_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_mss_receiver": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "diffservcode_forward": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "diffservcode_rev": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "tcp_mss_sender": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "tcp_mss_receiver": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "rsso": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "custom_log_fields": { "type": "list", "elements": "dict", "children": { "field_id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "replacemsg_override_group": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "srcaddr_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "service_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "timeout_send_rst": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_mirror": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_mirror_intf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "dsri": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vlan_filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vlan_filter": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "fsso_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "global_label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "devices": { @@ -3342,70 +1567,27 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "dscp_match": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_negate": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "dscp_value": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "spamfilter_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dscp_value": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "spamfilter_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -3440,6 +1622,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy64.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy64.py index bb9e2b4f1..e69dd28ab 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy64.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_policy64.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -159,7 +161,7 @@ options: - 'disable' policyid: description: - - Policy ID (0 - 4294967294). + - Policy ID (0 - 4294967294). see Notes. required: true type: int poolname: @@ -233,54 +235,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 to IPv4 policies. - fortios_firewall_policy64: - vdom: "{{ vdom }}" +- name: Configure IPv6 to IPv4 policies. + fortinet.fortios.fortios_firewall_policy64: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_policy64: - action: "accept" - comments: "" - dstaddr: - - - name: "default_name_6 (source firewall.address.name firewall.addrgrp.name firewall.vip64.name firewall.vipgrp64.name)" - dstintf: " (source system.interface.name system.zone.name)" - fixedport: "enable" - ippool: "enable" - logtraffic: "enable" - logtraffic_start: "enable" - name: "default_name_12" - per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" - permit_any_host: "enable" - policyid: "0" - poolname: - - - name: "default_name_17 (source firewall.ippool.name)" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - service: - - - name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" - srcintf: " (source system.zone.name system.interface.name)" - status: "enable" - tcp_mss_receiver: "0" - tcp_mss_sender: "0" - traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" - traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" - uuid: "" - + action: "accept" + comments: "" + dstaddr: + - + name: "default_name_6 (source firewall.address.name firewall.addrgrp.name firewall.vip64.name firewall.vipgrp64.name)" + dstintf: " (source system.interface.name system.zone.name)" + fixedport: "enable" + ippool: "enable" + logtraffic: "enable" + logtraffic_start: "enable" + name: "default_name_12" + per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" + permit_any_host: "enable" + policyid: "" + poolname: + - + name: "default_name_17 (source firewall.ippool.name)" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + service: + - + name: "default_name_20 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" + srcintf: " (source system.zone.name system.interface.name)" + status: "enable" + tcp_mss_receiver: "0" + tcp_mss_sender: "0" + traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" + traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" + uuid: "" """ RETURN = """ @@ -339,7 +330,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -367,6 +357,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_policy64_data(json): @@ -420,7 +413,6 @@ def underscore_to_hyphen(data): def firewall_policy64(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -456,11 +448,16 @@ def firewall_policy64(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -510,13 +507,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "policy64") if data["firewall_policy64"]: resp = firewall_policy64(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_policy64")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -532,700 +528,109 @@ versioned_schema = { "elements": "dict", "children": { "policyid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "uuid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "srcintf": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dstintf": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.0"]], "type": "string", }, + "uuid": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "srcintf": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "dstintf": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "action": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "status": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "schedule": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "logtraffic": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "logtraffic_start": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "permit_any_host": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "traffic_shaper": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "traffic_shaper_reverse": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "per_ip_shaper": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "traffic_shaper": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "traffic_shaper_reverse": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "per_ip_shaper": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "fixedport": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ippool": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "poolname": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, - "tcp_mss_sender": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_mss_receiver": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "tcp_mss_sender": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "tcp_mss_receiver": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v7.0.0"]], } @@ -1260,6 +665,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_group.py index 541537f24..b6c77b5d5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,6 +96,10 @@ options: description: - Name of an existing Antivirus profile. Source antivirus.profile.name. type: str + casb_profile: + description: + - Name of an existing CASB profile. Source casb.profile.name. + type: str cifs_profile: description: - Name of an existing CIFS profile. Source cifs.profile.name. @@ -165,6 +169,10 @@ options: description: - Name of an existing VideoFilter profile. Source videofilter.profile.name. type: str + virtual_patch_profile: + description: + - Name of an existing virtual-patch profile. Source virtual-patch.profile.name. + type: str voip_profile: description: - Name of an existing VoIP (voipd) profile. Source voip.profile.name. @@ -180,45 +188,36 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure profile groups. - fortios_firewall_profile_group: - vdom: "{{ vdom }}" +- name: Configure profile groups. + fortinet.fortios.fortios_firewall_profile_group: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_profile_group: - application_list: " (source application.list.name)" - av_profile: " (source antivirus.profile.name)" - cifs_profile: " (source cifs.profile.name)" - dlp_profile: " (source dlp.profile.name)" - dlp_sensor: " (source dlp.sensor.name)" - dnsfilter_profile: " (source dnsfilter.profile.name)" - emailfilter_profile: " (source emailfilter.profile.name)" - file_filter_profile: " (source file-filter.profile.name)" - icap_profile: " (source icap.profile.name)" - ips_sensor: " (source ips.sensor.name)" - ips_voip_filter: " (source voip.profile.name)" - mms_profile: " (source firewall.mms-profile.name)" - name: "default_name_15" - profile_protocol_options: " (source firewall.profile-protocol-options.name)" - sctp_filter_profile: " (source sctp-filter.profile.name)" - spamfilter_profile: " (source spamfilter.profile.name)" - ssh_filter_profile: " (source ssh-filter.profile.name)" - ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" - videofilter_profile: " (source videofilter.profile.name)" - voip_profile: " (source voip.profile.name)" - waf_profile: " (source waf.profile.name)" - webfilter_profile: " (source webfilter.profile.name)" - + application_list: " (source application.list.name)" + av_profile: " (source antivirus.profile.name)" + casb_profile: " (source casb.profile.name)" + cifs_profile: " (source cifs.profile.name)" + dlp_profile: " (source dlp.profile.name)" + dlp_sensor: " (source dlp.sensor.name)" + dnsfilter_profile: " (source dnsfilter.profile.name)" + emailfilter_profile: " (source emailfilter.profile.name)" + file_filter_profile: " (source file-filter.profile.name)" + icap_profile: " (source icap.profile.name)" + ips_sensor: " (source ips.sensor.name)" + ips_voip_filter: " (source voip.profile.name)" + mms_profile: " (source firewall.mms-profile.name)" + name: "default_name_16" + profile_protocol_options: " (source firewall.profile-protocol-options.name)" + sctp_filter_profile: " (source sctp-filter.profile.name)" + spamfilter_profile: " (source spamfilter.profile.name)" + ssh_filter_profile: " (source ssh-filter.profile.name)" + ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" + videofilter_profile: " (source videofilter.profile.name)" + virtual_patch_profile: " (source virtual-patch.profile.name)" + voip_profile: " (source voip.profile.name)" + waf_profile: " (source waf.profile.name)" + webfilter_profile: " (source webfilter.profile.name)" """ RETURN = """ @@ -277,7 +276,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -305,12 +303,16 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_profile_group_data(json): option_list = [ "application_list", "av_profile", + "casb_profile", "cifs_profile", "dlp_profile", "dlp_sensor", @@ -328,6 +330,7 @@ def filter_firewall_profile_group_data(json): "ssh_filter_profile", "ssl_ssh_profile", "videofilter_profile", + "virtual_patch_profile", "voip_profile", "waf_profile", "webfilter_profile", @@ -357,7 +360,6 @@ def underscore_to_hyphen(data): def firewall_profile_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -393,11 +395,16 @@ def firewall_profile_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -447,13 +454,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "profile-group") if data["firewall_profile_group"]: resp = firewall_profile_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_profile_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -468,625 +474,32 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "profile_protocol_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_ssh_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "av_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dnsfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "emailfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "file_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "voip_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ips_voip_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sctp_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "icap_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cifs_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "videofilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "waf_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssh_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dlp_sensor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mms_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "spamfilter_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "profile_protocol_options": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_ssh_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "av_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "webfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dnsfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "emailfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dlp_profile": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "file_filter_profile": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ips_sensor": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "application_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "voip_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ips_voip_filter": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "sctp_filter_profile": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "virtual_patch_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "icap_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cifs_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "videofilter_profile": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "waf_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssh_filter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "casb_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "dlp_sensor": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, + "mms_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "spamfilter_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1123,6 +536,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_protocol_options.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_protocol_options.py index 32d94ca47..d6651d190 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_protocol_options.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_profile_protocol_options.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -957,171 +957,160 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure protocol options. - fortios_firewall_profile_protocol_options: - vdom: "{{ vdom }}" +- name: Configure protocol options. + fortinet.fortios.fortios_firewall_profile_protocol_options: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_profile_protocol_options: - cifs: - domain_controller: " (source user.domain-controller.name credential-store.domain-controller.server-name)" - options: "oversize" - oversize_limit: "10" - ports: "" - scan_bzip2: "enable" - server_credential_type: "none" - server_keytab: - - - keytab: "" - principal: "" - status: "enable" - tcp_window_maximum: "8388608" - tcp_window_minimum: "131072" - tcp_window_size: "262144" - tcp_window_type: "auto-tuning" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - comment: "Optional comments." - dns: - ports: "" - status: "enable" - ftp: - comfort_amount: "1" - comfort_interval: "10" - explicit_ftp_tls: "enable" - inspect_all: "enable" - options: "clientcomfort" - oversize_limit: "10" - ports: "" - scan_bzip2: "enable" - ssl_offloaded: "no" - status: "enable" - stream_based_uncompressed_limit: "0" - tcp_window_maximum: "8388608" - tcp_window_minimum: "131072" - tcp_window_size: "262144" - tcp_window_type: "auto-tuning" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - http: - address_ip_rating: "enable" - block_page_status_code: "403" - comfort_amount: "1" - comfort_interval: "10" - fortinet_bar: "enable" - fortinet_bar_port: "32767" - h2c: "enable" - http_policy: "disable" - inspect_all: "enable" - options: "clientcomfort" - oversize_limit: "10" - ports: "" - post_lang: "jisx0201" - proxy_after_tcp_handshake: "enable" - range_block: "disable" - retry_count: "0" - scan_bzip2: "enable" - ssl_offloaded: "no" - status: "enable" - stream_based_uncompressed_limit: "0" - streaming_content_bypass: "enable" - strip_x_forwarded_for: "disable" - switching_protocols: "bypass" - tcp_window_maximum: "8388608" - tcp_window_minimum: "131072" - tcp_window_size: "262144" - tcp_window_type: "auto-tuning" - tunnel_non_http: "enable" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - unknown_content_encoding: "block" - unknown_http_version: "reject" - verify_dns_for_policy_matching: "enable" - imap: - inspect_all: "enable" - options: "fragmail" - oversize_limit: "10" - ports: "" - proxy_after_tcp_handshake: "enable" - scan_bzip2: "enable" - ssl_offloaded: "no" - status: "enable" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - mail_signature: - signature: "" - status: "disable" - mapi: - options: "fragmail" - oversize_limit: "10" - ports: "" - scan_bzip2: "enable" - status: "enable" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - name: "default_name_98" - nntp: - inspect_all: "enable" - options: "oversize" - oversize_limit: "10" - ports: "" - proxy_after_tcp_handshake: "enable" - scan_bzip2: "enable" - status: "enable" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - oversize_log: "disable" - pop3: - inspect_all: "enable" - options: "fragmail" - oversize_limit: "10" - ports: "" - proxy_after_tcp_handshake: "enable" - scan_bzip2: "enable" - ssl_offloaded: "no" - status: "enable" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - replacemsg_group: " (source system.replacemsg-group.name)" - rpc_over_http: "enable" - smtp: - inspect_all: "enable" - options: "fragmail" - oversize_limit: "10" - ports: "" - proxy_after_tcp_handshake: "enable" - scan_bzip2: "enable" - server_busy: "enable" - ssl_offloaded: "no" - status: "enable" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - ssh: - comfort_amount: "1" - comfort_interval: "10" - options: "oversize" - oversize_limit: "10" - scan_bzip2: "enable" - ssl_offloaded: "no" - stream_based_uncompressed_limit: "0" - tcp_window_maximum: "8388608" - tcp_window_minimum: "131072" - tcp_window_size: "262144" - tcp_window_type: "auto-tuning" - uncompressed_nest_limit: "12" - uncompressed_oversize_limit: "10" - switching_protocols_log: "disable" - + cifs: + domain_controller: " (source user.domain-controller.name credential-store.domain-controller.server-name)" + options: "oversize" + oversize_limit: "10" + ports: "" + scan_bzip2: "enable" + server_credential_type: "none" + server_keytab: + - + keytab: "" + principal: "" + status: "enable" + tcp_window_maximum: "8388608" + tcp_window_minimum: "131072" + tcp_window_size: "262144" + tcp_window_type: "auto-tuning" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + comment: "Optional comments." + dns: + ports: "" + status: "enable" + ftp: + comfort_amount: "1" + comfort_interval: "10" + explicit_ftp_tls: "enable" + inspect_all: "enable" + options: "clientcomfort" + oversize_limit: "10" + ports: "" + scan_bzip2: "enable" + ssl_offloaded: "no" + status: "enable" + stream_based_uncompressed_limit: "0" + tcp_window_maximum: "8388608" + tcp_window_minimum: "131072" + tcp_window_size: "262144" + tcp_window_type: "auto-tuning" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + http: + address_ip_rating: "enable" + block_page_status_code: "403" + comfort_amount: "1" + comfort_interval: "10" + fortinet_bar: "enable" + fortinet_bar_port: "32767" + h2c: "enable" + http_policy: "disable" + inspect_all: "enable" + options: "clientcomfort" + oversize_limit: "10" + ports: "" + post_lang: "jisx0201" + proxy_after_tcp_handshake: "enable" + range_block: "disable" + retry_count: "0" + scan_bzip2: "enable" + ssl_offloaded: "no" + status: "enable" + stream_based_uncompressed_limit: "0" + streaming_content_bypass: "enable" + strip_x_forwarded_for: "disable" + switching_protocols: "bypass" + tcp_window_maximum: "8388608" + tcp_window_minimum: "131072" + tcp_window_size: "262144" + tcp_window_type: "auto-tuning" + tunnel_non_http: "enable" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + unknown_content_encoding: "block" + unknown_http_version: "reject" + verify_dns_for_policy_matching: "enable" + imap: + inspect_all: "enable" + options: "fragmail" + oversize_limit: "10" + ports: "" + proxy_after_tcp_handshake: "enable" + scan_bzip2: "enable" + ssl_offloaded: "no" + status: "enable" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + mail_signature: + signature: "" + status: "disable" + mapi: + options: "fragmail" + oversize_limit: "10" + ports: "" + scan_bzip2: "enable" + status: "enable" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + name: "default_name_98" + nntp: + inspect_all: "enable" + options: "oversize" + oversize_limit: "10" + ports: "" + proxy_after_tcp_handshake: "enable" + scan_bzip2: "enable" + status: "enable" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + oversize_log: "disable" + pop3: + inspect_all: "enable" + options: "fragmail" + oversize_limit: "10" + ports: "" + proxy_after_tcp_handshake: "enable" + scan_bzip2: "enable" + ssl_offloaded: "no" + status: "enable" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + replacemsg_group: " (source system.replacemsg-group.name)" + rpc_over_http: "enable" + smtp: + inspect_all: "enable" + options: "fragmail" + oversize_limit: "10" + ports: "" + proxy_after_tcp_handshake: "enable" + scan_bzip2: "enable" + server_busy: "enable" + ssl_offloaded: "no" + status: "enable" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + ssh: + comfort_amount: "1" + comfort_interval: "10" + options: "oversize" + oversize_limit: "10" + scan_bzip2: "enable" + ssl_offloaded: "no" + stream_based_uncompressed_limit: "0" + tcp_window_maximum: "8388608" + tcp_window_minimum: "131072" + tcp_window_size: "262144" + tcp_window_type: "auto-tuning" + uncompressed_nest_limit: "12" + uncompressed_oversize_limit: "10" + switching_protocols_log: "disable" """ RETURN = """ @@ -1180,7 +1169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1208,6 +1196,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_profile_protocol_options_data(json): @@ -1302,7 +1293,6 @@ def underscore_to_hyphen(data): def firewall_profile_protocol_options(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1347,11 +1337,16 @@ def firewall_profile_protocol_options(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1406,7 +1401,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "profile-protocol-options") if data["firewall_profile_protocol_options"]: resp = firewall_profile_protocol_options(data, fos, check_mode) @@ -1414,7 +1408,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_profile_protocol_options") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1429,8357 +1423,666 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "replacemsg_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "oversize_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "switching_protocols_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "clientcomfort", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "servercomfort", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chunkedbypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "clientcomfort"}, + {"value": "servercomfort"}, + {"value": "oversize"}, + {"value": "chunkedbypass"}, ], "multiple_values": True, "elements": "str", }, - "comfort_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comfort_amount": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "comfort_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comfort_amount": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "range_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "strip_x_forwarded_for": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "post_lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "jisx0201", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jisx0208", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jisx0212", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gb2312", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ksc5601-ex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "euc-jp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sjis", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iso2022-jp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iso2022-jp-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iso2022-jp-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "euc-cn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ces-gbk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ces-big5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "euc-kr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iso2022-jp-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iso8859-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tis620", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cp874", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cp1252", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cp1251", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "jisx0201"}, + {"value": "jisx0208"}, + {"value": "jisx0212"}, + {"value": "gb2312"}, + {"value": "ksc5601-ex"}, + {"value": "euc-jp"}, + {"value": "sjis"}, + {"value": "iso2022-jp"}, + {"value": "iso2022-jp-1"}, + {"value": "iso2022-jp-2"}, + {"value": "euc-cn"}, + {"value": "ces-gbk"}, + {"value": "hz"}, + {"value": "ces-big5"}, + {"value": "euc-kr"}, + {"value": "iso2022-jp-3"}, + {"value": "iso8859-1"}, + {"value": "tis620"}, + {"value": "cp874"}, + {"value": "cp1252"}, + {"value": "cp1251"}, ], "multiple_values": True, "elements": "str", }, "streaming_content_bypass": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switching_protocols": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "bypass"}, {"value": "block"}], }, "unknown_http_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "reject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "best-effort", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "reject"}, + {"value": "tunnel"}, + {"value": "best-effort"}, ], }, "tunnel_non_http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "h2c": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unknown_content_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "block", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "inspect", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "bypass", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "block"}, + {"value": "inspect"}, + {"value": "bypass"}, ], }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "oversize_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "stream_based_uncompressed_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "verify_dns_for_policy_matching": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "block_page_status_code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "retry_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "retry_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "tcp_window_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "auto-tuning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "system", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "auto-tuning", "v_range": [["v7.0.4", ""]]}, + {"value": "system"}, + {"value": "static"}, + {"value": "dynamic"}, ], }, - "tcp_window_minimum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "tcp_window_maximum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "tcp_window_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "tcp_window_minimum": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "tcp_window_maximum": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "tcp_window_size": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "ssl_offloaded": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, "address_ip_rating": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortinet_bar": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortinet_bar_port": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "http_policy": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "ftp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "clientcomfort", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "splice", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bypass-rest-command", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bypass-mode-command", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "clientcomfort"}, + {"value": "oversize"}, + {"value": "splice"}, + {"value": "bypass-rest-command"}, + {"value": "bypass-mode-command"}, ], "multiple_values": True, "elements": "str", }, - "comfort_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comfort_amount": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "comfort_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comfort_amount": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "oversize_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "stream_based_uncompressed_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tcp_window_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "auto-tuning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "system", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "auto-tuning", "v_range": [["v7.0.4", ""]]}, + {"value": "system"}, + {"value": "static"}, + {"value": "dynamic"}, ], }, - "tcp_window_minimum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "tcp_window_maximum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "tcp_window_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "tcp_window_minimum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "tcp_window_maximum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "tcp_window_size": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "ssl_offloaded": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, "explicit_ftp_tls": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "imap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "fragmail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "fragmail"}, {"value": "oversize"}], "multiple_values": True, "elements": "str", }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "oversize_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_offloaded": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, }, }, "mapi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "fragmail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "fragmail"}, {"value": "oversize"}], "multiple_values": True, "elements": "str", }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "oversize_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "pop3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "fragmail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "fragmail"}, {"value": "oversize"}], "multiple_values": True, "elements": "str", }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "oversize_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_offloaded": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, }, }, "smtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "fragmail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "splice", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "fragmail"}, + {"value": "oversize"}, + {"value": "splice"}, ], "multiple_values": True, "elements": "str", }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "oversize_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_busy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_offloaded": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, }, }, "nntp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "splice", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "oversize"}, {"value": "splice"}], "multiple_values": True, "elements": "str", }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "oversize_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "ssh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clientcomfort", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "servercomfort", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "oversize"}, + {"value": "clientcomfort"}, + {"value": "servercomfort"}, ], "multiple_values": True, "elements": "str", }, - "comfort_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "comfort_amount": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "comfort_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "comfort_amount": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "oversize_limit": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "stream_based_uncompressed_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tcp_window_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "auto-tuning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "system", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "auto-tuning", "v_range": [["v7.0.4", ""]]}, + {"value": "system"}, + {"value": "static"}, + {"value": "dynamic"}, ], }, - "tcp_window_minimum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - "tcp_window_maximum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - "tcp_window_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, + "tcp_window_minimum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "tcp_window_maximum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "tcp_window_size": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "ssl_offloaded": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, }, }, "dns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "cifs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "list", - "options": [ - { - "value": "oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - } - ], + "options": [{"value": "oversize"}], "multiple_values": True, "elements": "str", }, - "oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, + "oversize_limit": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "uncompressed_oversize_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, "uncompressed_nest_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, "scan_bzip2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tcp_window_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "auto-tuning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "system", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "auto-tuning", "v_range": [["v7.0.4", ""]]}, + {"value": "system"}, + {"value": "static"}, + {"value": "dynamic"}, ], }, - "tcp_window_minimum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - "tcp_window_maximum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - "tcp_window_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, + "tcp_window_minimum": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "tcp_window_maximum": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "tcp_window_size": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "server_credential_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "credential-replication", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "credential-keytab", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, + {"value": "none"}, + {"value": "credential-replication"}, + {"value": "credential-keytab"}, ], }, "domain_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "server_keytab": { @@ -9787,342 +2090,38 @@ versioned_schema = { "elements": "dict", "children": { "principal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, }, "keytab": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], }, }, }, "mail_signature": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "signature": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "signature": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, }, "rpc_over_http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -10159,6 +2158,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proute.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proute.py index bd653d8a8..caabf449d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proute.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proute.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: List policy routing. - fortios_firewall_proute: - vdom: "{{ vdom }}" +- name: List policy routing. + fortinet.fortios.fortios_firewall_proute: + vdom: "{{ vdom }}" firewall_proute: - policy_route_id: "" - + policy_route_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos): - fos.do_member_operation("firewall", "proute") if data["firewall_proute"]: resp = firewall_proute(data, fos) @@ -275,39 +262,15 @@ def fortios_firewall(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "policy_route_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -344,6 +307,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_address.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_address.py index dbeafd7bc..2d7c7b4b9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_address.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_address.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,7 +114,7 @@ options: suboptions: id: description: - - FortiGuard category ID. + - FortiGuard category ID. see Notes. required: true type: int color: @@ -152,7 +152,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int header_name: @@ -278,60 +278,49 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure web proxy address. - fortios_firewall_proxy_address: - vdom: "{{ vdom }}" +- name: Configure web proxy address. + fortinet.fortios.fortios_firewall_proxy_address: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_proxy_address: - application: - - - name: "default_name_4" - case_sensitivity: "disable" - category: - - - id: "7" - color: "0" - comment: "Optional comments." - header: "" - header_group: - - - case_sensitivity: "disable" - header: "" - header_name: "" - id: "15" - header_name: "" - host: "myhostname (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name)" - host_regex: "myhostname" - method: "get" - name: "default_name_20" - path: "" - query: "" - referrer: "enable" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_26" - tags: - - - name: "default_name_28 (source system.object-tagging.tags.name)" - type: "host-regex" - ua: "chrome" - ua_max_ver: "" - ua_min_ver: "" - uuid: "" - visibility: "enable" - + application: + - + name: "default_name_4" + case_sensitivity: "disable" + category: + - + id: "7" + color: "0" + comment: "Optional comments." + header: "" + header_group: + - + case_sensitivity: "disable" + header: "" + header_name: "" + id: "15" + header_name: "" + host: "myhostname (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name)" + host_regex: "myhostname" + method: "get" + name: "default_name_20" + path: "" + query: "" + referrer: "enable" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_26" + tags: + - + name: "default_name_28 (source system.object-tagging.tags.name)" + type: "host-regex" + ua: "chrome" + ua_max_ver: "" + ua_min_ver: "" + uuid: "" + visibility: "enable" """ RETURN = """ @@ -390,7 +379,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -418,6 +406,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_proxy_address_data(json): @@ -500,7 +491,6 @@ def underscore_to_hyphen(data): def firewall_proxy_address(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -539,11 +529,16 @@ def firewall_proxy_address(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -593,13 +588,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "proxy-address") if data["firewall_proxy_address"]: resp = firewall_proxy_address(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_proxy_address")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -614,1857 +608,145 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "host-regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "url", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "category", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "method", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ua", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "src-advanced", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dst-advanced", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saas", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "host-regex"}, + {"value": "url"}, + {"value": "category"}, + {"value": "method"}, + {"value": "ua"}, + {"value": "header"}, + {"value": "src-advanced"}, + {"value": "dst-advanced"}, + {"value": "saas", "v_range": [["v7.2.1", ""]]}, ], }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "host_regex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "query": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "host": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "host_regex": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "query": {"v_range": [["v6.0.0", ""]], "type": "string"}, "referrer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "category": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "put", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "head", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trace", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "options", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "delete", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "get"}, + {"value": "post"}, + {"value": "put"}, + {"value": "head"}, + {"value": "connect"}, + {"value": "trace"}, + {"value": "options"}, + {"value": "delete"}, ], "multiple_values": True, "elements": "str", }, "ua": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "chrome", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "firefox", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "safari", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "edge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "other", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "chrome"}, + {"value": "ms"}, + {"value": "firefox"}, + {"value": "safari"}, + {"value": "ie", "v_range": [["v7.2.4", ""]]}, + {"value": "edge", "v_range": [["v7.2.4", ""]]}, + {"value": "other"}, ], "multiple_values": True, "elements": "str", }, - "ua_min_ver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ua_max_ver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "header_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ua_min_ver": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "ua_max_ver": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "header_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "header": {"v_range": [["v6.0.0", ""]], "type": "string"}, "case_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "header_group": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "header_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "header_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "header": {"v_range": [["v6.0.0", ""]], "type": "string"}, "case_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "application": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2501,6 +783,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_addrgrp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_addrgrp.py index 794253fea..debc54045 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_addrgrp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_addrgrp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -159,39 +159,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure web proxy address group. - fortios_firewall_proxy_addrgrp: - vdom: "{{ vdom }}" +- name: Configure web proxy address group. + fortinet.fortios.fortios_firewall_proxy_addrgrp: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_proxy_addrgrp: - color: "0" - comment: "Optional comments." - member: - - - name: "default_name_6 (source firewall.proxy-address.name firewall.proxy-addrgrp.name)" - name: "default_name_7" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_10" - tags: - - - name: "default_name_12 (source system.object-tagging.tags.name)" - type: "src" - uuid: "" - visibility: "enable" - + color: "0" + comment: "Optional comments." + member: + - + name: "default_name_6 (source firewall.proxy-address.name firewall.proxy-addrgrp.name)" + name: "default_name_7" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_10" + tags: + - + name: "default_name_12 (source system.object-tagging.tags.name)" + type: "src" + uuid: "" + visibility: "enable" """ RETURN = """ @@ -250,7 +239,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,6 +266,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_proxy_addrgrp_data(json): @@ -316,7 +307,6 @@ def underscore_to_hyphen(data): def firewall_proxy_addrgrp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -352,11 +342,16 @@ def firewall_proxy_addrgrp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -406,13 +401,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "proxy-addrgrp") if data["firewall_proxy_addrgrp"]: resp = firewall_proxy_addrgrp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_proxy_addrgrp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -427,492 +421,59 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "src", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dst", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "src"}, {"value": "dst"}], }, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -949,6 +510,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_policy.py index 7c75b0a18..8c01a42be 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_proxy_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,6 +135,10 @@ options: choices: - 'enable' - 'disable' + casb_profile: + description: + - Name of an existing CASB profile. Source casb.profile.name. + type: str cifs_profile: description: - Name of an existing CIFS profile. Source cifs.profile.name. @@ -145,6 +151,13 @@ options: description: - Decrypted traffic mirror. Source firewall.decrypted-traffic-mirror.name. type: str + detect_https_in_http_request: + description: + - Enable/disable detection of HTTPS in HTTP request. + type: str + choices: + - 'enable' + - 'disable' device_ownership: description: - When enabled, the ownership enforcement will be done at policy level. @@ -293,7 +306,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_name: @@ -409,7 +422,7 @@ options: type: str policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int poolname: @@ -596,6 +609,10 @@ options: description: - Name of an existing VideoFilter profile. Source videofilter.profile.name. type: str + virtual_patch_profile: + description: + - Name of an existing virtual-patch profile. Source virtual-patch.profile.name. + type: str voip_profile: description: - Name of an existing VoIP profile. Source voip.profile.name. @@ -651,150 +668,142 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure proxy policies. - fortios_firewall_proxy_policy: - vdom: "{{ vdom }}" +- name: Configure proxy policies. + fortinet.fortios.fortios_firewall_proxy_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_proxy_policy: - access_proxy: - - - name: "default_name_4 (source firewall.access-proxy.name)" - access_proxy6: - - - name: "default_name_6 (source firewall.access-proxy6.name)" - action: "accept" - application_list: " (source application.list.name)" - av_profile: " (source antivirus.profile.name)" - block_notification: "enable" - cifs_profile: " (source cifs.profile.name)" - comments: "" - decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" - device_ownership: "enable" - disclaimer: "disable" - dlp_profile: " (source dlp.profile.name)" - dlp_sensor: " (source dlp.sensor.name)" - dstaddr: - - - name: "default_name_19 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name firewall.vip - .name firewall.vipgrp.name system.external-resource.name)" - dstaddr_negate: "enable" - dstaddr6: - - - name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system.external-resource - .name)" - dstintf: - - - name: "default_name_24 (source system.interface.name system.zone.name system.sdwan.zone.name)" - emailfilter_profile: " (source emailfilter.profile.name)" - file_filter_profile: " (source file-filter.profile.name)" - global_label: "" - groups: - - - name: "default_name_29 (source user.group.name)" - http_tunnel_auth: "enable" - icap_profile: " (source icap.profile.name)" - internet_service: "enable" - internet_service_custom: - - - name: "default_name_34 (source firewall.internet-service-custom.name)" - internet_service_custom_group: - - - name: "default_name_36 (source firewall.internet-service-custom-group.name)" - internet_service_group: - - - name: "default_name_38 (source firewall.internet-service-group.name)" - internet_service_id: - - - id: "40 (source firewall.internet-service.id)" - internet_service_name: - - - name: "default_name_42 (source firewall.internet-service-name.name)" - internet_service_negate: "enable" - internet_service6: "enable" - internet_service6_custom: - - - name: "default_name_46 (source firewall.internet-service-custom.name)" - internet_service6_custom_group: - - - name: "default_name_48 (source firewall.internet-service-custom-group.name)" - internet_service6_group: - - - name: "default_name_50 (source firewall.internet-service-group.name)" - internet_service6_name: - - - name: "default_name_52 (source firewall.internet-service-name.name)" - internet_service6_negate: "enable" - ips_sensor: " (source ips.sensor.name)" - ips_voip_filter: " (source voip.profile.name)" - label: "" - logtraffic: "all" - logtraffic_start: "enable" - mms_profile: " (source firewall.mms-profile.name)" - name: "default_name_60" - policyid: "0" - poolname: - - - name: "default_name_63 (source firewall.ippool.name)" - profile_group: " (source firewall.profile-group.name)" - profile_protocol_options: " (source firewall.profile-protocol-options.name)" - profile_type: "single" - proxy: "explicit-web" - redirect_url: "" - replacemsg_override_group: " (source system.replacemsg-group.name)" - scan_botnet_connections: "disable" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - sctp_filter_profile: " (source sctp-filter.profile.name)" - service: - - - name: "default_name_74 (source firewall.service.custom.name firewall.service.group.name)" - service_negate: "enable" - session_ttl: "0" - spamfilter_profile: " (source spamfilter.profile.name)" - srcaddr: - - - name: "default_name_79 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system - .external-resource.name)" - srcaddr_negate: "enable" - srcaddr6: - - - name: "default_name_82 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - srcintf: - - - name: "default_name_84 (source system.interface.name system.zone.name system.sdwan.zone.name)" - ssh_filter_profile: " (source ssh-filter.profile.name)" - ssh_policy_redirect: "enable" - ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" - status: "enable" - transparent: "enable" - users: - - - name: "default_name_91 (source user.local.name user.certificate.name)" - utm_status: "enable" - uuid: "" - videofilter_profile: " (source videofilter.profile.name)" - voip_profile: " (source voip.profile.name)" - waf_profile: " (source waf.profile.name)" - webcache: "enable" - webcache_https: "disable" - webfilter_profile: " (source webfilter.profile.name)" - webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" - webproxy_profile: " (source web-proxy.profile.name)" - ztna_ems_tag: - - - name: "default_name_103 (source firewall.address.name firewall.addrgrp.name)" - ztna_tags_match_logic: "or" - + access_proxy: + - + name: "default_name_4 (source firewall.access-proxy.name)" + access_proxy6: + - + name: "default_name_6 (source firewall.access-proxy6.name)" + action: "accept" + application_list: " (source application.list.name)" + av_profile: " (source antivirus.profile.name)" + block_notification: "enable" + casb_profile: " (source casb.profile.name)" + cifs_profile: " (source cifs.profile.name)" + comments: "" + decrypted_traffic_mirror: " (source firewall.decrypted-traffic-mirror.name)" + detect_https_in_http_request: "enable" + device_ownership: "enable" + disclaimer: "disable" + dlp_profile: " (source dlp.profile.name)" + dlp_sensor: " (source dlp.sensor.name)" + dstaddr: + - + name: "default_name_21 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name firewall + .vip.name firewall.vipgrp.name system.external-resource.name)" + dstaddr_negate: "enable" + dstaddr6: + - + name: "default_name_24 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system + .external-resource.name)" + dstintf: + - + name: "default_name_26 (source system.interface.name system.zone.name system.sdwan.zone.name)" + emailfilter_profile: " (source emailfilter.profile.name)" + file_filter_profile: " (source file-filter.profile.name)" + global_label: "" + groups: + - + name: "default_name_31 (source user.group.name)" + http_tunnel_auth: "enable" + icap_profile: " (source icap.profile.name)" + internet_service: "enable" + internet_service_custom: + - + name: "default_name_36 (source firewall.internet-service-custom.name)" + internet_service_custom_group: + - + name: "default_name_38 (source firewall.internet-service-custom-group.name)" + internet_service_group: + - + name: "default_name_40 (source firewall.internet-service-group.name)" + internet_service_id: + - + id: "42 (source firewall.internet-service.id)" + internet_service_name: + - + name: "default_name_44 (source firewall.internet-service-name.name)" + internet_service_negate: "enable" + internet_service6: "enable" + internet_service6_custom: + - + name: "default_name_48 (source firewall.internet-service-custom.name)" + internet_service6_custom_group: + - + name: "default_name_50 (source firewall.internet-service-custom-group.name)" + internet_service6_group: + - + name: "default_name_52 (source firewall.internet-service-group.name)" + internet_service6_name: + - + name: "default_name_54 (source firewall.internet-service-name.name)" + internet_service6_negate: "enable" + ips_sensor: " (source ips.sensor.name)" + ips_voip_filter: " (source voip.profile.name)" + label: "" + logtraffic: "all" + logtraffic_start: "enable" + mms_profile: " (source firewall.mms-profile.name)" + name: "default_name_62" + policyid: "" + poolname: + - + name: "default_name_65 (source firewall.ippool.name)" + profile_group: " (source firewall.profile-group.name)" + profile_protocol_options: " (source firewall.profile-protocol-options.name)" + profile_type: "single" + proxy: "explicit-web" + redirect_url: "" + replacemsg_override_group: " (source system.replacemsg-group.name)" + scan_botnet_connections: "disable" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + sctp_filter_profile: " (source sctp-filter.profile.name)" + service: + - + name: "default_name_76 (source firewall.service.custom.name firewall.service.group.name)" + service_negate: "enable" + session_ttl: "0" + spamfilter_profile: " (source spamfilter.profile.name)" + srcaddr: + - + name: "default_name_81 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system + .external-resource.name)" + srcaddr_negate: "enable" + srcaddr6: + - + name: "default_name_84 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + srcintf: + - + name: "default_name_86 (source system.interface.name system.zone.name system.sdwan.zone.name)" + ssh_filter_profile: " (source ssh-filter.profile.name)" + ssh_policy_redirect: "enable" + ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" + status: "enable" + transparent: "enable" + users: + - + name: "default_name_93 (source user.local.name user.certificate.name)" + utm_status: "enable" + uuid: "" + videofilter_profile: " (source videofilter.profile.name)" + virtual_patch_profile: " (source virtual-patch.profile.name)" + voip_profile: " (source voip.profile.name)" + waf_profile: " (source waf.profile.name)" + webcache: "enable" + webcache_https: "disable" + webfilter_profile: " (source webfilter.profile.name)" + webproxy_forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" + webproxy_profile: " (source web-proxy.profile.name)" + ztna_ems_tag: + - + name: "default_name_106 (source firewall.address.name firewall.addrgrp.name)" + ztna_tags_match_logic: "or" """ RETURN = """ @@ -853,7 +862,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -881,6 +889,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_proxy_policy_data(json): @@ -891,9 +902,11 @@ def filter_firewall_proxy_policy_data(json): "application_list", "av_profile", "block_notification", + "casb_profile", "cifs_profile", "comments", "decrypted_traffic_mirror", + "detect_https_in_http_request", "device_ownership", "disclaimer", "dlp_profile", @@ -956,6 +969,7 @@ def filter_firewall_proxy_policy_data(json): "utm_status", "uuid", "videofilter_profile", + "virtual_patch_profile", "voip_profile", "waf_profile", "webcache", @@ -991,7 +1005,6 @@ def underscore_to_hyphen(data): def firewall_proxy_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1027,11 +1040,16 @@ def firewall_proxy_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1081,13 +1099,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "proxy-policy") if data["firewall_proxy_policy"]: resp = firewall_proxy_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_proxy_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1102,326 +1119,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "policyid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "explicit-web", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transparent-web", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh-tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "access-proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "wanopt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "explicit-web"}, + {"value": "transparent-web"}, + {"value": "ftp"}, + {"value": "ssh"}, + {"value": "ssh-tunnel"}, + {"value": "access-proxy", "v_range": [["v7.0.0", ""]]}, + {"value": "wanopt"}, ], }, "access_proxy": { @@ -1429,3929 +1140,431 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "access_proxy6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], }, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "poolname": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ztna_ems_tag": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "ztna_tags_match_logic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "or", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "and", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "or"}, {"value": "and"}], }, "device_ownership": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "internet_service_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], }, "internet_service6_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], }, "internet_service6_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], }, "internet_service6_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "redirect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}, {"value": "redirect"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "session_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, + "session_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "http_tunnel_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_policy_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "webproxy_forward_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "webproxy_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "webproxy_forward_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "webproxy_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "transparent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webcache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webcache_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "disclaimer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "domain", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "policy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "domain"}, + {"value": "policy"}, + {"value": "user"}, ], }, "utm_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "profile_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "single", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "profile_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "profile_protocol_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_ssh_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "av_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "emailfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "file_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ips_voip_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sctp_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "icap_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cifs_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "videofilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "waf_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - }, - "ssh_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replacemsg_override_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "options": [{"value": "single"}, {"value": "group"}], + }, + "profile_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "profile_protocol_options": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_ssh_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "av_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "webfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "emailfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dlp_profile": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "file_filter_profile": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ips_sensor": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "application_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ips_voip_filter": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "sctp_filter_profile": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "virtual_patch_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "icap_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cifs_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "videofilter_profile": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "waf_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssh_filter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "casb_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "replacemsg_override_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "logtraffic_start": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "block_notification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "redirect_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "decrypted_traffic_mirror": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "voip_profile": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "dlp_sensor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "redirect_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "decrypted_traffic_mirror": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "detect_https_in_http_request": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "voip_profile": {"v_range": [["v7.0.0", "v7.2.4"]], "type": "string"}, + "dlp_sensor": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "internet_service_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "mms_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v6.2.7"]], }, + "mms_profile": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "global_label": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "spamfilter_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, + "spamfilter_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "scan_botnet_connections": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "block", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monitor", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "block"}, {"value": "monitor"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -5388,6 +1601,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_region.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_region.py index 260e27bc7..03d0734dd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_region.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_region.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,12 +98,12 @@ options: suboptions: id: description: - - City ID. + - City ID. see Notes. required: true type: int id: description: - - Region ID. + - Region ID. see Notes. required: true type: int name: @@ -111,28 +113,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Define region table. - fortios_firewall_region: - vdom: "{{ vdom }}" +- name: Define region table. + fortinet.fortios.fortios_firewall_region: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_region: - city: - - - id: "4" - id: "5" - name: "default_name_6" - + city: + - + id: "4" + id: "5" + name: "default_name_6" """ RETURN = """ @@ -191,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +209,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_region_data(json): @@ -248,7 +241,6 @@ def underscore_to_hyphen(data): def firewall_region(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -284,11 +276,16 @@ def firewall_region(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -336,13 +333,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "region") if data["firewall_region"]: resp = firewall_region(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_region")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -358,34 +354,12 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "city": { @@ -393,48 +367,15 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -469,6 +410,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_group.py index 8c17c6075..4163edfac 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -118,29 +118,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Schedule group configuration. - fortios_firewall_schedule_group: - vdom: "{{ vdom }}" +- name: Schedule group configuration. + fortinet.fortios.fortios_firewall_schedule_group: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_schedule_group: - color: "0" - fabric_object: "enable" - member: - - - name: "default_name_6 (source firewall.schedule.onetime.name firewall.schedule.recurring.name)" - name: "default_name_7" - + color: "0" + fabric_object: "enable" + member: + - + name: "default_name_6 (source firewall.schedule.onetime.name firewall.schedule.recurring.name)" + name: "default_name_7" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -227,6 +215,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_schedule_group_data(json): @@ -256,7 +247,6 @@ def underscore_to_hyphen(data): def firewall_schedule_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -292,11 +282,16 @@ def firewall_schedule_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,13 +341,12 @@ def is_successful_status(resp): def fortios_firewall_schedule(data, fos, check_mode): - fos.do_member_operation("firewall.schedule", "group") if data["firewall_schedule_group"]: resp = firewall_schedule_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_schedule_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,225 +361,27 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -622,6 +418,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_onetime.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_onetime.py index 9acecf775..c67a03428 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_onetime.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_onetime.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -127,31 +127,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Onetime schedule configuration. - fortios_firewall_schedule_onetime: - vdom: "{{ vdom }}" +- name: Onetime schedule configuration. + fortinet.fortios.fortios_firewall_schedule_onetime: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_schedule_onetime: - color: "0" - end: "" - end_utc: "" - expiration_days: "3" - fabric_object: "enable" - name: "default_name_8" - start: "" - start_utc: "" - + color: "0" + end: "" + end_utc: "" + expiration_days: "3" + fabric_object: "enable" + name: "default_name_8" + start: "" + start_utc: "" """ RETURN = """ @@ -210,7 +199,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -238,6 +226,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_schedule_onetime_data(json): @@ -276,7 +267,6 @@ def underscore_to_hyphen(data): def firewall_schedule_onetime(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -312,11 +302,16 @@ def firewall_schedule_onetime(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -366,7 +361,6 @@ def is_successful_status(resp): def fortios_firewall_schedule(data, fos, check_mode): - fos.do_member_operation("firewall.schedule", "onetime") if data["firewall_schedule_onetime"]: resp = firewall_schedule_onetime(data, fos, check_mode) @@ -374,7 +368,7 @@ def fortios_firewall_schedule(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_schedule_onetime") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -389,308 +383,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "start": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "start_utc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "end": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_utc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "expiration_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "start": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "start_utc": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "end": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_utc": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "expiration_days": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -727,6 +433,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_recurring.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_recurring.py index 903dca171..309dc8766 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_recurring.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_schedule_recurring.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -129,29 +129,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Recurring schedule configuration. - fortios_firewall_schedule_recurring: - vdom: "{{ vdom }}" +- name: Recurring schedule configuration. + fortinet.fortios.fortios_firewall_schedule_recurring: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_schedule_recurring: - color: "0" - day: "sunday" - end: "" - fabric_object: "enable" - name: "default_name_7" - start: "" - + color: "0" + day: "sunday" + end: "" + fabric_object: "enable" + name: "default_name_7" + start: "" """ RETURN = """ @@ -210,7 +199,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -238,6 +226,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_schedule_recurring_data(json): @@ -296,7 +287,6 @@ def underscore_to_hyphen(data): def firewall_schedule_recurring(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -335,11 +325,16 @@ def firewall_schedule_recurring(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -389,7 +384,6 @@ def is_successful_status(resp): def fortios_firewall_schedule(data, fos, check_mode): - fos.do_member_operation("firewall.schedule", "recurring") if data["firewall_schedule_recurring"]: resp = firewall_schedule_recurring(data, fos, check_mode) @@ -397,7 +391,7 @@ def fortios_firewall_schedule(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_schedule_recurring") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -412,486 +406,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "start": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "start": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end": {"v_range": [["v6.0.0", ""]], "type": "string"}, "day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, + {"value": "none"}, ], "multiple_values": True, "elements": "str", }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -928,6 +469,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_security_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_security_policy.py index 5d09cd2fa..acf6d793c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_security_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_security_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the policyid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,7 +105,7 @@ options: suboptions: id: description: - - Category IDs. + - Category IDs. see Notes. required: true type: int app_group: @@ -125,7 +127,7 @@ options: suboptions: id: description: - - Application IDs. + - Application IDs. see Notes. required: true type: int application_list: @@ -136,6 +138,10 @@ options: description: - Name of an existing Antivirus profile. Source antivirus.profile.name. type: str + casb_profile: + description: + - Name of an existing CASB profile. Source casb.profile.name. + type: str cifs_profile: description: - Name of an existing CIFS profile. Source cifs.profile.name. @@ -310,7 +316,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_name: @@ -379,7 +385,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_src_name: @@ -571,7 +577,7 @@ options: - 'disable' policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int profile_group: @@ -730,6 +736,10 @@ options: description: - Name of an existing VideoFilter profile. Source videofilter.profile.name. type: str + virtual_patch_profile: + description: + - Name of an existing virtual-patch profile. Source virtual-patch.profile.name. + type: str voip_profile: description: - Name of an existing VoIP (voipd) profile. Source voip.profile.name. @@ -741,175 +751,167 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NGFW IPv4/IPv6 application policies. - fortios_firewall_security_policy: - vdom: "{{ vdom }}" +- name: Configure NGFW IPv4/IPv6 application policies. + fortinet.fortios.fortios_firewall_security_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_security_policy: - action: "accept" - app_category: - - - id: "5" - app_group: - - - name: "default_name_7 (source application.group.name)" - application: - - - id: "9" - application_list: " (source application.list.name)" - av_profile: " (source antivirus.profile.name)" - cifs_profile: " (source cifs.profile.name)" - comments: "" - dlp_profile: " (source dlp.profile.name)" - dlp_sensor: " (source dlp.sensor.name)" - dnsfilter_profile: " (source dnsfilter.profile.name)" - dstaddr: - - - name: "default_name_18 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name system.external-resource.name)" - dstaddr_negate: "enable" - dstaddr4: - - - name: "default_name_21 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name)" - dstaddr6: - - - name: "default_name_23 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system.external-resource - .name)" - dstaddr6_negate: "enable" - dstintf: - - - name: "default_name_26 (source system.interface.name system.zone.name system.sdwan.zone.name)" - emailfilter_profile: " (source emailfilter.profile.name)" - enforce_default_app_port: "enable" - file_filter_profile: " (source file-filter.profile.name)" - fsso_groups: - - - name: "default_name_31 (source user.adgrp.name)" - global_label: "" - groups: - - - name: "default_name_34 (source user.group.name)" - icap_profile: " (source icap.profile.name)" - internet_service: "enable" - internet_service_custom: - - - name: "default_name_38 (source firewall.internet-service-custom.name)" - internet_service_custom_group: - - - name: "default_name_40 (source firewall.internet-service-custom-group.name)" - internet_service_group: - - - name: "default_name_42 (source firewall.internet-service-group.name)" - internet_service_id: - - - id: "44 (source firewall.internet-service.id)" - internet_service_name: - - - name: "default_name_46 (source firewall.internet-service-name.name)" - internet_service_negate: "enable" - internet_service_src: "enable" - internet_service_src_custom: - - - name: "default_name_50 (source firewall.internet-service-custom.name)" - internet_service_src_custom_group: - - - name: "default_name_52 (source firewall.internet-service-custom-group.name)" - internet_service_src_group: - - - name: "default_name_54 (source firewall.internet-service-group.name)" - internet_service_src_id: - - - id: "56 (source firewall.internet-service.id)" - internet_service_src_name: - - - name: "default_name_58 (source firewall.internet-service-name.name)" - internet_service_src_negate: "enable" - internet_service6: "enable" - internet_service6_custom: - - - name: "default_name_62 (source firewall.internet-service-custom.name)" - internet_service6_custom_group: - - - name: "default_name_64 (source firewall.internet-service-custom-group.name)" - internet_service6_group: - - - name: "default_name_66 (source firewall.internet-service-group.name)" - internet_service6_name: - - - name: "default_name_68 (source firewall.internet-service-name.name)" - internet_service6_negate: "enable" - internet_service6_src: "enable" - internet_service6_src_custom: - - - name: "default_name_72 (source firewall.internet-service-custom.name)" - internet_service6_src_custom_group: - - - name: "default_name_74 (source firewall.internet-service-custom-group.name)" - internet_service6_src_group: - - - name: "default_name_76 (source firewall.internet-service-group.name)" - internet_service6_src_name: - - - name: "default_name_78 (source firewall.internet-service-name.name)" - internet_service6_src_negate: "enable" - ips_sensor: " (source ips.sensor.name)" - ips_voip_filter: " (source voip.profile.name)" - learning_mode: "enable" - logtraffic: "all" - logtraffic_start: "enable" - mms_profile: " (source firewall.mms-profile.name)" - name: "default_name_86" - nat46: "enable" - nat64: "enable" - policyid: "0" - profile_group: " (source firewall.profile-group.name)" - profile_protocol_options: " (source firewall.profile-protocol-options.name)" - profile_type: "single" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - sctp_filter_profile: " (source sctp-filter.profile.name)" - send_deny_packet: "disable" - service: - - - name: "default_name_97 (source firewall.service.custom.name firewall.service.group.name)" - service_negate: "enable" - srcaddr: - - - name: "default_name_100 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" - srcaddr_negate: "enable" - srcaddr4: - - - name: "default_name_103 (source firewall.address.name firewall.addrgrp.name)" - srcaddr6: - - - name: "default_name_105 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - srcaddr6_negate: "enable" - srcintf: - - - name: "default_name_108 (source system.interface.name system.zone.name system.sdwan.zone.name)" - ssh_filter_profile: " (source ssh-filter.profile.name)" - ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" - status: "enable" - url_category: "" - users: - - - name: "default_name_114 (source user.local.name)" - utm_status: "enable" - uuid: "" - uuid_idx: "2147483647" - videofilter_profile: " (source videofilter.profile.name)" - voip_profile: " (source voip.profile.name)" - webfilter_profile: " (source webfilter.profile.name)" - + action: "accept" + app_category: + - + id: "5" + app_group: + - + name: "default_name_7 (source application.group.name)" + application: + - + id: "9" + application_list: " (source application.list.name)" + av_profile: " (source antivirus.profile.name)" + casb_profile: " (source casb.profile.name)" + cifs_profile: " (source cifs.profile.name)" + comments: "" + dlp_profile: " (source dlp.profile.name)" + dlp_sensor: " (source dlp.sensor.name)" + dnsfilter_profile: " (source dnsfilter.profile.name)" + dstaddr: + - + name: "default_name_19 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name system.external-resource + .name)" + dstaddr_negate: "enable" + dstaddr4: + - + name: "default_name_22 (source firewall.address.name firewall.addrgrp.name firewall.vip.name firewall.vipgrp.name)" + dstaddr6: + - + name: "default_name_24 (source firewall.address6.name firewall.addrgrp6.name firewall.vip6.name firewall.vipgrp6.name system + .external-resource.name)" + dstaddr6_negate: "enable" + dstintf: + - + name: "default_name_27 (source system.interface.name system.zone.name system.sdwan.zone.name)" + emailfilter_profile: " (source emailfilter.profile.name)" + enforce_default_app_port: "enable" + file_filter_profile: " (source file-filter.profile.name)" + fsso_groups: + - + name: "default_name_32 (source user.adgrp.name)" + global_label: "" + groups: + - + name: "default_name_35 (source user.group.name)" + icap_profile: " (source icap.profile.name)" + internet_service: "enable" + internet_service_custom: + - + name: "default_name_39 (source firewall.internet-service-custom.name)" + internet_service_custom_group: + - + name: "default_name_41 (source firewall.internet-service-custom-group.name)" + internet_service_group: + - + name: "default_name_43 (source firewall.internet-service-group.name)" + internet_service_id: + - + id: "45 (source firewall.internet-service.id)" + internet_service_name: + - + name: "default_name_47 (source firewall.internet-service-name.name)" + internet_service_negate: "enable" + internet_service_src: "enable" + internet_service_src_custom: + - + name: "default_name_51 (source firewall.internet-service-custom.name)" + internet_service_src_custom_group: + - + name: "default_name_53 (source firewall.internet-service-custom-group.name)" + internet_service_src_group: + - + name: "default_name_55 (source firewall.internet-service-group.name)" + internet_service_src_id: + - + id: "57 (source firewall.internet-service.id)" + internet_service_src_name: + - + name: "default_name_59 (source firewall.internet-service-name.name)" + internet_service_src_negate: "enable" + internet_service6: "enable" + internet_service6_custom: + - + name: "default_name_63 (source firewall.internet-service-custom.name)" + internet_service6_custom_group: + - + name: "default_name_65 (source firewall.internet-service-custom-group.name)" + internet_service6_group: + - + name: "default_name_67 (source firewall.internet-service-group.name)" + internet_service6_name: + - + name: "default_name_69 (source firewall.internet-service-name.name)" + internet_service6_negate: "enable" + internet_service6_src: "enable" + internet_service6_src_custom: + - + name: "default_name_73 (source firewall.internet-service-custom.name)" + internet_service6_src_custom_group: + - + name: "default_name_75 (source firewall.internet-service-custom-group.name)" + internet_service6_src_group: + - + name: "default_name_77 (source firewall.internet-service-group.name)" + internet_service6_src_name: + - + name: "default_name_79 (source firewall.internet-service-name.name)" + internet_service6_src_negate: "enable" + ips_sensor: " (source ips.sensor.name)" + ips_voip_filter: " (source voip.profile.name)" + learning_mode: "enable" + logtraffic: "all" + logtraffic_start: "enable" + mms_profile: " (source firewall.mms-profile.name)" + name: "default_name_87" + nat46: "enable" + nat64: "enable" + policyid: "" + profile_group: " (source firewall.profile-group.name)" + profile_protocol_options: " (source firewall.profile-protocol-options.name)" + profile_type: "single" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + sctp_filter_profile: " (source sctp-filter.profile.name)" + send_deny_packet: "disable" + service: + - + name: "default_name_98 (source firewall.service.custom.name firewall.service.group.name)" + service_negate: "enable" + srcaddr: + - + name: "default_name_101 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" + srcaddr_negate: "enable" + srcaddr4: + - + name: "default_name_104 (source firewall.address.name firewall.addrgrp.name)" + srcaddr6: + - + name: "default_name_106 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + srcaddr6_negate: "enable" + srcintf: + - + name: "default_name_109 (source system.interface.name system.zone.name system.sdwan.zone.name)" + ssh_filter_profile: " (source ssh-filter.profile.name)" + ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" + status: "enable" + url_category: "" + users: + - + name: "default_name_115 (source user.local.name)" + utm_status: "enable" + uuid: "" + uuid_idx: "2147483647" + videofilter_profile: " (source videofilter.profile.name)" + virtual_patch_profile: " (source virtual-patch.profile.name)" + voip_profile: " (source voip.profile.name)" + webfilter_profile: " (source webfilter.profile.name)" """ RETURN = """ @@ -968,7 +970,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -996,6 +997,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_security_policy_data(json): @@ -1006,6 +1010,7 @@ def filter_firewall_security_policy_data(json): "application", "application_list", "av_profile", + "casb_profile", "cifs_profile", "comments", "dlp_profile", @@ -1083,6 +1088,7 @@ def filter_firewall_security_policy_data(json): "uuid", "uuid_idx", "videofilter_profile", + "virtual_patch_profile", "voip_profile", "webfilter_profile", ] @@ -1140,7 +1146,6 @@ def underscore_to_hyphen(data): def firewall_security_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1179,11 +1184,16 @@ def firewall_security_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1233,7 +1243,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "security-policy") if data["firewall_security_policy"]: resp = firewall_security_policy(data, fos, check_mode) @@ -1241,7 +1250,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_security_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1256,3357 +1265,435 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "uuid": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "policyid": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.2.0", ""]], "type": "string"}, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "srcaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "dstaddr_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "srcaddr6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "dstaddr6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_src_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_src_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_src_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_src_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_src_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_src_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service6_src_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "internet_service6_src_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "enforce_default_app_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "service_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "send_deny_packet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "schedule": {"v_range": [["v6.2.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, "learning_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat46": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat64": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "profile_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "single", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "profile_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "profile_protocol_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - }, - "ssl_ssh_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "av_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "dnsfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "emailfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "file_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "voip_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "ips_voip_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "sctp_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "icap_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "cifs_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "videofilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "ssh_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "options": [{"value": "single"}, {"value": "group"}], + }, + "profile_group": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "profile_protocol_options": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ssl_ssh_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "av_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "webfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dnsfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "emailfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dlp_profile": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "file_filter_profile": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ips_sensor": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "application_list": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "voip_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ips_voip_filter": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "sctp_filter_profile": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "virtual_patch_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "icap_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "cifs_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "videofilter_profile": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "ssh_filter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "casb_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, "application": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.2.0", ""]], }, "app_category": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.2.0", ""]], }, "url_category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "multiple_values": True, "elements": "str", @@ -4616,409 +1703,113 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "fsso_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - "dlp_sensor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "dlp_sensor": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "string"}, "srcaddr4": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "dstaddr4": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_src_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "logtraffic_start": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "mms_profile": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "uuid_idx": {"revisions": {"v6.2.3": True, "v6.2.0": False}, "type": "integer"}, - "global_label": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mms_profile": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "uuid_idx": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "global_label": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, "utm_status": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.2.3": True}}, - {"value": "disable", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -5055,6 +1846,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_category.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_category.py index 10f6a693f..c2ca20285 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_category.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_category.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,26 +107,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure service categories. - fortios_firewall_service_category: - vdom: "{{ vdom }}" +- name: Configure service categories. + fortinet.fortios.fortios_firewall_service_category: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_service_category: - comment: "Comment." - fabric_object: "enable" - name: "default_name_5" - + comment: "Comment." + fabric_object: "enable" + name: "default_name_5" """ RETURN = """ @@ -185,7 +174,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -213,6 +201,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_service_category_data(json): @@ -242,7 +233,6 @@ def underscore_to_hyphen(data): def firewall_service_category(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +268,16 @@ def firewall_service_category(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,7 +327,6 @@ def is_successful_status(resp): def fortios_firewall_service(data, fos, check_mode): - fos.do_member_operation("firewall.service", "category") if data["firewall_service_category"]: resp = firewall_service_category(data, fos, check_mode) @@ -340,7 +334,7 @@ def fortios_firewall_service(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_service_category") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -355,163 +349,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -548,6 +394,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_custom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_custom.py index 6363f7c91..a68aed381 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_custom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_custom.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: suboptions: id: description: - - Application category id. + - Application category id. see Notes. required: true type: int app_service_type: @@ -115,7 +115,7 @@ options: suboptions: id: description: - - Application id. + - Application id. see Notes. required: true type: int category: @@ -264,54 +264,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure custom services. - fortios_firewall_service_custom: - vdom: "{{ vdom }}" +- name: Configure custom services. + fortinet.fortios.fortios_firewall_service_custom: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_service_custom: - app_category: - - - id: "4" - app_service_type: "disable" - application: - - - id: "7" - category: " (source firewall.service.category.name)" - check_reset_range: "disable" - color: "0" - comment: "Comment." - fabric_object: "enable" - fqdn: "" - helper: "auto" - icmpcode: "" - icmptype: "" - iprange: "" - name: "default_name_18" - protocol: "TCP/UDP/SCTP" - protocol_number: "0" - proxy: "enable" - sctp_portrange: "" - session_ttl: "" - tcp_halfclose_timer: "0" - tcp_halfopen_timer: "0" - tcp_portrange: "" - tcp_rst_timer: "0" - tcp_timewait_timer: "0" - udp_idle_timer: "0" - udp_portrange: "" - visibility: "enable" - + app_category: + - + id: "4" + app_service_type: "disable" + application: + - + id: "7" + category: " (source firewall.service.category.name)" + check_reset_range: "disable" + color: "0" + comment: "Comment." + fabric_object: "enable" + fqdn: "" + helper: "auto" + icmpcode: "" + icmptype: "" + iprange: "" + name: "default_name_18" + protocol: "TCP/UDP/SCTP" + protocol_number: "0" + proxy: "enable" + sctp_portrange: "" + session_ttl: "" + tcp_halfclose_timer: "0" + tcp_halfopen_timer: "0" + tcp_portrange: "" + tcp_rst_timer: "0" + tcp_timewait_timer: "0" + udp_idle_timer: "0" + udp_portrange: "" + visibility: "enable" """ RETURN = """ @@ -370,7 +359,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -398,6 +386,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_service_custom_data(json): @@ -455,7 +446,6 @@ def underscore_to_hyphen(data): def firewall_service_custom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -491,11 +481,16 @@ def firewall_service_custom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -545,13 +540,12 @@ def is_successful_status(resp): def fortios_firewall_service(data, fos, check_mode): - fos.do_member_operation("firewall.service", "custom") if data["firewall_service_custom"]: resp = firewall_service_custom(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_service_custom")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -566,2116 +560,130 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "TCP/UDP/SCTP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ICMP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ICMP6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HTTP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FTP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CONNECT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SOCKS-TCP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SOCKS-UDP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ALL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "TCP/UDP/SCTP"}, + {"value": "ICMP"}, + {"value": "ICMP6"}, + {"value": "IP"}, + {"value": "HTTP"}, + {"value": "FTP"}, + {"value": "CONNECT"}, + {"value": "SOCKS-TCP"}, + {"value": "SOCKS-UDP"}, + {"value": "ALL"}, ], }, "helper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ras", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "h323", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pptp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rtsp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pmap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rsh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dcerpc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mgcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "disable"}, + {"value": "ftp"}, + {"value": "tftp"}, + {"value": "ras"}, + {"value": "h323"}, + {"value": "tns"}, + {"value": "mms"}, + {"value": "sip"}, + {"value": "pptp"}, + {"value": "rtsp"}, + {"value": "dns-udp"}, + {"value": "dns-tcp"}, + {"value": "pmap"}, + {"value": "rsh"}, + {"value": "dcerpc"}, + {"value": "mgcp"}, { "value": "gtp-c", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "gtp-u", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "gtp-b", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "pfcp", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, ], }, - "iprange": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "protocol_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "icmptype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "icmpcode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_portrange": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "udp_portrange": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sctp_portrange": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tcp_halfclose_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_halfopen_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_timewait_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_rst_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "udp_idle_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "session_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "iprange": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "protocol_number": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "icmptype": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "icmpcode": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_portrange": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "udp_portrange": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sctp_portrange": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tcp_halfclose_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_halfopen_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_timewait_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_rst_timer": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "udp_idle_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "session_ttl": {"v_range": [["v6.0.0", ""]], "type": "string"}, "check_reset_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "strict"}, + {"value": "default"}, ], }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "app_service_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-category", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "app-id"}, + {"value": "app-category"}, ], }, "app_category": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "application": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "visibility": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2712,6 +720,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_group.py index 19293c1ed..b952b84d8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_service_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -129,31 +129,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure service groups. - fortios_firewall_service_group: - vdom: "{{ vdom }}" +- name: Configure service groups. + fortinet.fortios.fortios_firewall_service_group: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_service_group: - color: "0" - comment: "Comment." - fabric_object: "enable" - member: - - - name: "default_name_7 (source firewall.service.custom.name firewall.service.group.name)" - name: "default_name_8" - proxy: "enable" - + color: "0" + comment: "Comment." + fabric_object: "enable" + member: + - + name: "default_name_7 (source firewall.service.custom.name firewall.service.group.name)" + name: "default_name_8" + proxy: "enable" """ RETURN = """ @@ -212,7 +201,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,6 +228,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_service_group_data(json): @@ -269,7 +260,6 @@ def underscore_to_hyphen(data): def firewall_service_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -305,11 +295,16 @@ def firewall_service_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -359,13 +354,12 @@ def is_successful_status(resp): def fortios_firewall_service(data, fos, check_mode): - fos.do_member_operation("firewall.service", "group") if data["firewall_service_group"]: resp = firewall_service_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_service_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -380,343 +374,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fabric_object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -753,6 +437,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_per_ip_shaper.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_per_ip_shaper.py index 595b9003e..c74879d90 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_per_ip_shaper.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_per_ip_shaper.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -142,33 +142,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure per-IP traffic shaper. - fortios_firewall_shaper_per_ip_shaper: - vdom: "{{ vdom }}" +- name: Configure per-IP traffic shaper. + fortinet.fortios.fortios_firewall_shaper_per_ip_shaper: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_shaper_per_ip_shaper: - bandwidth_unit: "kbps" - diffserv_forward: "enable" - diffserv_reverse: "enable" - diffservcode_forward: "" - diffservcode_rev: "" - max_bandwidth: "0" - max_concurrent_session: "0" - max_concurrent_tcp_session: "0" - max_concurrent_udp_session: "0" - name: "default_name_12" - + bandwidth_unit: "kbps" + diffserv_forward: "enable" + diffserv_reverse: "enable" + diffservcode_forward: "" + diffservcode_rev: "" + max_bandwidth: "0" + max_concurrent_session: "0" + max_concurrent_tcp_session: "0" + max_concurrent_udp_session: "0" + name: "default_name_12" """ RETURN = """ @@ -227,7 +216,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -255,6 +243,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_shaper_per_ip_shaper_data(json): @@ -295,7 +286,6 @@ def underscore_to_hyphen(data): def firewall_shaper_per_ip_shaper(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -333,11 +323,16 @@ def firewall_shaper_per_ip_shaper(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -389,7 +384,6 @@ def is_successful_status(resp): def fortios_firewall_shaper(data, fos, check_mode): - fos.do_member_operation("firewall.shaper", "per-ip-shaper") if data["firewall_shaper_per_ip_shaper"]: resp = firewall_shaper_per_ip_shaper(data, fos, check_mode) @@ -397,7 +391,7 @@ def fortios_firewall_shaper(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_shaper_per_ip_shaper") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -412,533 +406,30 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "max_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "max_bandwidth": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bandwidth_unit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "kbps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mbps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gbps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "max_concurrent_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_concurrent_tcp_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "max_concurrent_udp_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "kbps"}, {"value": "mbps"}, {"value": "gbps"}], }, + "max_concurrent_session": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_concurrent_tcp_session": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "max_concurrent_udp_session": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "diffserv_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv_reverse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "diffservcode_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "diffservcode_rev": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "diffservcode_forward": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "diffservcode_rev": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -975,6 +466,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_traffic_shaper.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_traffic_shaper.py index c61afc78d..95478eea6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_traffic_shaper.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaper_traffic_shaper.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -192,42 +192,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure shared traffic shaper. - fortios_firewall_shaper_traffic_shaper: - vdom: "{{ vdom }}" +- name: Configure shared traffic shaper. + fortinet.fortios.fortios_firewall_shaper_traffic_shaper: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_shaper_traffic_shaper: - bandwidth_unit: "kbps" - cos: "" - cos_marking: "enable" - cos_marking_method: "multi-stage" - diffserv: "enable" - diffservcode: "" - dscp_marking_method: "multi-stage" - exceed_bandwidth: "0" - exceed_class_id: "0" - exceed_cos: "" - exceed_dscp: "" - guaranteed_bandwidth: "0" - maximum_bandwidth: "0" - maximum_cos: "" - maximum_dscp: "" - name: "default_name_18" - overhead: "0" - per_policy: "disable" - priority: "low" - + bandwidth_unit: "kbps" + cos: "" + cos_marking: "enable" + cos_marking_method: "multi-stage" + diffserv: "enable" + diffservcode: "" + dscp_marking_method: "multi-stage" + exceed_bandwidth: "0" + exceed_class_id: "0" + exceed_cos: "" + exceed_dscp: "" + guaranteed_bandwidth: "0" + maximum_bandwidth: "0" + maximum_cos: "" + maximum_dscp: "" + name: "default_name_18" + overhead: "0" + per_policy: "disable" + priority: "low" """ RETURN = """ @@ -286,7 +275,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -314,6 +302,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_shaper_traffic_shaper_data(json): @@ -363,7 +354,6 @@ def underscore_to_hyphen(data): def firewall_shaper_traffic_shaper(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -403,11 +393,16 @@ def firewall_shaper_traffic_shaper(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -459,7 +454,6 @@ def is_successful_status(resp): def fortios_firewall_shaper(data, fos, check_mode): - fos.do_member_operation("firewall.shaper", "traffic-shaper") if data["firewall_shaper_traffic_shaper"]: resp = firewall_shaper_traffic_shaper(data, fos, check_mode) @@ -467,7 +461,7 @@ def fortios_firewall_shaper(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_shaper_traffic_shaper") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -482,945 +476,55 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "guaranteed_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "maximum_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "guaranteed_bandwidth": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "maximum_bandwidth": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bandwidth_unit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "kbps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mbps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gbps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "kbps"}, {"value": "mbps"}, {"value": "gbps"}], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "low"}, {"value": "medium"}, {"value": "high"}], }, "per_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "diffserv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "diffservcode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "diffservcode": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dscp_marking_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "multi-stage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "exceed_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "exceed_dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "maximum_dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "multi-stage"}, {"value": "static"}], }, + "exceed_bandwidth": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "exceed_dscp": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "maximum_dscp": {"v_range": [["v6.2.0", ""]], "type": "string"}, "cos_marking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cos_marking_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "multi-stage", "revisions": {"v7.4.0": True}}, - {"value": "static", "revisions": {"v7.4.0": True}}, - ], - }, - "cos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "multi-stage"}, {"value": "static"}], }, - "exceed_cos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "maximum_cos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "overhead": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "exceed_class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "cos": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "exceed_cos": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "maximum_cos": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "overhead": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "exceed_class_id": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1457,6 +561,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_policy.py index 024461acc..76fde19ce 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_policy.py @@ -35,12 +35,14 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks - Adjust object order by moving self after(before) another. - Only one of [after, before] must be specified when action is moving an object. requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -116,7 +118,7 @@ options: suboptions: id: description: - - Category IDs. + - Category IDs. see Notes. required: true type: int app_group: @@ -138,7 +140,7 @@ options: suboptions: id: description: - - Application IDs. + - Application IDs. see Notes. required: true type: int class_id: @@ -225,7 +227,7 @@ options: type: str id: description: - - Shaping policy ID (0 - 4294967295). + - Shaping policy ID (0 - 4294967295). see Notes. required: true type: int internet_service: @@ -276,7 +278,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_name: @@ -338,7 +340,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int internet_service_src_name: @@ -461,7 +463,7 @@ options: suboptions: id: description: - - URL category ID. + - URL category ID. see Notes. required: true type: int users: @@ -482,123 +484,104 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure shaping policies. - fortios_firewall_shaping_policy: - vdom: "{{ vdom }}" +- name: Configure shaping policies. + fortinet.fortios.fortios_firewall_shaping_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_shaping_policy: - app_category: - - - id: "4" - app_group: - - - name: "default_name_6 (source application.group.name)" - application: - - - id: "8" - class_id: "0" - comment: "Comments." - cos: "" - cos_mask: "" - diffserv_forward: "enable" - diffserv_reverse: "enable" - diffservcode_forward: "" - diffservcode_rev: "" - dstaddr: - - - name: "default_name_18 (source firewall.address.name firewall.addrgrp.name)" - dstaddr6: - - - name: "default_name_20 (source firewall.address6.name firewall.addrgrp6.name)" - dstintf: - - - name: "default_name_22 (source system.interface.name system.zone.name system.sdwan.zone.name)" - groups: - - - name: "default_name_24 (source user.group.name)" - id: "25" - internet_service: "enable" - internet_service_custom: - - - name: "default_name_28 (source firewall.internet-service-custom.name)" - internet_service_custom_group: - - - name: "default_name_30 (source firewall.internet-service-custom-group.name)" - internet_service_group: - - - name: "default_name_32 (source firewall.internet-service-group.name)" - internet_service_id: - - - id: "34 (source firewall.internet-service.id)" - internet_service_name: - - - name: "default_name_36 (source firewall.internet-service-name.name)" - internet_service_src: "enable" - internet_service_src_custom: - - - name: "default_name_39 (source firewall.internet-service-custom.name)" - internet_service_src_custom_group: - - - name: "default_name_41 (source firewall.internet-service-custom-group.name)" - internet_service_src_group: - - - name: "default_name_43 (source firewall.internet-service-group.name)" - internet_service_src_id: - - - id: "45 (source firewall.internet-service.id)" - internet_service_src_name: - - - name: "default_name_47 (source firewall.internet-service-name.name)" - ip_version: "4" - name: "default_name_49" - per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - service: - - - name: "default_name_53 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_55 (source firewall.address.name firewall.addrgrp.name)" - srcaddr6: - - - name: "default_name_57 (source firewall.address6.name firewall.addrgrp6.name)" - srcintf: - - - name: "default_name_59 (source system.interface.name system.zone.name system.sdwan.zone.name)" - status: "enable" - tos: "" - tos_mask: "" - tos_negate: "enable" - traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" - traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" - traffic_type: "forwarding" - url_category: - - - id: "68" - users: - - - name: "default_name_70 (source user.local.name)" - uuid: "" - - - name: move firewall.shaping_policy - fortios_firewall_shaping_policy: - vdom: "root" - action: "move" - self: "" - after: "" - #before: "" - + app_category: + - + id: "4" + app_group: + - + name: "default_name_6 (source application.group.name)" + application: + - + id: "8" + class_id: "0" + comment: "Comments." + cos: "" + cos_mask: "" + diffserv_forward: "enable" + diffserv_reverse: "enable" + diffservcode_forward: "" + diffservcode_rev: "" + dstaddr: + - + name: "default_name_18 (source firewall.address.name firewall.addrgrp.name)" + dstaddr6: + - + name: "default_name_20 (source firewall.address6.name firewall.addrgrp6.name)" + dstintf: + - + name: "default_name_22 (source system.interface.name system.zone.name system.sdwan.zone.name)" + groups: + - + name: "default_name_24 (source user.group.name)" + id: "25" + internet_service: "enable" + internet_service_custom: + - + name: "default_name_28 (source firewall.internet-service-custom.name)" + internet_service_custom_group: + - + name: "default_name_30 (source firewall.internet-service-custom-group.name)" + internet_service_group: + - + name: "default_name_32 (source firewall.internet-service-group.name)" + internet_service_id: + - + id: "34 (source firewall.internet-service.id)" + internet_service_name: + - + name: "default_name_36 (source firewall.internet-service-name.name)" + internet_service_src: "enable" + internet_service_src_custom: + - + name: "default_name_39 (source firewall.internet-service-custom.name)" + internet_service_src_custom_group: + - + name: "default_name_41 (source firewall.internet-service-custom-group.name)" + internet_service_src_group: + - + name: "default_name_43 (source firewall.internet-service-group.name)" + internet_service_src_id: + - + id: "45 (source firewall.internet-service.id)" + internet_service_src_name: + - + name: "default_name_47 (source firewall.internet-service-name.name)" + ip_version: "4" + name: "default_name_49" + per_ip_shaper: " (source firewall.shaper.per-ip-shaper.name)" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + service: + - + name: "default_name_53 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_55 (source firewall.address.name firewall.addrgrp.name)" + srcaddr6: + - + name: "default_name_57 (source firewall.address6.name firewall.addrgrp6.name)" + srcintf: + - + name: "default_name_59 (source system.interface.name system.zone.name system.sdwan.zone.name)" + status: "enable" + tos: "" + tos_mask: "" + tos_negate: "enable" + traffic_shaper: " (source firewall.shaper.traffic-shaper.name)" + traffic_shaper_reverse: " (source firewall.shaper.traffic-shaper.name)" + traffic_type: "forwarding" + url_category: + - + id: "68" + users: + - + name: "default_name_70 (source user.local.name)" + uuid: "" """ RETURN = """ @@ -657,7 +640,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -685,6 +667,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_shaping_policy_data(json): @@ -761,7 +746,6 @@ def underscore_to_hyphen(data): def firewall_shaping_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -797,11 +781,16 @@ def firewall_shaping_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -871,7 +860,6 @@ def move_fortios_firewall(data, fos): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "shaping-policy") if data["action"] == "move": resp = move_fortios_firewall(data, fos) @@ -879,7 +867,7 @@ def fortios_firewall(data, fos, check_mode): resp = firewall_shaping_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_shaping_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -894,333 +882,27 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "uuid": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "4"}, {"value": "6"}], }, "traffic_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "forwarding", "revisions": {"v7.4.0": True}}, - {"value": "local-in", "revisions": {"v7.4.0": True}}, - {"value": "local-out", "revisions": {"v7.4.0": True}}, + {"value": "forwarding"}, + {"value": "local-in"}, + {"value": "local-out"}, ], }, "srcaddr": { @@ -1228,2100 +910,303 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "internet_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "internet_service_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_src_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_src_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "internet_service_src_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "internet_service_src_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "application": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "app_category": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "app_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "url_category": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "tos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "tos_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "tos_mask": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "tos": {"v_range": [["v6.2.0", ""]], "type": "string"}, "tos_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "traffic_shaper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "traffic_shaper_reverse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "per_ip_shaper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "traffic_shaper": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "traffic_shaper_reverse": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "per_ip_shaper": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "class_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "diffserv_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv_reverse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "diffservcode_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "diffservcode_rev": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "cos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "cos_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "diffservcode_forward": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "diffservcode_rev": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "cos_mask": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "cos": {"v_range": [["v7.4.0", ""]], "type": "string"}, "internet_service_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "internet_service_src_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3362,6 +1247,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_profile.py index 7d800c492..ef1951557 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_shaping_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -125,7 +125,7 @@ options: type: int id: description: - - ID number. + - ID number. see Notes. required: true type: int limit: @@ -168,40 +168,29 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure shaping profiles. - fortios_firewall_shaping_profile: - vdom: "{{ vdom }}" +- name: Configure shaping profiles. + fortinet.fortios.fortios_firewall_shaping_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_shaping_profile: - comment: "Comment." - default_class_id: "0" - profile_name: "" - shaping_entries: - - - burst_in_msec: "0" - cburst_in_msec: "0" - class_id: "0" - guaranteed_bandwidth_percentage: "0" - id: "11" - limit: "1000" - max: "250" - maximum_bandwidth_percentage: "1" - min: "83" - priority: "top" - red_probability: "0" - type: "policing" - + comment: "Comment." + default_class_id: "0" + profile_name: "" + shaping_entries: + - + burst_in_msec: "0" + cburst_in_msec: "0" + class_id: "0" + guaranteed_bandwidth_percentage: "0" + id: "11" + limit: "1000" + max: "250" + maximum_bandwidth_percentage: "1" + min: "83" + priority: "top" + red_probability: "0" + type: "policing" """ RETURN = """ @@ -260,7 +249,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -288,6 +276,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_shaping_profile_data(json): @@ -323,7 +314,6 @@ def underscore_to_hyphen(data): def firewall_shaping_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -359,11 +349,16 @@ def firewall_shaping_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -413,7 +408,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "shaping-profile") if data["firewall_shaping_profile"]: resp = firewall_shaping_profile(data, fos, check_mode) @@ -421,7 +415,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_shaping_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -437,702 +431,57 @@ versioned_schema = { "elements": "dict", "children": { "profile_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "policing", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "queuing", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "default_class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "policing"}, {"value": "queuing"}], }, + "default_class_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "shaping_entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "class_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "top", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "top", "v_range": [["v6.2.0", ""]]}, + {"value": "critical", "v_range": [["v6.2.0", ""]]}, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "guaranteed_bandwidth_percentage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "maximum_bandwidth_percentage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "burst_in_msec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "cburst_in_msec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "red_probability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "min": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "limit": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "burst_in_msec": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "cburst_in_msec": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "red_probability": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "min": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "max": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1169,6 +518,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_sniffer.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_sniffer.py index 3d8b4773a..1faa6bebd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_sniffer.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_sniffer.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -171,6 +173,17 @@ options: choices: - 'enable' - 'disable' + casb_profile: + description: + - Name of an existing CASB profile. Source casb.profile.name. + type: str + casb_profile_status: + description: + - Enable/disable CASB profile. + type: str + choices: + - 'enable' + - 'disable' dlp_profile: description: - Name of an existing DLP profile. Source dlp.profile.name. @@ -228,7 +241,7 @@ options: type: str id: description: - - Sniffer ID (0 - 9999). + - Sniffer ID (0 - 9999). see Notes. required: true type: int interface: @@ -349,70 +362,61 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure sniffer. - fortios_firewall_sniffer: - vdom: "{{ vdom }}" +- name: Configure sniffer. + fortinet.fortios.fortios_firewall_sniffer: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_sniffer: - anomaly: - - - action: "pass" - log: "enable" - name: "default_name_6" - quarantine: "none" - quarantine_expiry: "" - quarantine_log: "disable" - status: "disable" - threshold: "0" - threshold_default: "0" - application_list: " (source application.list.name)" - application_list_status: "enable" - av_profile: " (source antivirus.profile.name)" - av_profile_status: "enable" - dlp_profile: " (source dlp.profile.name)" - dlp_profile_status: "enable" - dlp_sensor: " (source dlp.sensor.name)" - dlp_sensor_status: "enable" - dsri: "enable" - emailfilter_profile: " (source emailfilter.profile.name)" - emailfilter_profile_status: "enable" - file_filter_profile: " (source file-filter.profile.name)" - file_filter_profile_status: "enable" - host: "myhostname" - id: "27" - interface: " (source system.interface.name)" - ip_threatfeed: - - - name: "default_name_30 (source system.external-resource.name)" - ip_threatfeed_status: "enable" - ips_dos_status: "enable" - ips_sensor: " (source ips.sensor.name)" - ips_sensor_status: "enable" - ipv6: "enable" - logtraffic: "all" - max_packet_count: "4000" - non_ip: "enable" - port: "" - protocol: "" - scan_botnet_connections: "disable" - spamfilter_profile: " (source spamfilter.profile.name)" - spamfilter_profile_status: "enable" - status: "enable" - vlan: "" - webfilter_profile: " (source webfilter.profile.name)" - webfilter_profile_status: "enable" - + anomaly: + - + action: "pass" + log: "enable" + name: "default_name_6" + quarantine: "none" + quarantine_expiry: "" + quarantine_log: "disable" + status: "disable" + threshold: "0" + threshold_default: "0" + application_list: " (source application.list.name)" + application_list_status: "enable" + av_profile: " (source antivirus.profile.name)" + av_profile_status: "enable" + casb_profile: " (source casb.profile.name)" + casb_profile_status: "enable" + dlp_profile: " (source dlp.profile.name)" + dlp_profile_status: "enable" + dlp_sensor: " (source dlp.sensor.name)" + dlp_sensor_status: "enable" + dsri: "enable" + emailfilter_profile: " (source emailfilter.profile.name)" + emailfilter_profile_status: "enable" + file_filter_profile: " (source file-filter.profile.name)" + file_filter_profile_status: "enable" + host: "myhostname" + id: "29" + interface: " (source system.interface.name)" + ip_threatfeed: + - + name: "default_name_32 (source system.external-resource.name)" + ip_threatfeed_status: "enable" + ips_dos_status: "enable" + ips_sensor: " (source ips.sensor.name)" + ips_sensor_status: "enable" + ipv6: "enable" + logtraffic: "all" + max_packet_count: "4000" + non_ip: "enable" + port: "" + protocol: "" + scan_botnet_connections: "disable" + spamfilter_profile: " (source spamfilter.profile.name)" + spamfilter_profile_status: "enable" + status: "enable" + vlan: "" + webfilter_profile: " (source webfilter.profile.name)" + webfilter_profile_status: "enable" """ RETURN = """ @@ -471,7 +475,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -499,6 +502,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_sniffer_data(json): @@ -508,6 +514,8 @@ def filter_firewall_sniffer_data(json): "application_list_status", "av_profile", "av_profile_status", + "casb_profile", + "casb_profile_status", "dlp_profile", "dlp_profile_status", "dlp_sensor", @@ -587,7 +595,6 @@ def valid_attr_to_invalid_attrs(data): def firewall_sniffer(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -624,11 +631,16 @@ def firewall_sniffer(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -676,13 +688,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "sniffer") if data["firewall_sniffer"]: resp = firewall_sniffer(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_sniffer")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -697,2423 +708,177 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "logtraffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "utm"}, {"value": "disable"}], }, "ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "non_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"], ["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "host": {"v_range": [["v6.0.0", "v7.0.12"], ["v7.2.1", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", "v7.0.12"], ["v7.2.1", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, + "vlan": {"v_range": [["v6.0.0", "v7.0.12"], ["v7.2.1", ""]], "type": "string"}, "application_list_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "application_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ips_sensor_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ips_sensor": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dsri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "av_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "av_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "av_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "casb_profile_status": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "casb_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, "webfilter_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "webfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "emailfilter_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "emailfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "emailfilter_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, "dlp_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dlp_profile": {"v_range": [["v7.2.0", ""]], "type": "string"}, "ip_threatfeed_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_threatfeed": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "file_filter_profile_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "file_filter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "file_filter_profile": {"v_range": [["v7.0.0", ""]], "type": "string"}, "ips_dos_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "proxy"}, ], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attacker", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "quarantine_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "attacker"}], }, + "quarantine_expiry": {"v_range": [["v6.0.0", ""]], "type": "string"}, "quarantine_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "threshold_default": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dlp_sensor_status": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dlp_sensor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "max_packet_count": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "dlp_sensor": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, + "max_packet_count": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "integer"}, "spamfilter_profile_status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "spamfilter_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "spamfilter_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "scan_botnet_connections": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "block", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monitor", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "block"}, {"value": "monitor"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3148,6 +913,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_host_key.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_host_key.py index ab8bef6e8..73b601ccf 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_host_key.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_host_key.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,32 +147,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SSH proxy host public keys. - fortios_firewall_ssh_host_key: - vdom: "{{ vdom }}" +- name: SSH proxy host public keys. + fortinet.fortios.fortios_firewall_ssh_host_key: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ssh_host_key: - hostname: "myhostname" - ip: "" - name: "default_name_5" - nid: "256" - port: "22" - public_key: "" - status: "trusted" - type: "RSA" - usage: "transparent-proxy" - + hostname: "myhostname" + ip: "" + name: "default_name_5" + nid: "256" + port: "22" + public_key: "" + status: "trusted" + type: "RSA" + usage: "transparent-proxy" """ RETURN = """ @@ -231,7 +220,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -259,6 +247,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ssh_host_key_data(json): @@ -298,7 +289,6 @@ def underscore_to_hyphen(data): def firewall_ssh_host_key(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -334,11 +324,16 @@ def firewall_ssh_host_key(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -388,13 +383,12 @@ def is_successful_status(resp): def fortios_firewall_ssh(data, fos, check_mode): - fos.do_member_operation("firewall.ssh", "host-key") if data["firewall_ssh_host_key"]: resp = firewall_ssh_host_key(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ssh_host_key")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -409,716 +403,42 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "trusted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "revoked", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "trusted"}, {"value": "revoked"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "RSA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DSA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ECDSA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ED25519", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "RSA-CA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DSA-CA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ECDSA-CA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ED25519-CA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "RSA"}, + {"value": "DSA"}, + {"value": "ECDSA"}, + {"value": "ED25519"}, + {"value": "RSA-CA"}, + {"value": "DSA-CA"}, + {"value": "ECDSA-CA"}, + {"value": "ED25519-CA"}, ], }, "nid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "521", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "256"}, {"value": "384"}, {"value": "521"}], }, "usage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "transparent-proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "access-proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "transparent-proxy"}, {"value": "access-proxy"}], }, - "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "public_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hostname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "public_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1156,6 +476,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_ca.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_ca.py index b45ba83bf..cd4e55c89 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_ca.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_ca.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,28 +115,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SSH proxy local CA. - fortios_firewall_ssh_local_ca: - vdom: "{{ vdom }}" +- name: SSH proxy local CA. + fortinet.fortios.fortios_firewall_ssh_local_ca: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ssh_local_ca: - name: "default_name_3" - password: "" - private_key: "" - public_key: "" - source: "built-in" - + name: "default_name_3" + password: "" + private_key: "" + public_key: "" + source: "built-in" """ RETURN = """ @@ -195,7 +184,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -223,6 +211,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ssh_local_ca_data(json): @@ -252,7 +243,6 @@ def underscore_to_hyphen(data): def firewall_ssh_local_ca(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -288,11 +278,16 @@ def firewall_ssh_local_ca(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -342,13 +337,12 @@ def is_successful_status(resp): def fortios_firewall_ssh(data, fos, check_mode): - fos.do_member_operation("firewall.ssh", "local-ca") if data["firewall_ssh_local_ca"]: resp = firewall_ssh_local_ca(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ssh_local_ca")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -363,239 +357,17 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "private_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "public_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "private_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "public_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "built-in", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "built-in"}, {"value": "user"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -632,6 +404,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_key.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_key.py index bba97d4cd..fd3d483de 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_key.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_local_key.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,28 +115,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SSH proxy local keys. - fortios_firewall_ssh_local_key: - vdom: "{{ vdom }}" +- name: SSH proxy local keys. + fortinet.fortios.fortios_firewall_ssh_local_key: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ssh_local_key: - name: "default_name_3" - password: "" - private_key: "" - public_key: "" - source: "built-in" - + name: "default_name_3" + password: "" + private_key: "" + public_key: "" + source: "built-in" """ RETURN = """ @@ -195,7 +184,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -223,6 +211,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ssh_local_key_data(json): @@ -252,7 +243,6 @@ def underscore_to_hyphen(data): def firewall_ssh_local_key(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -288,11 +278,16 @@ def firewall_ssh_local_key(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -342,13 +337,12 @@ def is_successful_status(resp): def fortios_firewall_ssh(data, fos, check_mode): - fos.do_member_operation("firewall.ssh", "local-key") if data["firewall_ssh_local_key"]: resp = firewall_ssh_local_key(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ssh_local_key")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -363,239 +357,17 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "private_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "public_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "private_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "public_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "built-in", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "built-in"}, {"value": "user"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -633,6 +405,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_setting.py index 91b4d0ebb..ac50dc13d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssh_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,30 +122,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SSH proxy settings. - fortios_firewall_ssh_setting: - vdom: "{{ vdom }}" +- name: SSH proxy settings. + fortinet.fortios.fortios_firewall_ssh_setting: + vdom: "{{ vdom }}" firewall_ssh_setting: - caname: " (source firewall.ssh.local-ca.name)" - host_trusted_checking: "enable" - hostkey_dsa1024: "myhostname (source firewall.ssh.local-key.name)" - hostkey_ecdsa256: "myhostname (source firewall.ssh.local-key.name)" - hostkey_ecdsa384: "myhostname (source firewall.ssh.local-key.name)" - hostkey_ecdsa521: "myhostname (source firewall.ssh.local-key.name)" - hostkey_ed25519: "myhostname (source firewall.ssh.local-key.name)" - hostkey_rsa2048: "myhostname (source firewall.ssh.local-key.name)" - untrusted_caname: " (source firewall.ssh.local-ca.name)" - + caname: " (source firewall.ssh.local-ca.name)" + host_trusted_checking: "enable" + hostkey_dsa1024: "myhostname (source firewall.ssh.local-key.name)" + hostkey_ecdsa256: "myhostname (source firewall.ssh.local-key.name)" + hostkey_ecdsa384: "myhostname (source firewall.ssh.local-key.name)" + hostkey_ecdsa521: "myhostname (source firewall.ssh.local-key.name)" + hostkey_ed25519: "myhostname (source firewall.ssh.local-key.name)" + hostkey_rsa2048: "myhostname (source firewall.ssh.local-key.name)" + untrusted_caname: " (source firewall.ssh.local-ca.name)" """ RETURN = """ @@ -204,7 +193,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -287,7 +275,6 @@ def is_successful_status(resp): def fortios_firewall_ssh(data, fos): - fos.do_member_operation("firewall.ssh", "setting") if data["firewall_ssh_setting"]: resp = firewall_ssh_setting(data, fos) @@ -304,354 +291,21 @@ def fortios_firewall_ssh(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "caname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "untrusted_caname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostkey_rsa2048": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostkey_dsa1024": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostkey_ecdsa256": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostkey_ecdsa384": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostkey_ecdsa521": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostkey_ed25519": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "caname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "untrusted_caname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostkey_rsa2048": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostkey_dsa1024": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostkey_ecdsa256": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostkey_ecdsa384": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostkey_ecdsa521": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostkey_ed25519": {"v_range": [["v6.0.0", ""]], "type": "string"}, "host_trusted_checking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -687,6 +341,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_server.py index 04ee2f87a..c98d4f1c2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -183,37 +183,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SSL servers. - fortios_firewall_ssl_server: - vdom: "{{ vdom }}" +- name: Configure SSL servers. + fortinet.fortios.fortios_firewall_ssl_server: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ssl_server: - add_header_x_forwarded_proto: "enable" - ip: "" - mapped_port: "80" - name: "default_name_6" - port: "443" - ssl_algorithm: "high" - ssl_cert: " (source vpn.certificate.local.name)" - ssl_client_renegotiation: "allow" - ssl_dh_bits: "768" - ssl_max_version: "tls-1.0" - ssl_min_version: "tls-1.0" - ssl_mode: "half" - ssl_send_empty_frags: "enable" - url_rewrite: "enable" - + add_header_x_forwarded_proto: "enable" + ip: "" + mapped_port: "80" + name: "default_name_6" + port: "443" + ssl_algorithm: "high" + ssl_cert: " (source vpn.certificate.local.name)" + ssl_client_renegotiation: "allow" + ssl_dh_bits: "768" + ssl_max_version: "tls-1.0" + ssl_min_version: "tls-1.0" + ssl_mode: "half" + ssl_send_empty_frags: "enable" + url_rewrite: "enable" """ RETURN = """ @@ -272,7 +261,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -300,6 +288,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ssl_server_data(json): @@ -344,7 +335,6 @@ def underscore_to_hyphen(data): def firewall_ssl_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -380,11 +370,16 @@ def firewall_ssl_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -434,13 +429,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "ssl-server") if data["firewall_ssl_server"]: resp = firewall_ssl_server(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ssl_server")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -455,1212 +449,73 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ssl_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "half"}, {"value": "full"}], }, "add_header_x_forwarded_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mapped_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssl_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mapped_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ssl_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, ], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high"}, {"value": "medium"}, {"value": "low"}], }, "ssl_client_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secure", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}, {"value": "secure"}], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v7.0.1", ""]]}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v7.0.1", ""]]}, ], }, "ssl_send_empty_frags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "url_rewrite": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1695,6 +550,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_setting.py index 150794a55..86b3d92cf 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -141,32 +141,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SSL proxy settings. - fortios_firewall_ssl_setting: - vdom: "{{ vdom }}" +- name: SSL proxy settings. + fortinet.fortios.fortios_firewall_ssl_setting: + vdom: "{{ vdom }}" firewall_ssl_setting: - abbreviate_handshake: "enable" - cert_cache_capacity: "200" - cert_cache_timeout: "10" - kxp_queue_threshold: "16" - no_matching_cipher_action: "bypass" - proxy_connect_timeout: "30" - session_cache_capacity: "500" - session_cache_timeout: "20" - ssl_dh_bits: "768" - ssl_queue_threshold: "32" - ssl_send_empty_frags: "enable" - + abbreviate_handshake: "enable" + cert_cache_capacity: "200" + cert_cache_timeout: "10" + kxp_queue_threshold: "16" + no_matching_cipher_action: "bypass" + proxy_connect_timeout: "30" + session_cache_capacity: "500" + session_cache_timeout: "20" + ssl_dh_bits: "768" + ssl_queue_threshold: "32" + ssl_send_empty_frags: "enable" """ RETURN = """ @@ -225,7 +214,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -310,7 +298,6 @@ def is_successful_status(resp): def fortios_firewall_ssl(data, fos): - fos.do_member_operation("firewall.ssl", "setting") if data["firewall_ssl_setting"]: resp = firewall_ssl_setting(data, fos) @@ -327,649 +314,41 @@ def fortios_firewall_ssl(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "proxy_connect_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "proxy_connect_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, ], }, "ssl_send_empty_frags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "no_matching_cipher_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "cert_cache_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "cert_cache_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "session_cache_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "session_cache_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "bypass"}, {"value": "drop"}], }, + "cert_cache_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "cert_cache_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "session_cache_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "session_cache_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "abbreviate_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "kxp_queue_threshold": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssl_queue_threshold": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "kxp_queue_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ssl_queue_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -1004,6 +383,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_ssh_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_ssh_profile.py index cd5862221..fac1f496e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_ssh_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ssl_ssh_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -161,6 +161,13 @@ options: choices: - 'enable' - 'disable' + quic: + description: + - Enable/disable QUIC inspection . + type: str + choices: + - 'disable' + - 'enable' revoked_server_cert: description: - Action based on server certificate is revoked. @@ -445,6 +452,13 @@ options: choices: - 'enable' - 'disable' + quic: + description: + - Enable/disable QUIC inspection . + type: str + choices: + - 'disable' + - 'enable' revoked_server_cert: description: - Action based on server certificate is revoked. @@ -1211,7 +1225,7 @@ options: type: int id: description: - - ID number. + - ID number. see Notes. required: true type: int regex: @@ -1307,7 +1321,7 @@ options: - 'block' id: description: - - SSL server ID. + - SSL server ID. see Notes. required: true type: int imaps_client_cert_request: @@ -1415,210 +1429,201 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SSL/SSH protocol options. - fortios_firewall_ssl_ssh_profile: - vdom: "{{ vdom }}" +- name: Configure SSL/SSH protocol options. + fortinet.fortios.fortios_firewall_ssl_ssh_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ssl_ssh_profile: - allowlist: "enable" - block_blacklisted_certificates: "disable" - block_blocklisted_certificates: "disable" - caname: " (source vpn.certificate.local.name)" - comment: "Optional comments." - dot: - cert_validation_failure: "allow" - cert_validation_timeout: "allow" - client_certificate: "bypass" - expired_server_cert: "allow" - proxy_after_tcp_handshake: "enable" - revoked_server_cert: "allow" - sni_server_cert_check: "enable" - status: "disable" - unsupported_ssl_cipher: "allow" - unsupported_ssl_negotiation: "allow" - unsupported_ssl_version: "allow" - untrusted_server_cert: "allow" - ftps: - allow_invalid_server_cert: "enable" - cert_validation_failure: "allow" - cert_validation_timeout: "allow" - client_cert_request: "bypass" - client_certificate: "bypass" - expired_server_cert: "allow" - invalid_server_cert: "allow" - min_allowed_ssl_version: "ssl-3.0" - ports: "" - revoked_server_cert: "allow" - sni_server_cert_check: "enable" - status: "disable" - unsupported_ssl: "bypass" - unsupported_ssl_cipher: "allow" - unsupported_ssl_negotiation: "allow" - unsupported_ssl_version: "allow" - untrusted_cert: "allow" - untrusted_server_cert: "allow" - https: - allow_invalid_server_cert: "enable" - cert_probe_failure: "allow" - cert_validation_failure: "allow" - cert_validation_timeout: "allow" - client_cert_request: "bypass" - client_certificate: "bypass" - expired_server_cert: "allow" - invalid_server_cert: "allow" - min_allowed_ssl_version: "ssl-3.0" - ports: "" - proxy_after_tcp_handshake: "enable" - revoked_server_cert: "allow" - sni_server_cert_check: "enable" - status: "disable" - unsupported_ssl: "bypass" - unsupported_ssl_cipher: "allow" - unsupported_ssl_negotiation: "allow" - unsupported_ssl_version: "allow" - untrusted_cert: "allow" - untrusted_server_cert: "allow" - imaps: - allow_invalid_server_cert: "enable" - cert_validation_failure: "allow" - cert_validation_timeout: "allow" - client_cert_request: "bypass" - client_certificate: "bypass" - expired_server_cert: "allow" - invalid_server_cert: "allow" - ports: "" - proxy_after_tcp_handshake: "enable" - revoked_server_cert: "allow" - sni_server_cert_check: "enable" - status: "disable" - unsupported_ssl: "bypass" - unsupported_ssl_cipher: "allow" - unsupported_ssl_negotiation: "allow" - unsupported_ssl_version: "allow" - untrusted_cert: "allow" - untrusted_server_cert: "allow" - mapi_over_https: "enable" - name: "default_name_81" - pop3s: - allow_invalid_server_cert: "enable" - cert_validation_failure: "allow" - cert_validation_timeout: "allow" - client_cert_request: "bypass" - client_certificate: "bypass" - expired_server_cert: "allow" - invalid_server_cert: "allow" - ports: "" - proxy_after_tcp_handshake: "enable" - revoked_server_cert: "allow" - sni_server_cert_check: "enable" - status: "disable" - unsupported_ssl: "bypass" - unsupported_ssl_cipher: "allow" - unsupported_ssl_negotiation: "allow" - unsupported_ssl_version: "allow" - untrusted_cert: "allow" - untrusted_server_cert: "allow" - rpc_over_https: "enable" - server_cert: - - - name: "default_name_103 (source vpn.certificate.local.name)" - server_cert_mode: "re-sign" - smtps: - allow_invalid_server_cert: "enable" - cert_validation_failure: "allow" - cert_validation_timeout: "allow" - client_cert_request: "bypass" - client_certificate: "bypass" - expired_server_cert: "allow" - invalid_server_cert: "allow" - ports: "" - proxy_after_tcp_handshake: "enable" - revoked_server_cert: "allow" - sni_server_cert_check: "enable" - status: "disable" - unsupported_ssl: "bypass" - unsupported_ssl_cipher: "allow" - unsupported_ssl_negotiation: "allow" - unsupported_ssl_version: "allow" - untrusted_cert: "allow" - untrusted_server_cert: "allow" - ssh: - inspect_all: "disable" - ports: "" - proxy_after_tcp_handshake: "enable" - ssh_algorithm: "compatible" - ssh_policy_check: "disable" - ssh_tun_policy_check: "disable" - status: "disable" - unsupported_version: "bypass" - ssl: - allow_invalid_server_cert: "enable" - cert_probe_failure: "allow" - cert_validation_failure: "allow" - cert_validation_timeout: "allow" - client_cert_request: "bypass" - client_certificate: "bypass" - expired_server_cert: "allow" - inspect_all: "disable" - invalid_server_cert: "allow" - min_allowed_ssl_version: "ssl-3.0" - revoked_server_cert: "allow" - sni_server_cert_check: "enable" - unsupported_ssl: "bypass" - unsupported_ssl_cipher: "allow" - unsupported_ssl_negotiation: "allow" - unsupported_ssl_version: "allow" - untrusted_cert: "allow" - untrusted_server_cert: "allow" - ssl_anomalies_log: "disable" - ssl_anomaly_log: "disable" - ssl_exempt: - - - address: " (source firewall.address.name firewall.addrgrp.name)" - address6: " (source firewall.address6.name firewall.addrgrp6.name)" - fortiguard_category: "0" - id: "158" - regex: "" - type: "fortiguard-category" - wildcard_fqdn: " (source firewall.wildcard-fqdn.custom.name firewall.wildcard-fqdn.group.name)" - ssl_exemption_ip_rating: "enable" - ssl_exemption_log: "disable" - ssl_exemptions_log: "disable" - ssl_handshake_log: "disable" - ssl_negotiation_log: "disable" - ssl_server: - - - ftps_client_cert_request: "bypass" - ftps_client_certificate: "bypass" - https_client_cert_request: "bypass" - https_client_certificate: "bypass" - id: "172" - imaps_client_cert_request: "bypass" - imaps_client_certificate: "bypass" - ip: "" - pop3s_client_cert_request: "bypass" - pop3s_client_certificate: "bypass" - smtps_client_cert_request: "bypass" - smtps_client_certificate: "bypass" - ssl_other_client_cert_request: "bypass" - ssl_other_client_certificate: "bypass" - ssl_server_cert_log: "disable" - supported_alpn: "http1-1" - untrusted_caname: " (source vpn.certificate.local.name)" - use_ssl_server: "disable" - whitelist: "enable" - + allowlist: "enable" + block_blacklisted_certificates: "disable" + block_blocklisted_certificates: "disable" + caname: " (source vpn.certificate.local.name)" + comment: "Optional comments." + dot: + cert_validation_failure: "allow" + cert_validation_timeout: "allow" + client_certificate: "bypass" + expired_server_cert: "allow" + proxy_after_tcp_handshake: "enable" + quic: "disable" + revoked_server_cert: "allow" + sni_server_cert_check: "enable" + status: "disable" + unsupported_ssl_cipher: "allow" + unsupported_ssl_negotiation: "allow" + unsupported_ssl_version: "allow" + untrusted_server_cert: "allow" + ftps: + allow_invalid_server_cert: "enable" + cert_validation_failure: "allow" + cert_validation_timeout: "allow" + client_cert_request: "bypass" + client_certificate: "bypass" + expired_server_cert: "allow" + invalid_server_cert: "allow" + min_allowed_ssl_version: "ssl-3.0" + ports: "" + revoked_server_cert: "allow" + sni_server_cert_check: "enable" + status: "disable" + unsupported_ssl: "bypass" + unsupported_ssl_cipher: "allow" + unsupported_ssl_negotiation: "allow" + unsupported_ssl_version: "allow" + untrusted_cert: "allow" + untrusted_server_cert: "allow" + https: + allow_invalid_server_cert: "enable" + cert_probe_failure: "allow" + cert_validation_failure: "allow" + cert_validation_timeout: "allow" + client_cert_request: "bypass" + client_certificate: "bypass" + expired_server_cert: "allow" + invalid_server_cert: "allow" + min_allowed_ssl_version: "ssl-3.0" + ports: "" + proxy_after_tcp_handshake: "enable" + quic: "disable" + revoked_server_cert: "allow" + sni_server_cert_check: "enable" + status: "disable" + unsupported_ssl: "bypass" + unsupported_ssl_cipher: "allow" + unsupported_ssl_negotiation: "allow" + unsupported_ssl_version: "allow" + untrusted_cert: "allow" + untrusted_server_cert: "allow" + imaps: + allow_invalid_server_cert: "enable" + cert_validation_failure: "allow" + cert_validation_timeout: "allow" + client_cert_request: "bypass" + client_certificate: "bypass" + expired_server_cert: "allow" + invalid_server_cert: "allow" + ports: "" + proxy_after_tcp_handshake: "enable" + revoked_server_cert: "allow" + sni_server_cert_check: "enable" + status: "disable" + unsupported_ssl: "bypass" + unsupported_ssl_cipher: "allow" + unsupported_ssl_negotiation: "allow" + unsupported_ssl_version: "allow" + untrusted_cert: "allow" + untrusted_server_cert: "allow" + mapi_over_https: "enable" + name: "default_name_83" + pop3s: + allow_invalid_server_cert: "enable" + cert_validation_failure: "allow" + cert_validation_timeout: "allow" + client_cert_request: "bypass" + client_certificate: "bypass" + expired_server_cert: "allow" + invalid_server_cert: "allow" + ports: "" + proxy_after_tcp_handshake: "enable" + revoked_server_cert: "allow" + sni_server_cert_check: "enable" + status: "disable" + unsupported_ssl: "bypass" + unsupported_ssl_cipher: "allow" + unsupported_ssl_negotiation: "allow" + unsupported_ssl_version: "allow" + untrusted_cert: "allow" + untrusted_server_cert: "allow" + rpc_over_https: "enable" + server_cert: + - + name: "default_name_105 (source vpn.certificate.local.name)" + server_cert_mode: "re-sign" + smtps: + allow_invalid_server_cert: "enable" + cert_validation_failure: "allow" + cert_validation_timeout: "allow" + client_cert_request: "bypass" + client_certificate: "bypass" + expired_server_cert: "allow" + invalid_server_cert: "allow" + ports: "" + proxy_after_tcp_handshake: "enable" + revoked_server_cert: "allow" + sni_server_cert_check: "enable" + status: "disable" + unsupported_ssl: "bypass" + unsupported_ssl_cipher: "allow" + unsupported_ssl_negotiation: "allow" + unsupported_ssl_version: "allow" + untrusted_cert: "allow" + untrusted_server_cert: "allow" + ssh: + inspect_all: "disable" + ports: "" + proxy_after_tcp_handshake: "enable" + ssh_algorithm: "compatible" + ssh_policy_check: "disable" + ssh_tun_policy_check: "disable" + status: "disable" + unsupported_version: "bypass" + ssl: + allow_invalid_server_cert: "enable" + cert_probe_failure: "allow" + cert_validation_failure: "allow" + cert_validation_timeout: "allow" + client_cert_request: "bypass" + client_certificate: "bypass" + expired_server_cert: "allow" + inspect_all: "disable" + invalid_server_cert: "allow" + min_allowed_ssl_version: "ssl-3.0" + revoked_server_cert: "allow" + sni_server_cert_check: "enable" + unsupported_ssl: "bypass" + unsupported_ssl_cipher: "allow" + unsupported_ssl_negotiation: "allow" + unsupported_ssl_version: "allow" + untrusted_cert: "allow" + untrusted_server_cert: "allow" + ssl_anomalies_log: "disable" + ssl_anomaly_log: "disable" + ssl_exempt: + - + address: " (source firewall.address.name firewall.addrgrp.name)" + address6: " (source firewall.address6.name firewall.addrgrp6.name)" + fortiguard_category: "0" + id: "160" + regex: "" + type: "fortiguard-category" + wildcard_fqdn: " (source firewall.wildcard-fqdn.custom.name firewall.wildcard-fqdn.group.name)" + ssl_exemption_ip_rating: "enable" + ssl_exemption_log: "disable" + ssl_exemptions_log: "disable" + ssl_handshake_log: "disable" + ssl_negotiation_log: "disable" + ssl_server: + - + ftps_client_cert_request: "bypass" + ftps_client_certificate: "bypass" + https_client_cert_request: "bypass" + https_client_certificate: "bypass" + id: "174" + imaps_client_cert_request: "bypass" + imaps_client_certificate: "bypass" + ip: "" + pop3s_client_cert_request: "bypass" + pop3s_client_certificate: "bypass" + smtps_client_cert_request: "bypass" + smtps_client_certificate: "bypass" + ssl_other_client_cert_request: "bypass" + ssl_other_client_certificate: "bypass" + ssl_server_cert_log: "disable" + supported_alpn: "http1-1" + untrusted_caname: " (source vpn.certificate.local.name)" + use_ssl_server: "disable" + whitelist: "enable" """ RETURN = """ @@ -1677,7 +1682,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1705,6 +1709,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ssl_ssh_profile_data(json): @@ -1801,7 +1808,6 @@ def underscore_to_hyphen(data): def firewall_ssl_ssh_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1840,11 +1846,16 @@ def firewall_ssl_ssh_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1894,7 +1905,6 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "ssl-ssh-profile") if data["firewall_ssl_ssh_profile"]: resp = firewall_ssl_ssh_profile(data, fos, check_mode) @@ -1902,7 +1912,7 @@ def fortios_firewall(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_ssl_ssh_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1917,12600 +1927,1299 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ssl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "certificate-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "certificate-inspection"}, + {"value": "deep-inspection"}, ], }, "client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "inspect", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, "unsupported_ssl_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "unsupported_ssl_negotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "expired_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "revoked_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "untrusted_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "sni_server_cert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "strict"}, + {"value": "disable"}, ], }, "cert_probe_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "min_allowed_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "invalid_server_cert": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "allow_invalid_server_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "untrusted_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, }, }, "https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "certificate-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "certificate-inspection"}, + {"value": "deep-inspection"}, ], }, + "quic": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "inspect", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, "unsupported_ssl_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "unsupported_ssl_negotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "expired_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "revoked_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "untrusted_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "sni_server_cert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "strict"}, + {"value": "disable"}, ], }, "cert_probe_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "min_allowed_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "invalid_server_cert": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "allow_invalid_server_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "untrusted_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, }, }, "ftps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "deep-inspection"}], }, "client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "inspect", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, "unsupported_ssl_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "unsupported_ssl_negotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "expired_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "revoked_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "untrusted_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "sni_server_cert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "strict"}, + {"value": "disable"}, ], }, "min_allowed_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3"}, ], }, "client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "invalid_server_cert": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "allow_invalid_server_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "untrusted_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, }, }, "imaps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "deep-inspection"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "inspect", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, "unsupported_ssl_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "unsupported_ssl_negotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "expired_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "revoked_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "untrusted_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "sni_server_cert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "strict"}, + {"value": "disable"}, ], }, "client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "invalid_server_cert": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "allow_invalid_server_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "untrusted_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, }, }, "pop3s": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "deep-inspection"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "inspect", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, "unsupported_ssl_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "unsupported_ssl_negotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "expired_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "revoked_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "untrusted_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "sni_server_cert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "strict"}, + {"value": "disable"}, ], }, "client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "invalid_server_cert": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "allow_invalid_server_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "untrusted_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, }, }, "smtps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "deep-inspection"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "inspect", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, "unsupported_ssl_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "unsupported_ssl_negotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "expired_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "revoked_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "untrusted_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "sni_server_cert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "strict"}, + {"value": "disable"}, ], }, "client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "invalid_server_cert": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "allow_invalid_server_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "untrusted_cert": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, }, }, "ssh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "deep-inspection"}], }, "inspect_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "deep-inspection"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unsupported_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "bypass"}, {"value": "block"}], }, "ssh_tun_policy_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssh_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "compatible", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high-encryption", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "compatible"}, {"value": "high-encryption"}], }, "ssh_policy_check": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "dot": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "deep-inspection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "deep-inspection"}], + }, + "quic": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, "proxy_after_tcp_handshake": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "unsupported_ssl_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "inspect", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, "unsupported_ssl_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "unsupported_ssl_negotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "expired_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "revoked_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "untrusted_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "cert_validation_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "ignore"}, ], }, "sni_server_cert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "enable"}, + {"value": "strict"}, + {"value": "disable"}, ], }, }, }, "allowlist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "block_blocklisted_certificates": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_exempt": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "fortiguard-category", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "address6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wildcard-fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "fortiguard-category"}, + {"value": "address"}, + {"value": "address6"}, + {"value": "wildcard-fqdn"}, + {"value": "regex"}, ], }, - "fortiguard_category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "address6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wildcard_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "regex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fortiguard_category": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "address6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wildcard_fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "regex": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "server_cert_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "re-sign", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "replace", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "re-sign"}, {"value": "replace"}], }, "use_ssl_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "caname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "untrusted_caname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "caname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "untrusted_caname": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_cert": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ssl_server": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "https_client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "smtps_client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "pop3s_client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "imaps_client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "ftps_client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "ssl_other_client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "https_client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "smtps_client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "pop3s_client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "imaps_client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "ftps_client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, "ssl_other_client_cert_request": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inspect", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "inspect"}, + {"value": "block"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ssl_exemption_ip_rating": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_exemption_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_anomaly_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_negotiation_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_server_cert_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_handshake_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rpc_over_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mapi_over_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "supported_alpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "http1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "http2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "http1-1"}, + {"value": "http2"}, + {"value": "all"}, + {"value": "none"}, ], }, "ssl_anomalies_log": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_exemptions_log": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "whitelist": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "block_blacklisted_certificates": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -14547,6 +3256,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_traffic_class.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_traffic_class.py index 2e9720018..3e70b17ac 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_traffic_class.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_traffic_class.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the class_id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: class_id: description: - - Class ID to be named. + - Class ID to be named. see Notes. required: true type: int class_name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure names for shaping classes. - fortios_firewall_traffic_class: - vdom: "{{ vdom }}" +- name: Configure names for shaping classes. + fortinet.fortios.fortios_firewall_traffic_class: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_traffic_class: - class_id: "0" - class_name: "" - + class_id: "" + class_name: "" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_traffic_class_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def firewall_traffic_class(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -270,11 +262,16 @@ def firewall_traffic_class(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -324,13 +321,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "traffic-class") if data["firewall_traffic_class"]: resp = firewall_traffic_class(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_traffic_class")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -345,83 +341,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "class_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "class_id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "class_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], } @@ -458,6 +381,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ttl_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ttl_policy.py index e38e586dc..3922cbf4e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ttl_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_ttl_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -97,7 +99,7 @@ options: - 'deny' id: description: - - ID. + - ID. see Notes. required: true type: int schedule: @@ -145,35 +147,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure TTL policies. - fortios_firewall_ttl_policy: - vdom: "{{ vdom }}" +- name: Configure TTL policies. + fortinet.fortios.fortios_firewall_ttl_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_ttl_policy: - action: "accept" - id: "4" - schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" - service: - - - name: "default_name_7 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" - srcintf: " (source system.zone.name system.interface.name)" - status: "enable" - ttl: "" - + action: "accept" + id: "4" + schedule: " (source firewall.schedule.onetime.name firewall.schedule.recurring.name firewall.schedule.group.name)" + service: + - + name: "default_name_7 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" + srcintf: " (source system.zone.name system.interface.name)" + status: "enable" + ttl: "" """ RETURN = """ @@ -232,7 +223,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -260,6 +250,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_ttl_policy_data(json): @@ -298,7 +291,6 @@ def underscore_to_hyphen(data): def firewall_ttl_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -334,11 +326,16 @@ def firewall_ttl_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -386,13 +383,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "ttl-policy") if data["firewall_ttl_policy"]: resp = firewall_ttl_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_ttl_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -407,452 +403,46 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "srcintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "accept"}, {"value": "deny"}], }, + "srcintf": {"v_range": [["v6.0.0", ""]], "type": "string"}, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ttl": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -887,6 +477,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vendor_mac.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vendor_mac.py index 9a79c76e6..6dc0b3d14 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vendor_mac.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vendor_mac.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Vendor ID. + - Vendor ID. see Notes. required: true type: int mac_number: @@ -108,27 +110,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Show vendor and the MAC address they have. - fortios_firewall_vendor_mac: - vdom: "{{ vdom }}" +- name: Show vendor and the MAC address they have. + fortinet.fortios.fortios_firewall_vendor_mac: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vendor_mac: - id: "3" - mac_number: "0" - name: "default_name_5" - obsolete: "0" - + id: "3" + mac_number: "0" + name: "default_name_5" + obsolete: "0" """ RETURN = """ @@ -187,7 +178,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +205,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vendor_mac_data(json): @@ -244,7 +237,6 @@ def underscore_to_hyphen(data): def firewall_vendor_mac(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -280,11 +272,16 @@ def firewall_vendor_mac(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,13 +329,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vendor-mac") if data["firewall_vendor_mac"]: resp = firewall_vendor_mac(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vendor_mac")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -354,79 +350,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "mac_number": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "obsolete": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.1", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -461,6 +402,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip.py index 84ee76ded..a26b5db44 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -142,6 +142,20 @@ options: description: - Enable to have the VIP send gratuitous ARPs. 0=disabled. Set from 5 up to 8640000 seconds to enable. type: int + h2_support: + description: + - Enable/disable HTTP2 support . + type: str + choices: + - 'enable' + - 'disable' + h3_support: + description: + - Enable/disable HTTP3/QUIC support . + type: str + choices: + - 'enable' + - 'disable' http_cookie_age: description: - Time in minutes that client web browsers should keep a cookie. Default is 60 minutes. 0 = no time limit. @@ -192,6 +206,10 @@ options: choices: - 'enable' - 'disable' + http_multiplex_max_concurrent_request: + description: + - Maximum number of concurrent requests that a multiplex server can handle . + type: int http_multiplex_max_request: description: - Maximum number of requests that a multiplex server can handle before disconnecting sessions . @@ -343,6 +361,49 @@ options: - 'udp' - 'sctp' - 'icmp' + quic: + description: + - QUIC setting. + type: dict + suboptions: + ack_delay_exponent: + description: + - ACK delay exponent (1 - 20). + type: int + active_connection_id_limit: + description: + - Active connection ID limit (1 - 8). + type: int + active_migration: + description: + - Enable/disable active migration . + type: str + choices: + - 'enable' + - 'disable' + grease_quic_bit: + description: + - Enable/disable grease QUIC bit . + type: str + choices: + - 'enable' + - 'disable' + max_ack_delay: + description: + - Maximum ACK delay in milliseconds (1 - 16383). + type: int + max_datagram_frame_size: + description: + - Maximum datagram frame size in bytes (1 - 1500). + type: int + max_idle_timeout: + description: + - Maximum idle timeout milliseconds (1 - 60000). + type: int + max_udp_payload_size: + description: + - Maximum UDP payload size in bytes (1200 - 1500). + type: int realservers: description: - Select the real servers that this server load balancing VIP will distribute traffic to. @@ -375,7 +436,7 @@ options: type: str id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -580,7 +641,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -842,7 +903,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -941,147 +1002,148 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual IP for IPv4. - fortios_firewall_vip: - vdom: "{{ vdom }}" +- name: Configure virtual IP for IPv4. + fortinet.fortios.fortios_firewall_vip: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vip: - add_nat46_route: "disable" - arp_reply: "disable" - color: "0" - comment: "Comment." - dns_mapping_ttl: "0" - extaddr: - - - name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" - extintf: " (source system.interface.name)" - extip: "" - extport: "" - gratuitous_arp_interval: "0" - http_cookie_age: "60" - http_cookie_domain: "" - http_cookie_domain_from_host: "disable" - http_cookie_generation: "0" - http_cookie_path: "" - http_cookie_share: "disable" - http_ip_header: "enable" - http_ip_header_name: "" - http_multiplex: "enable" - http_multiplex_max_request: "0" - http_multiplex_ttl: "15" - http_redirect: "enable" - http_supported_max_version: "http1" - https_cookie_secure: "disable" - id: "28" - ipv6_mappedip: "" - ipv6_mappedport: "" - ldb_method: "static" - mapped_addr: " (source firewall.address.name)" - mappedip: - - - range: "" - mappedport: "" - max_embryonic_connections: "1000" - monitor: - - - name: "default_name_38 (source firewall.ldb-monitor.name)" - name: "default_name_39" - nat_source_vip: "disable" - nat44: "disable" - nat46: "disable" - outlook_web_access: "disable" - persistence: "none" - portforward: "disable" - portmapping_type: "1-to-1" - protocol: "tcp" - realservers: - - - address: " (source firewall.address.name)" - client_ip: "" - healthcheck: "disable" - holddown_interval: "300" - http_host: "myhostname" - id: "54" - ip: "" - max_connections: "0" - monitor: - - - name: "default_name_58 (source firewall.ldb-monitor.name)" - port: "0" - status: "active" - translate_host: "enable" - type: "ip" - weight: "1" - server_type: "http" - service: - - - name: "default_name_66 (source firewall.service.custom.name firewall.service.group.name)" - src_filter: - - - range: "" - srcintf_filter: - - - interface_name: " (source system.interface.name)" - ssl_accept_ffdhe_groups: "enable" - ssl_algorithm: "high" - ssl_certificate: " (source vpn.certificate.local.name)" - ssl_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "ssl-3.0" - ssl_client_fallback: "disable" - ssl_client_rekey_count: "0" - ssl_client_renegotiation: "allow" - ssl_client_session_state_max: "1000" - ssl_client_session_state_timeout: "30" - ssl_client_session_state_type: "disable" - ssl_dh_bits: "768" - ssl_hpkp: "disable" - ssl_hpkp_age: "5184000" - ssl_hpkp_backup: " (source vpn.certificate.local.name vpn.certificate.ca.name)" - ssl_hpkp_include_subdomains: "disable" - ssl_hpkp_primary: " (source vpn.certificate.local.name vpn.certificate.ca.name)" - ssl_hpkp_report_uri: "" - ssl_hsts: "disable" - ssl_hsts_age: "5184000" - ssl_hsts_include_subdomains: "disable" - ssl_http_location_conversion: "enable" - ssl_http_match_host: "enable" - ssl_max_version: "ssl-3.0" - ssl_min_version: "ssl-3.0" - ssl_mode: "half" - ssl_pfs: "require" - ssl_send_empty_frags: "enable" - ssl_server_algorithm: "high" - ssl_server_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "ssl-3.0" - ssl_server_max_version: "ssl-3.0" - ssl_server_min_version: "ssl-3.0" - ssl_server_renegotiation: "enable" - ssl_server_session_state_max: "100" - ssl_server_session_state_timeout: "60" - ssl_server_session_state_type: "disable" - status: "disable" - type: "static-nat" - uuid: "" - weblogic_server: "disable" - websphere_server: "disable" - + add_nat46_route: "disable" + arp_reply: "disable" + color: "0" + comment: "Comment." + dns_mapping_ttl: "0" + extaddr: + - + name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" + extintf: " (source system.interface.name)" + extip: "" + extport: "" + gratuitous_arp_interval: "0" + h2_support: "enable" + h3_support: "enable" + http_cookie_age: "60" + http_cookie_domain: "" + http_cookie_domain_from_host: "disable" + http_cookie_generation: "0" + http_cookie_path: "" + http_cookie_share: "disable" + http_ip_header: "enable" + http_ip_header_name: "" + http_multiplex: "enable" + http_multiplex_max_concurrent_request: "0" + http_multiplex_max_request: "0" + http_multiplex_ttl: "15" + http_redirect: "enable" + http_supported_max_version: "http1" + https_cookie_secure: "disable" + id: "31" + ipv6_mappedip: "" + ipv6_mappedport: "" + ldb_method: "static" + mapped_addr: " (source firewall.address.name)" + mappedip: + - + range: "" + mappedport: "" + max_embryonic_connections: "1000" + monitor: + - + name: "default_name_41 (source firewall.ldb-monitor.name)" + name: "default_name_42" + nat_source_vip: "disable" + nat44: "disable" + nat46: "disable" + outlook_web_access: "disable" + persistence: "none" + portforward: "disable" + portmapping_type: "1-to-1" + protocol: "tcp" + quic: + ack_delay_exponent: "3" + active_connection_id_limit: "2" + active_migration: "enable" + grease_quic_bit: "enable" + max_ack_delay: "25" + max_datagram_frame_size: "1500" + max_idle_timeout: "30000" + max_udp_payload_size: "1500" + realservers: + - + address: " (source firewall.address.name)" + client_ip: "" + healthcheck: "disable" + holddown_interval: "300" + http_host: "myhostname" + id: "66" + ip: "" + max_connections: "0" + monitor: + - + name: "default_name_70 (source firewall.ldb-monitor.name)" + port: "0" + status: "active" + translate_host: "enable" + type: "ip" + weight: "1" + server_type: "http" + service: + - + name: "default_name_78 (source firewall.service.custom.name firewall.service.group.name)" + src_filter: + - + range: "" + srcintf_filter: + - + interface_name: " (source system.interface.name)" + ssl_accept_ffdhe_groups: "enable" + ssl_algorithm: "high" + ssl_certificate: " (source vpn.certificate.local.name)" + ssl_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "ssl-3.0" + ssl_client_fallback: "disable" + ssl_client_rekey_count: "0" + ssl_client_renegotiation: "allow" + ssl_client_session_state_max: "1000" + ssl_client_session_state_timeout: "30" + ssl_client_session_state_type: "disable" + ssl_dh_bits: "768" + ssl_hpkp: "disable" + ssl_hpkp_age: "5184000" + ssl_hpkp_backup: " (source vpn.certificate.local.name vpn.certificate.ca.name)" + ssl_hpkp_include_subdomains: "disable" + ssl_hpkp_primary: " (source vpn.certificate.local.name vpn.certificate.ca.name)" + ssl_hpkp_report_uri: "" + ssl_hsts: "disable" + ssl_hsts_age: "5184000" + ssl_hsts_include_subdomains: "disable" + ssl_http_location_conversion: "enable" + ssl_http_match_host: "enable" + ssl_max_version: "ssl-3.0" + ssl_min_version: "ssl-3.0" + ssl_mode: "half" + ssl_pfs: "require" + ssl_send_empty_frags: "enable" + ssl_server_algorithm: "high" + ssl_server_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "ssl-3.0" + ssl_server_max_version: "ssl-3.0" + ssl_server_min_version: "ssl-3.0" + ssl_server_renegotiation: "enable" + ssl_server_session_state_max: "100" + ssl_server_session_state_timeout: "60" + ssl_server_session_state_type: "disable" + status: "disable" + type: "static-nat" + uuid: "" + weblogic_server: "disable" + websphere_server: "disable" """ RETURN = """ @@ -1140,7 +1202,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1168,6 +1229,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vip_data(json): @@ -1182,6 +1246,8 @@ def filter_firewall_vip_data(json): "extip", "extport", "gratuitous_arp_interval", + "h2_support", + "h3_support", "http_cookie_age", "http_cookie_domain", "http_cookie_domain_from_host", @@ -1191,6 +1257,7 @@ def filter_firewall_vip_data(json): "http_ip_header", "http_ip_header_name", "http_multiplex", + "http_multiplex_max_concurrent_request", "http_multiplex_max_request", "http_multiplex_ttl", "http_redirect", @@ -1214,6 +1281,7 @@ def filter_firewall_vip_data(json): "portforward", "portmapping_type", "protocol", + "quic", "realservers", "server_type", "service", @@ -1315,7 +1383,6 @@ def underscore_to_hyphen(data): def firewall_vip(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1350,11 +1417,16 @@ def firewall_vip(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1402,13 +1474,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vip") if data["firewall_vip"]: resp = firewall_vip(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vip")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1423,589 +1494,50 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "static-nat", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "load-balance", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "server-load-balance", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-translation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "access-proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "static-nat"}, + {"value": "load-balance"}, + {"value": "server-load-balance"}, + {"value": "dns-translation"}, + {"value": "fqdn"}, + {"value": "access-proxy", "v_range": [["v7.0.0", ""]]}, ], }, - "dns_mapping_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "server_type": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "http"}, + {"value": "https"}, + {"value": "imaps"}, + {"value": "pop3s"}, + {"value": "smtps"}, + {"value": "ssl"}, + {"value": "tcp"}, + {"value": "udp"}, + {"value": "ip"}, + {"value": "ssh", "v_range": [["v7.0.0", "v7.0.0"]]}, + ], }, + "dns_mapping_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-session", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-rtt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "least-session"}, + {"value": "least-rtt"}, + {"value": "first-alive"}, + {"value": "http-host"}, ], }, "src_filter": { @@ -2013,11349 +1545,725 @@ versioned_schema = { "elements": "dict", "children": { "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "extip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "extip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "extaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, - "nat44": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "h2_support": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "h3_support": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "quic": { + "v_range": [["v7.4.1", ""]], + "type": "dict", + "children": { + "max_idle_timeout": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "max_udp_payload_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "active_connection_id_limit": { + "v_range": [["v7.4.1", ""]], + "type": "integer", }, - ], + "ack_delay_exponent": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "max_ack_delay": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "max_datagram_frame_size": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "active_migration": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "grease_quic_bit": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + }, + }, + "nat44": { + "v_range": [["v7.0.1", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, "nat46": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "add_nat46_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "mappedip": { "type": "list", "elements": "dict", "children": { "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "mapped_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "extintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "mapped_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "extintf": {"v_range": [["v6.0.0", ""]], "type": "string"}, "arp_reply": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "http_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "persistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl-session-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http-cookie"}, + {"value": "ssl-session-id"}, ], }, "nat_source_vip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "portforward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sctp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "icmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "tcp"}, + {"value": "udp"}, + {"value": "sctp"}, + {"value": "icmp"}, ], }, - "extport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gratuitous_arp_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "extport": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mappedport": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gratuitous_arp_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "srcintf_filter": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "portmapping_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "1-to-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "m-to-n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1-to-1"}, {"value": "m-to-n"}], }, "realservers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], + "type": "string", + "options": [{"value": "ip"}, {"value": "address"}], + }, + "address": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "status": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "holddown_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "healthcheck": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "http_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "holddown_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "healthcheck": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [ + {"value": "disable"}, + {"value": "enable"}, + {"value": "vip"}, + ], }, + "http_host": {"v_range": [["v6.0.0", ""]], "type": "string"}, "translate_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "max_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "max_connections": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "client_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "client_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "http_cookie_domain_from_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "http_cookie_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_cookie_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "http_cookie_generation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "http_cookie_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "http_cookie_domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_cookie_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_cookie_generation": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "http_cookie_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "http_cookie_share": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "same-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "same-ip"}], }, "https_cookie_secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "http_multiplex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "http_multiplex_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "http_multiplex_max_request": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "http_multiplex_ttl": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "http_multiplex_max_request": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "http_multiplex_max_concurrent_request": { + "v_range": [["v7.4.1", ""]], "type": "integer", }, - "http_supported_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "http1", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "http2", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, "http_ip_header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "http_ip_header_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "http_ip_header_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "outlook_web_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "weblogic_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "websphere_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3072", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_cipher_suites": { - "type": "list", - "elements": "dict", - "children": { - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ssl_server_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_server_cipher_suites": { - "type": "list", - "elements": "dict", - "children": { - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "ssl_mode": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "half"}, {"value": "full"}], + }, + "ssl_certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_dh_bits": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, + {"value": "3072"}, + {"value": "4096"}, + ], + }, + "ssl_algorithm": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, + {"value": "custom"}, + ], + }, + "ssl_cipher_suites": { + "type": "list", + "elements": "dict", + "children": { + "priority": { + "v_range": [["v6.0.0", ""]], + "type": "integer", + "required": True, + }, + "cipher": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-128-GCM-SHA256", + "v_range": [["v6.2.0", ""]], }, { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-256-GCM-SHA384", + "v_range": [["v6.2.0", ""]], }, { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "value": "TLS-CHACHA20-POLY1305-SHA256", + "v_range": [["v6.2.0", ""]], + }, + {"value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", + "v_range": [["v7.0.1", ""]], + }, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, ], }, "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", + "options": [ + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, + ], + "multiple_values": True, + "elements": "str", + }, + }, + "v_range": [["v6.0.0", ""]], + }, + "ssl_server_algorithm": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, + {"value": "custom"}, + {"value": "client"}, + ], + }, + "ssl_server_cipher_suites": { + "type": "list", + "elements": "dict", + "children": { + "priority": { + "v_range": [["v6.0.0", ""]], + "type": "integer", + "required": True, + }, + "cipher": { + "v_range": [["v6.0.0", ""]], + "type": "string", "options": [ { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-128-GCM-SHA256", + "v_range": [["v6.2.0", ""]], }, { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-256-GCM-SHA384", + "v_range": [["v6.2.0", ""]], }, { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "value": "TLS-CHACHA20-POLY1305-SHA256", + "v_range": [["v6.2.0", ""]], + }, + {"value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", + "v_range": [["v7.0.1", ""]], + }, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, + ], + }, + "versions": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [ + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ssl_pfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "require", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "require"}, {"value": "deny"}, {"value": "allow"}], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], }, "ssl_server_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, + {"value": "client"}, ], }, "ssl_server_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, + {"value": "client"}, ], }, "ssl_accept_ffdhe_groups": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_send_empty_frags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_client_fallback": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_client_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secure", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}, {"value": "secure"}], }, "ssl_client_session_state_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "count", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "time"}, + {"value": "count"}, + {"value": "both"}, ], }, "ssl_client_session_state_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "ssl_client_session_state_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssl_client_rekey_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "ssl_client_rekey_count": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "ssl_server_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_server_session_state_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "count", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "time"}, + {"value": "count"}, + {"value": "both"}, ], }, "ssl_server_session_state_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "ssl_server_session_state_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "ssl_http_location_conversion": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_http_match_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_hpkp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "report-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "report-only"}, ], }, - "ssl_hpkp_primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_hpkp_backup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_hpkp_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssl_hpkp_report_uri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ssl_hpkp_primary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_hpkp_backup": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_hpkp_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ssl_hpkp_report_uri": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ssl_hpkp_include_subdomains": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_hsts": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_hsts_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ssl_hsts_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ssl_hsts_include_subdomains": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "monitor": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "max_embryonic_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipv6_mappedip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, - "ipv6_mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "max_embryonic_connections": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipv6_mappedip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "ipv6_mappedport": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "http_supported_max_version": { + "v_range": [["v7.2.4", "v7.4.0"]], "type": "string", + "options": [{"value": "http1"}, {"value": "http2"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -13390,6 +2298,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip46.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip46.py index b1d5327a8..6eedf95d5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip46.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip46.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -188,7 +188,7 @@ options: type: int id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -271,61 +271,50 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 to IPv6 virtual IPs. - fortios_firewall_vip46: - vdom: "{{ vdom }}" +- name: Configure IPv4 to IPv6 virtual IPs. + fortinet.fortios.fortios_firewall_vip46: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vip46: - arp_reply: "disable" - color: "0" - comment: "Comment." - extip: "" - extport: "" - id: "8" - ldb_method: "static" - mappedip: "" - mappedport: "" - monitor: - - - name: "default_name_13 (source firewall.ldb-monitor.name)" - name: "default_name_14" - portforward: "disable" - protocol: "tcp" - realservers: - - - client_ip: "" - healthcheck: "disable" - holddown_interval: "300" - id: "21" - ip: "" - max_connections: "0" - monitor: - - - name: "default_name_25 (source firewall.ldb-monitor.name)" - port: "0" - status: "active" - weight: "1" - server_type: "http" - src_filter: - - - range: "" - srcintf_filter: - - - interface_name: " (source system.interface.name)" - type: "static-nat" - uuid: "" - + arp_reply: "disable" + color: "0" + comment: "Comment." + extip: "" + extport: "" + id: "8" + ldb_method: "static" + mappedip: "" + mappedport: "" + monitor: + - + name: "default_name_13 (source firewall.ldb-monitor.name)" + name: "default_name_14" + portforward: "disable" + protocol: "tcp" + realservers: + - + client_ip: "" + healthcheck: "disable" + holddown_interval: "300" + id: "21" + ip: "" + max_connections: "0" + monitor: + - + name: "default_name_25 (source firewall.ldb-monitor.name)" + port: "0" + status: "active" + weight: "1" + server_type: "http" + src_filter: + - + range: "" + srcintf_filter: + - + interface_name: " (source system.interface.name)" + type: "static-nat" + uuid: "" """ RETURN = """ @@ -384,7 +373,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -412,6 +400,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vip46_data(json): @@ -461,7 +452,6 @@ def underscore_to_hyphen(data): def firewall_vip46(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -497,11 +487,16 @@ def firewall_vip46(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -549,13 +544,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vip46") if data["firewall_vip46"]: resp = firewall_vip46(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vip46")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -570,581 +564,67 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "uuid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True}, + "id": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "uuid": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "type": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "static-nat", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "server-load-balance", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "static-nat"}, {"value": "server-load-balance"}], }, "src_filter": { "type": "list", "elements": "dict", "children": { "range": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "extip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mappedip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v7.0.0"]], }, + "extip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "mappedip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "arp_reply": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "portforward": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "protocol": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tcp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "extport": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mappedport": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", + "options": [{"value": "tcp"}, {"value": "udp"}], }, - "color": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "extport": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "mappedport": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "color": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "ldb_method": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-session", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-rtt", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "least-session"}, + {"value": "least-rtt"}, + {"value": "first-alive"}, ], }, "server_type": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "http"}, + {"value": "tcp"}, + {"value": "udp"}, + {"value": "ip"}, ], }, "realservers": { @@ -1152,232 +632,37 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "port": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "status": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, - "weight": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "weight": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "holddown_interval": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, "healthcheck": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vip", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "vip"}, ], }, "max_connections": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, "monitor": { @@ -1385,141 +670,43 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "client_ip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v7.0.0"]], }, + "client_ip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "monitor": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "srcintf_filter": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": {"v6.4.4": True, "v6.2.7": True}, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", "v6.4.4"]], "type": "string", "required": True, } }, - "revisions": { - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", "v6.4.4"]], }, }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], } @@ -1554,6 +741,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip6.py index 157708bfc..916d93599 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -327,7 +327,7 @@ options: type: str id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -502,7 +502,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -764,7 +764,7 @@ options: - 'TLS-RSA-WITH-DES-CBC-SHA' priority: description: - - SSL/TLS cipher suites priority. + - SSL/TLS cipher suites priority. see Notes. required: true type: int versions: @@ -853,127 +853,116 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual IP for IPv6. - fortios_firewall_vip6: - vdom: "{{ vdom }}" +- name: Configure virtual IP for IPv6. + fortinet.fortios.fortios_firewall_vip6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vip6: - add_nat64_route: "disable" - arp_reply: "disable" - color: "0" - comment: "Comment." - embedded_ipv4_address: "disable" - extip: "" - extport: "" - http_cookie_age: "60" - http_cookie_domain: "" - http_cookie_domain_from_host: "disable" - http_cookie_generation: "0" - http_cookie_path: "" - http_cookie_share: "disable" - http_ip_header: "enable" - http_ip_header_name: "" - http_multiplex: "enable" - http_redirect: "enable" - https_cookie_secure: "disable" - id: "21" - ipv4_mappedip: "" - ipv4_mappedport: "" - ldb_method: "static" - mappedip: "" - mappedport: "" - max_embryonic_connections: "1000" - monitor: - - - name: "default_name_29 (source firewall.ldb-monitor.name)" - name: "default_name_30" - nat_source_vip: "disable" - nat64: "disable" - nat66: "disable" - ndp_reply: "disable" - outlook_web_access: "disable" - persistence: "none" - portforward: "disable" - protocol: "tcp" - realservers: - - - client_ip: "" - healthcheck: "disable" - holddown_interval: "300" - http_host: "myhostname" - id: "44" - ip: "" - max_connections: "0" - monitor: - - - name: "default_name_48 (source firewall.ldb-monitor.name)" - port: "0" - status: "active" - translate_host: "enable" - weight: "1" - server_type: "http" - src_filter: - - - range: "" - ssl_accept_ffdhe_groups: "enable" - ssl_algorithm: "high" - ssl_certificate: " (source vpn.certificate.local.name)" - ssl_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "ssl-3.0" - ssl_client_fallback: "disable" - ssl_client_rekey_count: "0" - ssl_client_renegotiation: "allow" - ssl_client_session_state_max: "1000" - ssl_client_session_state_timeout: "30" - ssl_client_session_state_type: "disable" - ssl_dh_bits: "768" - ssl_hpkp: "disable" - ssl_hpkp_age: "5184000" - ssl_hpkp_backup: " (source vpn.certificate.local.name vpn.certificate.ca.name)" - ssl_hpkp_include_subdomains: "disable" - ssl_hpkp_primary: " (source vpn.certificate.local.name vpn.certificate.ca.name)" - ssl_hpkp_report_uri: "" - ssl_hsts: "disable" - ssl_hsts_age: "5184000" - ssl_hsts_include_subdomains: "disable" - ssl_http_location_conversion: "enable" - ssl_http_match_host: "enable" - ssl_max_version: "ssl-3.0" - ssl_min_version: "ssl-3.0" - ssl_mode: "half" - ssl_pfs: "require" - ssl_send_empty_frags: "enable" - ssl_server_algorithm: "high" - ssl_server_cipher_suites: - - - cipher: "TLS-AES-128-GCM-SHA256" - priority: "0" - versions: "ssl-3.0" - ssl_server_max_version: "ssl-3.0" - ssl_server_min_version: "ssl-3.0" - ssl_server_renegotiation: "enable" - ssl_server_session_state_max: "100" - ssl_server_session_state_timeout: "60" - ssl_server_session_state_type: "disable" - type: "static-nat" - uuid: "" - weblogic_server: "disable" - websphere_server: "disable" - + add_nat64_route: "disable" + arp_reply: "disable" + color: "0" + comment: "Comment." + embedded_ipv4_address: "disable" + extip: "" + extport: "" + http_cookie_age: "60" + http_cookie_domain: "" + http_cookie_domain_from_host: "disable" + http_cookie_generation: "0" + http_cookie_path: "" + http_cookie_share: "disable" + http_ip_header: "enable" + http_ip_header_name: "" + http_multiplex: "enable" + http_redirect: "enable" + https_cookie_secure: "disable" + id: "21" + ipv4_mappedip: "" + ipv4_mappedport: "" + ldb_method: "static" + mappedip: "" + mappedport: "" + max_embryonic_connections: "1000" + monitor: + - + name: "default_name_29 (source firewall.ldb-monitor.name)" + name: "default_name_30" + nat_source_vip: "disable" + nat64: "disable" + nat66: "disable" + ndp_reply: "disable" + outlook_web_access: "disable" + persistence: "none" + portforward: "disable" + protocol: "tcp" + realservers: + - + client_ip: "" + healthcheck: "disable" + holddown_interval: "300" + http_host: "myhostname" + id: "44" + ip: "" + max_connections: "0" + monitor: + - + name: "default_name_48 (source firewall.ldb-monitor.name)" + port: "0" + status: "active" + translate_host: "enable" + weight: "1" + server_type: "http" + src_filter: + - + range: "" + ssl_accept_ffdhe_groups: "enable" + ssl_algorithm: "high" + ssl_certificate: " (source vpn.certificate.local.name)" + ssl_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "ssl-3.0" + ssl_client_fallback: "disable" + ssl_client_rekey_count: "0" + ssl_client_renegotiation: "allow" + ssl_client_session_state_max: "1000" + ssl_client_session_state_timeout: "30" + ssl_client_session_state_type: "disable" + ssl_dh_bits: "768" + ssl_hpkp: "disable" + ssl_hpkp_age: "5184000" + ssl_hpkp_backup: " (source vpn.certificate.local.name vpn.certificate.ca.name)" + ssl_hpkp_include_subdomains: "disable" + ssl_hpkp_primary: " (source vpn.certificate.local.name vpn.certificate.ca.name)" + ssl_hpkp_report_uri: "" + ssl_hsts: "disable" + ssl_hsts_age: "5184000" + ssl_hsts_include_subdomains: "disable" + ssl_http_location_conversion: "enable" + ssl_http_match_host: "enable" + ssl_max_version: "ssl-3.0" + ssl_min_version: "ssl-3.0" + ssl_mode: "half" + ssl_pfs: "require" + ssl_send_empty_frags: "enable" + ssl_server_algorithm: "high" + ssl_server_cipher_suites: + - + cipher: "TLS-AES-128-GCM-SHA256" + priority: "" + versions: "ssl-3.0" + ssl_server_max_version: "ssl-3.0" + ssl_server_min_version: "ssl-3.0" + ssl_server_renegotiation: "enable" + ssl_server_session_state_max: "100" + ssl_server_session_state_timeout: "60" + ssl_server_session_state_type: "disable" + type: "static-nat" + uuid: "" + weblogic_server: "disable" + websphere_server: "disable" """ RETURN = """ @@ -1032,7 +1021,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1060,6 +1048,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vip6_data(json): @@ -1197,7 +1188,6 @@ def underscore_to_hyphen(data): def firewall_vip6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1232,11 +1222,16 @@ def firewall_vip6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1284,13 +1279,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vip6") if data["firewall_vip6"]: resp = firewall_vip6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vip6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1305,239 +1299,17 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "static-nat", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "server-load-balance", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "access-proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "static-nat"}, + {"value": "server-load-balance"}, + {"value": "access-proxy", "v_range": [["v7.0.1", ""]]}, ], }, "src_filter": { @@ -1545,10963 +1317,640 @@ versioned_schema = { "elements": "dict", "children": { "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "extip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mappedip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "extip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mappedip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "nat_source_vip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ndp_reply": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.0.8": True}, - }, - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.0.8": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "portforward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sctp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "extport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "tcp"}, {"value": "udp"}, {"value": "sctp"}], }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "extport": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mappedport": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-session", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-rtt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "least-session"}, + {"value": "least-rtt"}, + {"value": "first-alive"}, + {"value": "http-host"}, ], }, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "imaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "http"}, + {"value": "https"}, + {"value": "imaps"}, + {"value": "pop3s"}, + {"value": "smtps"}, + {"value": "ssl"}, + {"value": "tcp"}, + {"value": "udp"}, + {"value": "ip"}, ], }, "http_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "persistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl-session-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http-cookie"}, + {"value": "ssl-session-id"}, ], }, "nat66": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "nat64": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "add_nat64_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "realservers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "holddown_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "holddown_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "healthcheck": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "vip"}, ], }, - "http_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "http_host": {"v_range": [["v6.0.0", ""]], "type": "string"}, "translate_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "max_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "max_connections": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "client_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "client_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "http_cookie_domain_from_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "http_cookie_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "http_cookie_domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_cookie_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_cookie_generation": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "http_cookie_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "http_cookie_share": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "same-ip"}], }, - "http_cookie_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "https_cookie_secure": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "http_cookie_generation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "http_cookie_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "http_multiplex": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "http_cookie_share": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "http_ip_header": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "same-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "https_cookie_secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "http_ip_header_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "outlook_web_access": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "http_multiplex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "weblogic_server": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "http_ip_header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "websphere_server": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "http_ip_header_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ssl_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "half"}, {"value": "full"}], }, - "outlook_web_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ssl_certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_dh_bits": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, + {"value": "3072"}, + {"value": "4096"}, ], }, - "weblogic_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ssl_algorithm": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "websphere_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3072", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_cipher_suites": { - "type": "list", - "elements": "dict", - "children": { - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ssl_server_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "ssl_server_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_server_cipher_suites": { - "type": "list", - "elements": "dict", - "children": { - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-SEED-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLS-RSA-WITH-RC4-128-MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, + {"value": "custom"}, + ], + }, + "ssl_cipher_suites": { + "type": "list", + "elements": "dict", + "children": { + "priority": { + "v_range": [["v6.0.0", ""]], + "type": "integer", + "required": True, + }, + "cipher": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ { - "value": "TLS-RSA-WITH-RC4-128-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-128-GCM-SHA256", + "v_range": [["v6.2.0", ""]], }, { - "value": "TLS-DHE-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-256-GCM-SHA384", + "v_range": [["v6.2.0", ""]], }, { - "value": "TLS-DHE-DSS-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "value": "TLS-CHACHA20-POLY1305-SHA256", + "v_range": [["v6.2.0", ""]], + }, + {"value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, { - "value": "TLS-RSA-WITH-DES-CBC-SHA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", + "v_range": [["v7.0.1", ""]], + }, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, ], }, "versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", + "options": [ + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, + ], + "multiple_values": True, + "elements": "str", + }, + }, + "v_range": [["v6.0.0", ""]], + }, + "ssl_server_renegotiation": { + "v_range": [["v7.2.4", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ssl_server_algorithm": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, + {"value": "custom"}, + {"value": "client"}, + ], + }, + "ssl_server_cipher_suites": { + "type": "list", + "elements": "dict", + "children": { + "priority": { + "v_range": [["v6.0.0", ""]], + "type": "integer", + "required": True, + }, + "cipher": { + "v_range": [["v6.0.0", ""]], + "type": "string", "options": [ { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-128-GCM-SHA256", + "v_range": [["v6.2.0", ""]], }, { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "TLS-AES-256-GCM-SHA384", + "v_range": [["v6.2.0", ""]], }, { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "value": "TLS-CHACHA20-POLY1305-SHA256", + "v_range": [["v6.2.0", ""]], + }, + {"value": "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256"}, { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA", + "v_range": [["v7.0.1", ""]], + }, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-AES-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-128-GCM-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-AES-256-GCM-SHA384"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-SEED-CBC-SHA"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-RSA-WITH-SEED-CBC-SHA"}, + {"value": "TLS-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256"}, + {"value": "TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384"}, + {"value": "TLS-ECDHE-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-3DES-EDE-CBC-SHA"}, + {"value": "TLS-RSA-WITH-RC4-128-MD5"}, + {"value": "TLS-RSA-WITH-RC4-128-SHA"}, + {"value": "TLS-DHE-RSA-WITH-DES-CBC-SHA"}, + {"value": "TLS-DHE-DSS-WITH-DES-CBC-SHA"}, + {"value": "TLS-RSA-WITH-DES-CBC-SHA"}, + ], + }, + "versions": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [ + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ssl_pfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "require", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "require"}, {"value": "deny"}, {"value": "allow"}], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], }, "ssl_server_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, + {"value": "client"}, ], }, "ssl_server_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, + {"value": "client"}, ], }, "ssl_accept_ffdhe_groups": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_send_empty_frags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_client_fallback": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_client_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secure", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}, {"value": "secure"}], }, "ssl_client_session_state_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "count", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "time"}, + {"value": "count"}, + {"value": "both"}, ], }, "ssl_client_session_state_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "ssl_client_session_state_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssl_client_rekey_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "ssl_client_rekey_count": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "ssl_server_session_state_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "count", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "time"}, + {"value": "count"}, + {"value": "both"}, ], }, "ssl_server_session_state_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "ssl_server_session_state_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "ssl_http_location_conversion": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_http_match_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_hpkp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "report-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "report-only"}, ], }, - "ssl_hpkp_primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_hpkp_backup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_hpkp_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssl_hpkp_report_uri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ssl_hpkp_primary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_hpkp_backup": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_hpkp_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ssl_hpkp_report_uri": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ssl_hpkp_include_subdomains": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_hsts": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_hsts_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ssl_hsts_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ssl_hsts_include_subdomains": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "monitor": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "max_embryonic_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "max_embryonic_connections": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "embedded_ipv4_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "ipv4_mappedip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ipv4_mappedport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ipv4_mappedip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "ipv4_mappedport": {"v_range": [["v7.0.1", ""]], "type": "string"}, "arp_reply": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.7"], ["v7.2.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -12536,6 +1985,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip64.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip64.py index 9c1e573ac..d184b9d33 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip64.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vip64.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -188,7 +188,7 @@ options: type: int id: description: - - Real server ID. + - Real server ID. see Notes. required: true type: int ip: @@ -260,58 +260,47 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 to IPv4 virtual IPs. - fortios_firewall_vip64: - vdom: "{{ vdom }}" +- name: Configure IPv6 to IPv4 virtual IPs. + fortinet.fortios.fortios_firewall_vip64: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vip64: - arp_reply: "disable" - color: "0" - comment: "Comment." - extip: "" - extport: "" - id: "8" - ldb_method: "static" - mappedip: "" - mappedport: "" - monitor: - - - name: "default_name_13 (source firewall.ldb-monitor.name)" - name: "default_name_14" - portforward: "disable" - protocol: "tcp" - realservers: - - - client_ip: "" - healthcheck: "disable" - holddown_interval: "300" - id: "21" - ip: "" - max_connections: "0" - monitor: - - - name: "default_name_25 (source firewall.ldb-monitor.name)" - port: "0" - status: "active" - weight: "1" - server_type: "http" - src_filter: - - - range: "" - type: "static-nat" - uuid: "" - + arp_reply: "disable" + color: "0" + comment: "Comment." + extip: "" + extport: "" + id: "8" + ldb_method: "static" + mappedip: "" + mappedport: "" + monitor: + - + name: "default_name_13 (source firewall.ldb-monitor.name)" + name: "default_name_14" + portforward: "disable" + protocol: "tcp" + realservers: + - + client_ip: "" + healthcheck: "disable" + holddown_interval: "300" + id: "21" + ip: "" + max_connections: "0" + monitor: + - + name: "default_name_25 (source firewall.ldb-monitor.name)" + port: "0" + status: "active" + weight: "1" + server_type: "http" + src_filter: + - + range: "" + type: "static-nat" + uuid: "" """ RETURN = """ @@ -370,7 +359,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -398,6 +386,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vip64_data(json): @@ -446,7 +437,6 @@ def underscore_to_hyphen(data): def firewall_vip64(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -482,11 +472,16 @@ def firewall_vip64(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -534,13 +529,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vip64") if data["firewall_vip64"]: resp = firewall_vip64(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vip64")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -555,581 +549,67 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "id": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "uuid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True}, + "id": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "uuid": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "type": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "static-nat", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "server-load-balance", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "static-nat"}, {"value": "server-load-balance"}], }, "src_filter": { "type": "list", "elements": "dict", "children": { "range": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "extip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mappedip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v7.0.0"]], }, + "extip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "mappedip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "arp_reply": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "portforward": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "protocol": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "tcp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "extport": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mappedport": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "tcp"}, {"value": "udp"}], }, + "extport": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "mappedport": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "color": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "ldb_method": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-session", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-rtt", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "first-alive", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "static"}, + {"value": "round-robin"}, + {"value": "weighted"}, + {"value": "least-session"}, + {"value": "least-rtt"}, + {"value": "first-alive"}, ], }, "server_type": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "http"}, + {"value": "tcp"}, + {"value": "udp"}, + {"value": "ip"}, ], }, "realservers": { @@ -1137,232 +617,37 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "port": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "status": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "standby", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "active"}, + {"value": "standby"}, + {"value": "disable"}, ], }, - "weight": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "weight": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "holddown_interval": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, "healthcheck": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vip", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "vip"}, ], }, "max_connections": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, "monitor": { @@ -1370,118 +655,31 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, - "client_ip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "client_ip": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "monitor": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], } @@ -1516,6 +714,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp.py index 5f69a9a58..3ab54edf5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,31 +123,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 virtual IP groups. - fortios_firewall_vipgrp: - vdom: "{{ vdom }}" +- name: Configure IPv4 virtual IP groups. + fortinet.fortios.fortios_firewall_vipgrp: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vipgrp: - color: "0" - comments: "" - interface: " (source system.interface.name)" - member: - - - name: "default_name_7 (source firewall.vip.name)" - name: "default_name_8" - uuid: "" - + color: "0" + comments: "" + interface: " (source system.interface.name)" + member: + - + name: "default_name_7 (source firewall.vip.name)" + name: "default_name_8" + uuid: "" """ RETURN = """ @@ -206,7 +195,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -234,6 +222,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vipgrp_data(json): @@ -263,7 +254,6 @@ def underscore_to_hyphen(data): def firewall_vipgrp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -299,11 +289,16 @@ def firewall_vipgrp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -351,13 +346,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vipgrp") if data["firewall_vipgrp"]: resp = firewall_vipgrp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vipgrp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -372,241 +366,25 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -641,6 +419,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp46.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp46.py index 3dfa8ef48..82b5d673f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp46.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp46.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,30 +119,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 to IPv6 virtual IP groups. - fortios_firewall_vipgrp46: - vdom: "{{ vdom }}" +- name: Configure IPv4 to IPv6 virtual IP groups. + fortinet.fortios.fortios_firewall_vipgrp46: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vipgrp46: - color: "0" - comments: "" - member: - - - name: "default_name_6 (source firewall.vip46.name)" - name: "default_name_7" - uuid: "" - + color: "0" + comments: "" + member: + - + name: "default_name_6 (source firewall.vip46.name)" + name: "default_name_7" + uuid: "" """ RETURN = """ @@ -201,7 +190,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -229,6 +217,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vipgrp46_data(json): @@ -258,7 +249,6 @@ def underscore_to_hyphen(data): def firewall_vipgrp46(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -294,11 +284,16 @@ def firewall_vipgrp46(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,13 +341,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vipgrp46") if data["firewall_vipgrp46"]: resp = firewall_vipgrp46(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vipgrp46")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,121 +361,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "color": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], } @@ -516,6 +413,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp6.py index a46bd7600..d68662679 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,30 +119,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 virtual IP groups. - fortios_firewall_vipgrp6: - vdom: "{{ vdom }}" +- name: Configure IPv6 virtual IP groups. + fortinet.fortios.fortios_firewall_vipgrp6: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vipgrp6: - color: "0" - comments: "" - member: - - - name: "default_name_6 (source firewall.vip6.name)" - name: "default_name_7" - uuid: "" - + color: "0" + comments: "" + member: + - + name: "default_name_6 (source firewall.vip6.name)" + name: "default_name_7" + uuid: "" """ RETURN = """ @@ -201,7 +190,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -229,6 +217,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vipgrp6_data(json): @@ -258,7 +249,6 @@ def underscore_to_hyphen(data): def firewall_vipgrp6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -294,11 +284,16 @@ def firewall_vipgrp6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,13 +341,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vipgrp6") if data["firewall_vipgrp6"]: resp = firewall_vipgrp6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vipgrp6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,212 +361,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -607,6 +413,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp64.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp64.py index 8513f77e5..f7057cd4f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp64.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_vipgrp64.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,30 +119,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 to IPv4 virtual IP groups. - fortios_firewall_vipgrp64: - vdom: "{{ vdom }}" +- name: Configure IPv6 to IPv4 virtual IP groups. + fortinet.fortios.fortios_firewall_vipgrp64: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_vipgrp64: - color: "0" - comments: "" - member: - - - name: "default_name_6 (source firewall.vip64.name)" - name: "default_name_7" - uuid: "" - + color: "0" + comments: "" + member: + - + name: "default_name_6 (source firewall.vip64.name)" + name: "default_name_7" + uuid: "" """ RETURN = """ @@ -201,7 +190,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -229,6 +217,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_vipgrp64_data(json): @@ -258,7 +249,6 @@ def underscore_to_hyphen(data): def firewall_vipgrp64(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -294,11 +284,16 @@ def firewall_vipgrp64(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,13 +341,12 @@ def is_successful_status(resp): def fortios_firewall(data, fos, check_mode): - fos.do_member_operation("firewall", "vipgrp64") if data["firewall_vipgrp64"]: resp = firewall_vipgrp64(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("firewall_vipgrp64")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,121 +361,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comments": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, + "color": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, + "comments": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], } @@ -516,6 +413,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_custom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_custom.py index accf498b7..a32fa7dcd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_custom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_custom.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,29 +119,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Config global/VDOM Wildcard FQDN address. - fortios_firewall_wildcard_fqdn_custom: - vdom: "{{ vdom }}" +- name: Config global/VDOM Wildcard FQDN address. + fortinet.fortios.fortios_firewall_wildcard_fqdn_custom: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_wildcard_fqdn_custom: - color: "0" - comment: "Comment." - name: "default_name_5" - uuid: "" - visibility: "enable" - wildcard_fqdn: "" - + color: "0" + comment: "Comment." + name: "default_name_5" + uuid: "" + visibility: "enable" + wildcard_fqdn: "" """ RETURN = """ @@ -200,7 +189,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -228,6 +216,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_wildcard_fqdn_custom_data(json): @@ -257,7 +248,6 @@ def underscore_to_hyphen(data): def firewall_wildcard_fqdn_custom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -295,11 +285,16 @@ def firewall_wildcard_fqdn_custom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -351,7 +346,6 @@ def is_successful_status(resp): def fortios_firewall_wildcard_fqdn(data, fos, check_mode): - fos.do_member_operation("firewall.wildcard-fqdn", "custom") if data["firewall_wildcard_fqdn_custom"]: resp = firewall_wildcard_fqdn_custom(data, fos, check_mode) @@ -359,7 +353,7 @@ def fortios_firewall_wildcard_fqdn(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_wildcard_fqdn_custom") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -374,217 +368,18 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wildcard_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wildcard_fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -621,6 +416,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_group.py index 364c83ab3..18bc8141d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_firewall_wildcard_fqdn_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -126,31 +126,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Config global Wildcard FQDN address groups. - fortios_firewall_wildcard_fqdn_group: - vdom: "{{ vdom }}" +- name: Config global Wildcard FQDN address groups. + fortinet.fortios.fortios_firewall_wildcard_fqdn_group: + vdom: "{{ vdom }}" state: "present" access_token: "" firewall_wildcard_fqdn_group: - color: "0" - comment: "Comment." - member: - - - name: "default_name_6 (source firewall.wildcard-fqdn.custom.name)" - name: "default_name_7" - uuid: "" - visibility: "enable" - + color: "0" + comment: "Comment." + member: + - + name: "default_name_6 (source firewall.wildcard-fqdn.custom.name)" + name: "default_name_7" + uuid: "" + visibility: "enable" """ RETURN = """ @@ -209,7 +198,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -237,6 +225,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_firewall_wildcard_fqdn_group_data(json): @@ -266,7 +257,6 @@ def underscore_to_hyphen(data): def firewall_wildcard_fqdn_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -302,11 +292,16 @@ def firewall_wildcard_fqdn_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -356,7 +351,6 @@ def is_successful_status(resp): def fortios_firewall_wildcard_fqdn(data, fos, check_mode): - fos.do_member_operation("firewall.wildcard-fqdn", "group") if data["firewall_wildcard_fqdn_group"]: resp = firewall_wildcard_fqdn_group(data, fos, check_mode) @@ -364,7 +358,7 @@ def fortios_firewall_wildcard_fqdn(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("firewall_wildcard_fqdn_group") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -379,250 +373,29 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -659,6 +432,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ftp_proxy_explicit.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ftp_proxy_explicit.py index a9c339ef1..6cd4860de 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ftp_proxy_explicit.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ftp_proxy_explicit.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -145,31 +145,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure explicit FTP proxy settings. - fortios_ftp_proxy_explicit: - vdom: "{{ vdom }}" +- name: Configure explicit FTP proxy settings. + fortinet.fortios.fortios_ftp_proxy_explicit: + vdom: "{{ vdom }}" ftp_proxy_explicit: - incoming_ip: "" - incoming_port: "" - outgoing_ip: "" - sec_default_action: "accept" - server_data_mode: "client" - ssl: "enable" - ssl_algorithm: "high" - ssl_cert: " (source certificate.local.name)" - ssl_dh_bits: "768" - status: "enable" - + incoming_ip: "" + incoming_port: "" + outgoing_ip: "" + sec_default_action: "accept" + server_data_mode: "client" + ssl: "enable" + ssl_algorithm: "high" + ssl_cert: " (source certificate.local.name)" + ssl_dh_bits: "768" + status: "enable" """ RETURN = """ @@ -228,7 +217,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -342,7 +330,6 @@ def is_successful_status(resp): def fortios_ftp_proxy(data, fos): - fos.do_member_operation("ftp-proxy", "explicit") if data["ftp_proxy_explicit"]: resp = ftp_proxy_explicit(data, fos) @@ -359,689 +346,52 @@ def fortios_ftp_proxy(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "incoming_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "incoming_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "incoming_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "incoming_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "outgoing_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "sec_default_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "server_data_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "client", "revisions": {"v7.4.0": True}}, - {"value": "passive", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "client"}, {"value": "passive"}], }, "ssl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ssl_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssl_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, ], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "high"}, {"value": "medium"}, {"value": "low"}], }, }, } @@ -1077,6 +427,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn.py index 61c9a0f48..e307af936 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure APN for GTP. - fortios_gtp_apn: - vdom: "{{ vdom }}" +- name: Configure APN for GTP. + fortinet.fortios.fortios_gtp_apn: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_apn: - apn: "" - name: "default_name_4" - + apn: "" + name: "default_name_4" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_gtp_apn_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def gtp_apn(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -268,11 +258,16 @@ def gtp_apn(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -320,13 +315,12 @@ def is_successful_status(resp): def fortios_gtp(data, fos, check_mode): - fos.do_member_operation("gtp", "apn") if data["gtp_apn"]: resp = gtp_apn(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("gtp_apn")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -342,73 +336,16 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "apn": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -438,6 +375,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn_shaper.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn_shaper.py index 6b2d0b402..2bac6ddd7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn_shaper.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apn_shaper.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,7 +114,7 @@ options: type: int id: description: - - Shaper ID. + - Shaper ID. see Notes. required: true type: int rate_limit: @@ -122,30 +124,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global per-APN shaper. - fortios_gtp_apn_shaper: - vdom: "{{ vdom }}" +- name: Global per-APN shaper. + fortinet.fortios.fortios_gtp_apn_shaper: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_apn_shaper: - action: "drop" - apn: - - - name: "default_name_5 (source gtp.apn.name gtp.apngrp.name)" - back_off_time: "0" - id: "7" - rate_limit: "0" - + action: "drop" + apn: + - + name: "default_name_5 (source gtp.apn.name gtp.apngrp.name)" + back_off_time: "0" + id: "7" + rate_limit: "0" """ RETURN = """ @@ -204,7 +195,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -232,6 +222,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_gtp_apn_shaper_data(json): @@ -261,7 +254,6 @@ def underscore_to_hyphen(data): def gtp_apn_shaper(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -297,11 +289,16 @@ def gtp_apn_shaper(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -349,13 +346,12 @@ def is_successful_status(resp): def fortios_gtp(data, fos, check_mode): - fos.do_member_operation("gtp", "apn-shaper") if data["gtp_apn_shaper"]: resp = gtp_apn_shaper(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("gtp_apn_shaper")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -371,26 +367,7 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, @@ -399,189 +376,28 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "rate_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reject", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "drop"}, {"value": "reject"}], }, "back_off_time": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -616,6 +432,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apngrp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apngrp.py index 9966e5897..91980c3d2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apngrp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_apngrp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,27 +107,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure APN groups for GTP. - fortios_gtp_apngrp: - vdom: "{{ vdom }}" +- name: Configure APN groups for GTP. + fortinet.fortios.fortios_gtp_apngrp: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_apngrp: - member: - - - name: "default_name_4 (source gtp.apn.name gtp.apngrp.name)" - name: "default_name_5" - + member: + - + name: "default_name_4 (source gtp.apn.name gtp.apngrp.name)" + name: "default_name_5" """ RETURN = """ @@ -186,7 +175,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -214,6 +202,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_gtp_apngrp_data(json): @@ -243,7 +234,6 @@ def underscore_to_hyphen(data): def gtp_apngrp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -277,11 +267,16 @@ def gtp_apngrp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -329,13 +324,12 @@ def is_successful_status(resp): def fortios_gtp(data, fos, check_mode): - fos.do_member_operation("gtp", "apngrp") if data["gtp_apngrp"]: resp = gtp_apngrp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("gtp_apngrp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -351,26 +345,7 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, @@ -379,72 +354,15 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -479,6 +397,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_allow_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_allow_list.py index 8d393b44c..fbcc7cccb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_allow_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_allow_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,7 +100,7 @@ options: type: int id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int ie: @@ -115,29 +115,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: IE allow list. - fortios_gtp_ie_allow_list: - vdom: "{{ vdom }}" +- name: IE allow list. + fortinet.fortios.fortios_gtp_ie_allow_list: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_ie_allow_list: - entries: - - - fos_message: "0" - id: "5" - ie: "0" - name: "default_name_7" - + entries: + - + fos_message: "0" + id: "5" + ie: "0" + name: "default_name_7" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -302,7 +290,6 @@ def is_successful_status(resp): def fortios_gtp(data, fos): - fos.do_member_operation("gtp", "ie-allow-list") if data["gtp_ie_allow_list"]: resp = gtp_ie_allow_list(data, fos) @@ -323,16 +310,7 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, @@ -341,68 +319,23 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, }, "ie": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "fos_message": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -437,6 +370,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_white_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_white_list.py index 4b0061a45..91f819d3f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_white_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_ie_white_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,7 +100,7 @@ options: type: int id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int ie: @@ -115,29 +115,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: IE white list. - fortios_gtp_ie_white_list: - vdom: "{{ vdom }}" +- name: IE white list. + fortinet.fortios.fortios_gtp_ie_white_list: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_ie_white_list: - entries: - - - fos_message: "127" - id: "5" - ie: "127" - name: "default_name_7" - + entries: + - + fos_message: "127" + id: "5" + ie: "127" + name: "default_name_7" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_gtp_ie_white_list_data(json): @@ -276,7 +267,6 @@ def valid_attr_to_invalid_attrs(data): def gtp_ie_white_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -313,11 +303,16 @@ def gtp_ie_white_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -365,13 +360,12 @@ def is_successful_status(resp): def fortios_gtp(data, fos, check_mode): - fos.do_member_operation("gtp", "ie-white-list") if data["gtp_ie_white_list"]: resp = gtp_ie_white_list(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("gtp_ie_white_list")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -386,99 +380,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "required": True}, "entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, - "ie": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fos_message": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ie": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, + "fos_message": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, }, + "v_range": [["v6.0.0", "v6.4.4"]], }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], } @@ -513,6 +431,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v0v1.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v0v1.py index 4ec7385af..be87b955d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v0v1.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v0v1.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -325,7 +325,7 @@ options: suboptions: id: description: - - Message IDs. + - Message IDs. see Notes. required: true type: int update_mbms: @@ -359,63 +359,52 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Message filter for GTPv0/v1 messages. - fortios_gtp_message_filter_v0v1: - vdom: "{{ vdom }}" +- name: Message filter for GTPv0/v1 messages. + fortinet.fortios.fortios_gtp_message_filter_v0v1: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_message_filter_v0v1: - create_mbms: "allow" - create_pdp: "allow" - data_record: "allow" - delete_aa_pdp: "allow" - delete_mbms: "allow" - delete_pdp: "allow" - echo: "allow" - end_marker: "allow" - error_indication: "allow" - failure_report: "allow" - fwd_relocation: "allow" - fwd_srns_context: "allow" - gtp_pdu: "allow" - identification: "allow" - mbms_de_registration: "allow" - mbms_notification: "allow" - mbms_registration: "allow" - mbms_session_start: "allow" - mbms_session_stop: "allow" - mbms_session_update: "allow" - ms_info_change_notif: "allow" - name: "default_name_24" - node_alive: "allow" - note_ms_present: "allow" - pdu_notification: "allow" - ran_info: "allow" - redirection: "allow" - relocation_cancel: "allow" - send_route: "allow" - sgsn_context: "allow" - support_extension: "allow" - ue_registration_query: "allow" - unknown_message: "allow" - unknown_message_white_list: - - - id: "37" - update_mbms: "allow" - update_pdp: "allow" - v0_create_aa_pdp__v1_init_pdp_ctx: "allow" - version_not_support: "allow" - + create_mbms: "allow" + create_pdp: "allow" + data_record: "allow" + delete_aa_pdp: "allow" + delete_mbms: "allow" + delete_pdp: "allow" + echo: "allow" + end_marker: "allow" + error_indication: "allow" + failure_report: "allow" + fwd_relocation: "allow" + fwd_srns_context: "allow" + gtp_pdu: "allow" + identification: "allow" + mbms_de_registration: "allow" + mbms_notification: "allow" + mbms_registration: "allow" + mbms_session_start: "allow" + mbms_session_stop: "allow" + mbms_session_update: "allow" + ms_info_change_notif: "allow" + name: "default_name_24" + node_alive: "allow" + note_ms_present: "allow" + pdu_notification: "allow" + ran_info: "allow" + redirection: "allow" + relocation_cancel: "allow" + send_route: "allow" + sgsn_context: "allow" + support_extension: "allow" + ue_registration_query: "allow" + unknown_message: "allow" + unknown_message_white_list: + - + id: "37" + update_mbms: "allow" + update_pdp: "allow" + v0_create_aa_pdp__v1_init_pdp_ctx: "allow" + version_not_support: "allow" """ RETURN = """ @@ -474,7 +463,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -502,6 +490,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_gtp_message_filter_v0v1_data(json): @@ -570,7 +561,6 @@ def underscore_to_hyphen(data): def gtp_message_filter_v0v1(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -606,11 +596,16 @@ def gtp_message_filter_v0v1(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -660,13 +655,12 @@ def is_successful_status(resp): def fortios_gtp(data, fos, check_mode): - fos.do_member_operation("gtp", "message-filter-v0v1") if data["gtp_message_filter_v0v1"]: resp = gtp_message_filter_v0v1(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("gtp_message_filter_v0v1")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -682,2612 +676,204 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "unknown_message": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "unknown_message_white_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "echo": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "version_not_support": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "node_alive": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "redirection": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "create_pdp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "update_pdp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_pdp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "v0_create_aa_pdp__v1_init_pdp_ctx": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_aa_pdp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "error_indication": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "pdu_notification": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "support_extension": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "send_route": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "failure_report": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "note_ms_present": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "identification": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "sgsn_context": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "fwd_relocation": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "relocation_cancel": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "fwd_srns_context": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "ue_registration_query": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "ran_info": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_notification": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "create_mbms": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "update_mbms": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_mbms": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_registration": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_de_registration": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_session_start": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_session_stop": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_session_update": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "ms_info_change_notif": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "data_record": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "end_marker": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "gtp_pdu": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -3324,6 +910,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v2.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v2.py index 702a5c382..db35de0e6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v2.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_message_filter_v2.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -409,7 +409,7 @@ options: suboptions: id: description: - - Message IDs. + - Message IDs. see Notes. required: true type: int update_bearer: @@ -436,74 +436,63 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Message filter for GTPv2 messages. - fortios_gtp_message_filter_v2: - vdom: "{{ vdom }}" +- name: Message filter for GTPv2 messages. + fortinet.fortios.fortios_gtp_message_filter_v2: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_message_filter_v2: - alert_mme_notif_ack: "allow" - bearer_resource_cmd_fail: "allow" - change_notification: "allow" - configuration_transfer_tunnel: "allow" - context_req_res_ack: "allow" - create_bearer: "allow" - create_forwarding_tunnel_req_resp: "allow" - create_indirect_forwarding_tunnel_req_resp: "allow" - create_session: "allow" - cs_paging: "allow" - delete_bearer_cmd_fail: "allow" - delete_bearer_req_resp: "allow" - delete_indirect_forwarding_tunnel_req_resp: "allow" - delete_pdn_connection_set: "allow" - delete_session: "allow" - detach_notif_ack: "allow" - dlink_data_notif_ack: "allow" - dlink_notif_failure: "allow" - echo: "allow" - forward_access_notif_ack: "allow" - forward_relocation_cmp_notif_ack: "allow" - forward_relocation_req_res: "allow" - identification_req_resp: "allow" - isr_status: "allow" - mbms_session_start_req_resp: "allow" - mbms_session_stop_req_resp: "allow" - mbms_session_update_req_resp: "allow" - modify_access_req_resp: "allow" - modify_bearer_cmd_fail: "allow" - modify_bearer_req_resp: "allow" - name: "default_name_33" - pgw_dlink_notif_ack: "allow" - pgw_restart_notif_ack: "allow" - ran_info_relay: "allow" - release_access_bearer_req_resp: "allow" - relocation_cancel_req_resp: "allow" - remote_ue_report_notif_ack: "allow" - reserved_for_earlier_version: "allow" - resume: "allow" - stop_paging_indication: "allow" - suspend: "allow" - trace_session: "allow" - ue_activity_notif_ack: "allow" - ue_registration_query_req_resp: "allow" - unknown_message: "allow" - unknown_message_white_list: - - - id: "49" - update_bearer: "allow" - update_pdn_connection_set: "allow" - version_not_support: "allow" - + alert_mme_notif_ack: "allow" + bearer_resource_cmd_fail: "allow" + change_notification: "allow" + configuration_transfer_tunnel: "allow" + context_req_res_ack: "allow" + create_bearer: "allow" + create_forwarding_tunnel_req_resp: "allow" + create_indirect_forwarding_tunnel_req_resp: "allow" + create_session: "allow" + cs_paging: "allow" + delete_bearer_cmd_fail: "allow" + delete_bearer_req_resp: "allow" + delete_indirect_forwarding_tunnel_req_resp: "allow" + delete_pdn_connection_set: "allow" + delete_session: "allow" + detach_notif_ack: "allow" + dlink_data_notif_ack: "allow" + dlink_notif_failure: "allow" + echo: "allow" + forward_access_notif_ack: "allow" + forward_relocation_cmp_notif_ack: "allow" + forward_relocation_req_res: "allow" + identification_req_resp: "allow" + isr_status: "allow" + mbms_session_start_req_resp: "allow" + mbms_session_stop_req_resp: "allow" + mbms_session_update_req_resp: "allow" + modify_access_req_resp: "allow" + modify_bearer_cmd_fail: "allow" + modify_bearer_req_resp: "allow" + name: "default_name_33" + pgw_dlink_notif_ack: "allow" + pgw_restart_notif_ack: "allow" + ran_info_relay: "allow" + release_access_bearer_req_resp: "allow" + relocation_cancel_req_resp: "allow" + remote_ue_report_notif_ack: "allow" + reserved_for_earlier_version: "allow" + resume: "allow" + stop_paging_indication: "allow" + suspend: "allow" + trace_session: "allow" + ue_activity_notif_ack: "allow" + ue_registration_query_req_resp: "allow" + unknown_message: "allow" + unknown_message_white_list: + - + id: "49" + update_bearer: "allow" + update_pdn_connection_set: "allow" + version_not_support: "allow" """ RETURN = """ @@ -562,7 +551,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -590,6 +578,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_gtp_message_filter_v2_data(json): @@ -669,7 +660,6 @@ def underscore_to_hyphen(data): def gtp_message_filter_v2(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -705,11 +695,16 @@ def gtp_message_filter_v2(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -759,13 +754,12 @@ def is_successful_status(resp): def fortios_gtp(data, fos, check_mode): - fos.do_member_operation("gtp", "message-filter-v2") if data["gtp_message_filter_v2"]: resp = gtp_message_filter_v2(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("gtp_message_filter_v2")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -781,2221 +775,259 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "unknown_message": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "unknown_message_white_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "echo": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "version_not_support": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "create_session": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "modify_bearer_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_session": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "change_notification": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "remote_ue_report_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "modify_bearer_cmd_fail": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_bearer_cmd_fail": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "bearer_resource_cmd_fail": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "dlink_notif_failure": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "trace_session": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "stop_paging_indication": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "create_bearer": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "update_bearer": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_bearer_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_pdn_connection_set": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "pgw_dlink_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "identification_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "context_req_res_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "forward_relocation_req_res": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "forward_relocation_cmp_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "forward_access_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "relocation_cancel_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "configuration_transfer_tunnel": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "detach_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "cs_paging": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "ran_info_relay": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "alert_mme_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "ue_activity_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "isr_status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "ue_registration_query_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "create_forwarding_tunnel_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "suspend": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "resume": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "create_indirect_forwarding_tunnel_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "delete_indirect_forwarding_tunnel_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "release_access_bearer_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "dlink_data_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "reserved_for_earlier_version": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "pgw_restart_notif_ack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "update_pdn_connection_set": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "modify_access_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_session_start_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_session_update_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mbms_session_stop_req_resp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.2.4": True}}, - {"value": "deny", "revisions": {"v7.2.4": True}}, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -3032,6 +1064,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_rat_timeout_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_rat_timeout_profile.py index 75d9cd109..cba847d32 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_rat_timeout_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_rat_timeout_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -136,34 +136,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: RAT timeout profile - fortios_gtp_rat_timeout_profile: - vdom: "{{ vdom }}" +- name: RAT timeout profile + fortinet.fortios.fortios_gtp_rat_timeout_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_rat_timeout_profile: - eutran_timeout: "0" - gan_timeout: "0" - geran_timeout: "0" - hspa_timeout: "0" - ltem_timeout: "0" - name: "default_name_8" - nbiot_timeout: "0" - nr_timeout: "0" - utran_timeout: "0" - virtual_timeout: "0" - wlan_timeout: "0" - + eutran_timeout: "0" + gan_timeout: "0" + geran_timeout: "0" + hspa_timeout: "0" + ltem_timeout: "0" + name: "default_name_8" + nbiot_timeout: "0" + nr_timeout: "0" + utran_timeout: "0" + virtual_timeout: "0" + wlan_timeout: "0" """ RETURN = """ @@ -222,7 +211,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -318,7 +306,6 @@ def is_successful_status(resp): def fortios_gtp(data, fos): - fos.do_member_operation("gtp", "rat-timeout-profile") if data["gtp_rat_timeout_profile"]: resp = gtp_rat_timeout_profile(data, fos) @@ -339,148 +326,52 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "utran_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "geran_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "wlan_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "gan_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "hspa_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "eutran_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "virtual_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "nbiot_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "ltem_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "nr_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -517,6 +408,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_tunnel_limit.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_tunnel_limit.py index 71c49aff0..9e675ba64 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_tunnel_limit.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_gtp_tunnel_limit.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: GTP tunnel limiter. - fortios_gtp_tunnel_limit: - vdom: "{{ vdom }}" +- name: GTP tunnel limiter. + fortinet.fortios.fortios_gtp_tunnel_limit: + vdom: "{{ vdom }}" state: "present" access_token: "" gtp_tunnel_limit: - name: "default_name_3" - tunnel_limit: "0" - + name: "default_name_3" + tunnel_limit: "0" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_gtp_tunnel_limit_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def gtp_tunnel_limit(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -270,11 +260,16 @@ def gtp_tunnel_limit(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -322,13 +317,12 @@ def is_successful_status(resp): def fortios_gtp(data, fos, check_mode): - fos.do_member_operation("gtp", "tunnel-limit") if data["gtp_tunnel_limit"]: resp = gtp_tunnel_limit(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("gtp_tunnel_limit")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -344,73 +338,16 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "tunnel_limit": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -445,6 +382,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_nic.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_nic.py index 17e5fcb09..4e56d4591 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_nic.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_nic.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display NIC information. - fortios_hardware_nic: - vdom: "{{ vdom }}" +- name: Display NIC information. + fortinet.fortios.fortios_hardware_nic: + vdom: "{{ vdom }}" hardware_nic: - nic: "" - + nic: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -256,7 +244,6 @@ def is_successful_status(resp): def fortios_hardware(data, fos): - fos.do_member_operation("hardware", "nic") if data["hardware_nic"]: resp = hardware_nic(data, fos) @@ -273,39 +260,15 @@ def fortios_hardware(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "nic": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -342,6 +305,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_dce.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_dce.py index 10113d077..10e399dfe 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_dce.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_dce.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Show NP6 non-zero subengine drop counters. - fortios_hardware_npu_np6_dce: - vdom: "{{ vdom }}" +- name: Show NP6 non-zero subengine drop counters. + fortinet.fortios.fortios_hardware_npu_np6_dce: + vdom: "{{ vdom }}" hardware_npu_np6_dce: - dev_id: "" - + dev_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_hardware_npu_np6(data, fos): - fos.do_member_operation("hardware.npu.np6", "dce") if data["hardware_npu_np6_dce"]: resp = hardware_npu_np6_dce(data, fos) @@ -275,39 +262,15 @@ def fortios_hardware_npu_np6(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "dev_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -344,6 +307,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_session_stats.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_session_stats.py index 9062a079a..04b3cf2d8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_session_stats.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_session_stats.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Show NP6 session offloading statistics counters. - fortios_hardware_npu_np6_session_stats: - vdom: "{{ vdom }}" +- name: Show NP6 session offloading statistics counters. + fortinet.fortios.fortios_hardware_npu_np6_session_stats: + vdom: "{{ vdom }}" hardware_npu_np6_session_stats: - dev_id: "" - + dev_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_hardware_npu_np6(data, fos): - fos.do_member_operation("hardware.npu.np6", "session-stats") if data["hardware_npu_np6_session_stats"]: resp = hardware_npu_np6_session_stats(data, fos) @@ -277,39 +264,15 @@ def fortios_hardware_npu_np6(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "dev_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -348,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_sse_stats.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_sse_stats.py index 03f945003..77da4fe6a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_sse_stats.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_hardware_npu_np6_sse_stats.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Show NP6 hardware session statistics counters. - fortios_hardware_npu_np6_sse_stats: - vdom: "{{ vdom }}" +- name: Show NP6 hardware session statistics counters. + fortinet.fortios.fortios_hardware_npu_np6_sse_stats: + vdom: "{{ vdom }}" hardware_npu_np6_sse_stats: - dev_id: "" - + dev_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_hardware_npu_np6(data, fos): - fos.do_member_operation("hardware.npu.np6", "sse-stats") if data["hardware_npu_np6_sse_stats"]: resp = hardware_npu_np6_sse_stats(data, fos) @@ -277,39 +264,15 @@ def fortios_hardware_npu_np6(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "dev_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -348,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_profile.py index 84bdeba75..1d08a301a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -166,7 +166,7 @@ options: type: str id: description: - - HTTP forwarded header ID. + - HTTP forwarded header ID. see Notes. required: true type: int name: @@ -273,7 +273,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int host: @@ -288,7 +288,7 @@ options: suboptions: code: description: - - HTTP response status code. + - HTTP response status code. see Notes. required: true type: int name: @@ -343,71 +343,60 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure ICAP profiles. - fortios_icap_profile: - vdom: "{{ vdom }}" +- name: Configure ICAP profiles. + fortinet.fortios.fortios_icap_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" icap_profile: - response_204: "disable" - size_limit_204: "1" - chunk_encap: "disable" - comment: "Comment." - extension_feature: "scan-progress" - file_transfer: "ssh" - file_transfer_failure: "error" - file_transfer_path: "" - file_transfer_server: " (source icap.server.name icap.server-group.name)" - icap_block_log: "disable" - icap_headers: - - - base64_encoding: "disable" - content: "" - id: "16" - name: "default_name_17" - methods: "delete" - name: "default_name_19" - preview: "disable" - preview_data_length: "0" - replacemsg_group: " (source system.replacemsg-group.name)" - request: "disable" - request_failure: "error" - request_path: "" - request_server: " (source icap.server.name icap.server-group.name)" - respmod_default_action: "forward" - respmod_forward_rules: - - - action: "forward" - header_group: - - - case_sensitivity: "disable" - header: "" - header_name: "" - id: "34" - host: "myhostname (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name)" - http_resp_status_code: - - - code: "0" - name: "default_name_38" - response: "disable" - response_failure: "error" - response_path: "" - response_req_hdr: "disable" - response_server: " (source icap.server.name icap.server-group.name)" - scan_progress_interval: "10" - streaming_content_bypass: "disable" - timeout: "30" - + response_204: "disable" + size_limit_204: "1" + chunk_encap: "disable" + comment: "Comment." + extension_feature: "scan-progress" + file_transfer: "ssh" + file_transfer_failure: "error" + file_transfer_path: "" + file_transfer_server: " (source icap.server.name icap.server-group.name)" + icap_block_log: "disable" + icap_headers: + - + base64_encoding: "disable" + content: "" + id: "16" + name: "default_name_17" + methods: "delete" + name: "default_name_19" + preview: "disable" + preview_data_length: "0" + replacemsg_group: " (source system.replacemsg-group.name)" + request: "disable" + request_failure: "error" + request_path: "" + request_server: " (source icap.server.name icap.server-group.name)" + respmod_default_action: "forward" + respmod_forward_rules: + - + action: "forward" + header_group: + - + case_sensitivity: "disable" + header: "" + header_name: "" + id: "34" + host: "myhostname (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name)" + http_resp_status_code: + - + code: "" + name: "default_name_38" + response: "disable" + response_failure: "error" + response_path: "" + response_req_hdr: "disable" + response_server: " (source icap.server.name icap.server-group.name)" + scan_progress_interval: "10" + streaming_content_bypass: "disable" + timeout: "30" """ RETURN = """ @@ -466,7 +455,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -494,6 +482,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_icap_profile_data(json): @@ -608,7 +599,6 @@ def valid_attr_to_invalid_attrs(data): def icap_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -644,11 +634,16 @@ def icap_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -696,13 +691,12 @@ def is_successful_status(resp): def fortios_icap(data, fos, check_mode): - fos.do_member_operation("icap", "profile") if data["icap_profile"]: resp = icap_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("icap_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -717,2272 +711,180 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "replacemsg_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.2.4", ""]], "type": "string"}, "request": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "response": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "file_transfer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "list", - "options": [ - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "ssh"}, {"value": "ftp"}], "multiple_values": True, "elements": "str", }, "streaming_content_bypass": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "preview": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "preview_data_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "request_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "response_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "file_transfer_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "preview_data_length": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "request_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "response_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "file_transfer_server": {"v_range": [["v7.2.0", ""]], "type": "string"}, "request_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "error"}, {"value": "bypass"}], }, "response_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "error"}, {"value": "bypass"}], }, "file_transfer_failure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "request_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "response_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "file_transfer_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "error"}, {"value": "bypass"}], }, + "request_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "response_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "file_transfer_path": {"v_range": [["v7.2.0", ""]], "type": "string"}, "methods": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "delete", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "head", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "options", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "put", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trace", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "other", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "delete"}, + {"value": "get"}, + {"value": "head"}, + {"value": "options"}, + {"value": "post"}, + {"value": "put"}, + {"value": "trace"}, + {"value": "connect", "v_range": [["v7.2.0", ""]]}, + {"value": "other"}, ], "multiple_values": True, "elements": "str", }, "response_req_hdr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "respmod_default_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "forward"}, {"value": "bypass"}], }, "icap_block_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "chunk_encap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "extension_feature": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "list", - "options": [ - { - "value": "scan-progress", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - } - ], + "options": [{"value": "scan-progress"}], "multiple_values": True, "elements": "str", }, - "scan_progress_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "scan_progress_interval": {"v_range": [["v7.0.2", ""]], "type": "integer"}, + "timeout": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "icap_headers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "content": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "content": {"v_range": [["v6.2.0", ""]], "type": "string"}, "base64_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "respmod_forward_rules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "host": {"v_range": [["v6.4.0", ""]], "type": "string"}, "header_group": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "header_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "header_name": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "header": {"v_range": [["v6.4.0", ""]], "type": "string"}, "case_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "forward"}, {"value": "bypass"}], }, "http_resp_status_code": { "type": "list", "elements": "dict", "children": { "code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "size_limit_204": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "v_range": [["v6.4.0", ""]], }, + "size_limit_204": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "response_204": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3017,6 +919,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server.py index e8eab67fe..905bd3464 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -154,35 +154,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure ICAP servers. - fortios_icap_server: - vdom: "{{ vdom }}" +- name: Configure ICAP servers. + fortinet.fortios.fortios_icap_server: + vdom: "{{ vdom }}" state: "present" access_token: "" icap_server: - addr_type: "ip4" - fqdn: "" - healthcheck: "disable" - healthcheck_service: "" - ip_address: "" - ip_version: "4" - ip6_address: "" - max_connections: "100" - name: "default_name_11" - port: "1344" - secure: "disable" - ssl_cert: " (source certificate.ca.name)" - + addr_type: "ip4" + fqdn: "" + healthcheck: "disable" + healthcheck_service: "" + ip_address: "" + ip_version: "4" + ip6_address: "" + max_connections: "100" + name: "default_name_11" + port: "1344" + secure: "disable" + ssl_cert: " (source certificate.ca.name)" """ RETURN = """ @@ -241,7 +230,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -269,6 +257,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_icap_server_data(json): @@ -311,7 +302,6 @@ def underscore_to_hyphen(data): def icap_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -345,11 +335,16 @@ def icap_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -397,13 +392,12 @@ def is_successful_status(resp): def fortios_icap(data, fos, check_mode): - fos.do_member_operation("icap", "server") if data["icap_server"]: resp = icap_server(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("icap_server")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -418,521 +412,36 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "ip4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ip6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "ip4"}, {"value": "ip6"}, {"value": "fqdn"}], }, - "fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ip_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fqdn": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_connections": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "ssl_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ssl_cert": {"v_range": [["v7.0.0", ""]], "type": "string"}, "healthcheck": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "healthcheck_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "healthcheck_service": {"v_range": [["v7.2.0", ""]], "type": "string"}, "ip_version": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "4", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "4"}, {"value": "6"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -967,6 +476,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server_group.py index 062f27572..4d55bacf1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_icap_server_group.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -120,29 +120,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure an ICAP server group consisting of multiple forward servers. Supports failover and load balancing. - fortios_icap_server_group: - vdom: "{{ vdom }}" +- name: Configure an ICAP server group consisting of multiple forward servers. Supports failover and load balancing. + fortinet.fortios.fortios_icap_server_group: + vdom: "{{ vdom }}" state: "present" access_token: "" icap_server_group: - ldb_method: "weighted" - name: "default_name_4" - server_list: - - - name: "default_name_6 (source icap.server.name)" - weight: "10" - + ldb_method: "weighted" + name: "default_name_4" + server_list: + - + name: "default_name_6 (source icap.server.name)" + weight: "10" """ RETURN = """ @@ -201,7 +190,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -283,7 +271,6 @@ def is_successful_status(resp): def fortios_icap(data, fos): - fos.do_member_operation("icap", "server-group") if data["icap_server_group"]: resp = icap_server_group(data, fos) @@ -303,57 +290,14 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.2.0", ""]], "type": "string", "required": True}, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "least-session", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "active-passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "weighted"}, + {"value": "least-session"}, + {"value": "active-passive"}, ], }, "server_list": { @@ -361,43 +305,16 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, + "weight": {"v_range": [["v7.2.0", ""]], "type": "integer"}, }, + "v_range": [["v7.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], } @@ -432,6 +349,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_custom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_custom.py index 721c2ecfd..85dea7158 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_custom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_custom.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -163,37 +163,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS custom signature. - fortios_ips_custom: - vdom: "{{ vdom }}" +- name: Configure IPS custom signature. + fortinet.fortios.fortios_ips_custom: + vdom: "{{ vdom }}" state: "present" access_token: "" ips_custom: - action: "pass" - application: "" - comment: "Comment." - location: "" - log: "disable" - log_packet: "disable" - os: "" - protocol: "" - rule_id: "0" - severity: "" - sig_name: "" - signature: "" - status: "disable" - tag: "" - + action: "pass" + application: "" + comment: "Comment." + location: "" + log: "disable" + log_packet: "disable" + os: "" + protocol: "" + rule_id: "0" + severity: "" + sig_name: "" + signature: "" + status: "disable" + tag: "" """ RETURN = """ @@ -252,7 +241,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -280,6 +268,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_ips_custom_data(json): @@ -355,7 +346,6 @@ def underscore_to_hyphen(data): def ips_custom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -390,11 +380,16 @@ def ips_custom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -442,13 +437,12 @@ def is_successful_status(resp): def fortios_ips(data, fos, check_mode): - fos.do_member_operation("ips", "custom") if data["ips_custom"]: resp = ips_custom(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("ips_custom")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -463,660 +457,59 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "signature": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "tag": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "signature": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "severity": {"v_range": [["v6.0.0", ""]], "type": "string"}, "location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "os": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "application": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_packet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "pass"}, {"value": "block"}], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "sig_name": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1151,6 +544,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_decoder.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_decoder.py index 5b5f32b83..07ff2219b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_decoder.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_decoder.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS decoder. - fortios_ips_decoder: - vdom: "{{ vdom }}" +- name: Configure IPS decoder. + fortinet.fortios.fortios_ips_decoder: + vdom: "{{ vdom }}" state: "present" access_token: "" ips_decoder: - name: "default_name_3" - parameter: - - - name: "default_name_5" - value: "" - + name: "default_name_3" + parameter: + - + name: "default_name_5" + value: "" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +207,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_ips_decoder_data(json): @@ -248,7 +239,6 @@ def underscore_to_hyphen(data): def ips_decoder(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -282,11 +272,16 @@ def ips_decoder(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -334,13 +329,12 @@ def is_successful_status(resp): def fortios_ips(data, fos, check_mode): - fos.do_member_operation("ips", "decoder") if data["ips_decoder"]: resp = ips_decoder(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("ips_decoder")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -356,25 +350,7 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, @@ -383,91 +359,19 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "value": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -502,6 +406,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_global.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_global.py index 0c0dc82c8..dfb46e8db 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_global.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_global.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,6 +122,7 @@ options: type: str choices: - 'none' + - 'ot' - 'industrial' fail_open: description: @@ -221,45 +222,34 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS global parameter. - fortios_ips_global: - vdom: "{{ vdom }}" +- name: Configure IPS global parameter. + fortinet.fortios.fortios_ips_global: + vdom: "{{ vdom }}" ips_global: - anomaly_mode: "periodical" - cp_accel_mode: "none" - database: "regular" - deep_app_insp_db_limit: "0" - deep_app_insp_timeout: "0" - engine_count: "0" - exclude_signatures: "none" - fail_open: "enable" - intelligent_mode: "enable" - ips_reserve_cpu: "disable" - ngfw_max_scan_range: "4096" - np_accel_mode: "none" - packet_log_queue_depth: "128" - session_limit_mode: "accurate" - skype_client_public_ipaddr: "" - socket_size: "256" - sync_session_ttl: "enable" - tls_active_probe: - interface: " (source system.interface.name)" - interface_select_method: "auto" - source_ip: "84.230.14.43" - source_ip6: "" - vdom: " (source system.vdom.name)" - traffic_submit: "enable" - + anomaly_mode: "periodical" + cp_accel_mode: "none" + database: "regular" + deep_app_insp_db_limit: "0" + deep_app_insp_timeout: "0" + engine_count: "0" + exclude_signatures: "none" + fail_open: "enable" + intelligent_mode: "enable" + ips_reserve_cpu: "disable" + ngfw_max_scan_range: "4096" + np_accel_mode: "none" + packet_log_queue_depth: "128" + session_limit_mode: "accurate" + skype_client_public_ipaddr: "" + socket_size: "256" + sync_session_ttl: "enable" + tls_active_probe: + interface: " (source system.interface.name)" + interface_select_method: "auto" + source_ip: "84.230.14.43" + source_ip6: "" + vdom: " (source system.vdom.name)" + traffic_submit: "enable" """ RETURN = """ @@ -318,7 +308,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -409,7 +398,6 @@ def is_successful_status(resp): def fortios_ips(data, fos): - fos.do_member_operation("ips", "global") if data["ips_global"]: resp = ips_global(data, fos) @@ -426,1337 +414,107 @@ def fortios_ips(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "fail_open": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "database": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "regular"}, {"value": "extended"}], }, "traffic_submit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "periodical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "continuous", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "periodical"}, {"value": "continuous"}], }, "session_limit_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accurate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heuristic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "socket_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "engine_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "accurate"}, {"value": "heuristic"}], }, + "socket_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "engine_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "sync_session_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "deep_app_insp_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "deep_app_insp_db_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "deep_app_insp_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "deep_app_insp_db_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "exclude_signatures": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "industrial", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "ot", "v_range": [["v7.4.1", ""]]}, + {"value": "industrial", "v_range": [["v6.0.0", "v7.4.0"]]}, ], }, - "packet_log_queue_depth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "ngfw_max_scan_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "packet_log_queue_depth": {"v_range": [["v6.2.7", ""]], "type": "integer"}, + "ngfw_max_scan_range": {"v_range": [["v6.4.4", ""]], "type": "integer"}, "tls_active_probe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "dict", "children": { "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, - }, + {"value": "auto"}, + {"value": "sdwan"}, + {"value": "specify"}, ], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "string", }, "vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "string", }, "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "string", }, "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "string", }, }, }, "np_accel_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "basic", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "basic"}], }, "ips_reserve_cpu": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "cp_accel_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "basic", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "advanced", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "basic"}, {"value": "advanced"}], }, "intelligent_mode": { - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "skype_client_public_ipaddr": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, }, @@ -1793,6 +551,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule.py index 379a2691c..dba44c177 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -134,7 +134,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int metaid: @@ -180,42 +180,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS rules. - fortios_ips_rule: - vdom: "{{ vdom }}" +- name: Configure IPS rules. + fortinet.fortios.fortios_ips_rule: + vdom: "{{ vdom }}" state: "present" access_token: "" ips_rule: - action: "pass" - application: "" - date: "0" - group: "" - location: "" - log: "disable" - log_packet: "disable" - metadata: - - - id: "11" - metaid: "0" - valueid: "0" - name: "default_name_14" - os: "" - rev: "0" - rule_id: "0" - service: "" - severity: "" - status: "disable" - + action: "pass" + application: "" + date: "0" + group: "" + location: "" + log: "disable" + log_packet: "disable" + metadata: + - + id: "11" + metaid: "0" + valueid: "0" + name: "default_name_14" + os: "" + rev: "0" + rule_id: "0" + service: "" + severity: "" + status: "disable" """ RETURN = """ @@ -274,7 +263,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -302,6 +290,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_ips_rule_data(json): @@ -376,7 +367,6 @@ def underscore_to_hyphen(data): def ips_rule(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -411,11 +401,16 @@ def ips_rule(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -463,13 +458,12 @@ def is_successful_status(resp): def fortios_ips(data, fos, check_mode): - fos.do_member_operation("ips", "rule") if data["ips_rule"]: resp = ips_rule(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("ips_rule")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -485,498 +479,66 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_packet": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "block"}], }, "group": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "severity": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "location": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "list", "multiple_values": True, "elements": "str", }, "os": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "application": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "service": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "rule_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "rev": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "date": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "metadata": { @@ -984,113 +546,23 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "metaid": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "valueid": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -1120,6 +592,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule_settings.py index 80e85179d..833997f50 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_rule_settings.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,30 +92,19 @@ options: suboptions: id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS rule setting. - fortios_ips_rule_settings: - vdom: "{{ vdom }}" +- name: Configure IPS rule setting. + fortinet.fortios.fortios_ips_rule_settings: + vdom: "{{ vdom }}" state: "present" access_token: "" ips_rule_settings: - id: "3" - + id: "3" """ RETURN = """ @@ -172,7 +163,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -200,6 +190,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_ips_rule_settings_data(json): @@ -229,7 +222,6 @@ def underscore_to_hyphen(data): def ips_rule_settings(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -265,11 +257,16 @@ def ips_rule_settings(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -317,13 +314,12 @@ def is_successful_status(resp): def fortios_ips(data, fos, check_mode): - fos.do_member_operation("ips", "rule-settings") if data["ips_rule_settings"]: resp = ips_rule_settings(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("ips_rule_settings")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -339,48 +335,12 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -415,6 +375,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_sensor.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_sensor.py index 92d6fa2da..6327156b8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_sensor.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_sensor.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -158,7 +158,7 @@ options: type: str id: description: - - Exempt IP ID. + - Exempt IP ID. see Notes. required: true type: int src_ip: @@ -167,7 +167,7 @@ options: type: str id: description: - - Rule ID in IPS database (0 - 4294967295). + - Rule ID in IPS database (0 - 4294967295). see Notes. required: true type: int last_modified: @@ -262,7 +262,7 @@ options: suboptions: id: description: - - Rule IPS. + - Rule IPS. see Notes. required: true type: int severity: @@ -286,7 +286,7 @@ options: suboptions: id: description: - - Vulnerability type ID. + - Vulnerability type ID. see Notes. required: true type: int extended_log: @@ -407,7 +407,7 @@ options: type: str id: description: - - Exempt IP ID. + - Exempt IP ID. see Notes. required: true type: int src_ip: @@ -448,7 +448,7 @@ options: - 'enable' rule_id: description: - - Override rule ID. + - Override rule ID. see Notes. required: true type: int status: @@ -473,96 +473,85 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS sensor. - fortios_ips_sensor: - vdom: "{{ vdom }}" +- name: Configure IPS sensor. + fortinet.fortios.fortios_ips_sensor: + vdom: "{{ vdom }}" state: "present" access_token: "" ips_sensor: - block_malicious_url: "disable" - comment: "Comment." - entries: - - - action: "pass" - application: "" - cve: - - - cve_entry: "" - default_action: "all" - default_status: "all" - exempt_ip: - - - dst_ip: "" - id: "14" - src_ip: "" - id: "16" - last_modified: "" - location: "" - log: "disable" - log_attack_context: "disable" - log_packet: "disable" - os: "" - protocol: "" - quarantine: "none" - quarantine_expiry: "" - quarantine_log: "disable" - rate_count: "0" - rate_duration: "60" - rate_mode: "periodical" - rate_track: "none" - rule: - - - id: "32" - severity: "" - status: "disable" - vuln_type: - - - id: "36" - extended_log: "enable" - filter: - - - action: "pass" - application: "" - location: "" - log: "disable" - log_packet: "disable" - name: "default_name_44" - os: "" - protocol: "" - quarantine: "none" - quarantine_expiry: "1073741823" - quarantine_log: "disable" - severity: "" - status: "disable" - name: "default_name_52" - override: - - - action: "pass" - exempt_ip: - - - dst_ip: "" - id: "57" - src_ip: "" - log: "disable" - log_packet: "disable" - quarantine: "none" - quarantine_expiry: "1073741823" - quarantine_log: "disable" - rule_id: "2147483647" - status: "disable" - replacemsg_group: " (source system.replacemsg-group.name)" - scan_botnet_connections: "disable" - + block_malicious_url: "disable" + comment: "Comment." + entries: + - + action: "pass" + application: "" + cve: + - + cve_entry: "" + default_action: "all" + default_status: "all" + exempt_ip: + - + dst_ip: "" + id: "14" + src_ip: "" + id: "16" + last_modified: "" + location: "" + log: "disable" + log_attack_context: "disable" + log_packet: "disable" + os: "" + protocol: "" + quarantine: "none" + quarantine_expiry: "" + quarantine_log: "disable" + rate_count: "0" + rate_duration: "60" + rate_mode: "periodical" + rate_track: "none" + rule: + - + id: "32" + severity: "" + status: "disable" + vuln_type: + - + id: "36" + extended_log: "enable" + filter: + - + action: "pass" + application: "" + location: "" + log: "disable" + log_packet: "disable" + name: "default_name_44" + os: "" + protocol: "" + quarantine: "none" + quarantine_expiry: "1073741823" + quarantine_log: "disable" + severity: "" + status: "disable" + name: "default_name_52" + override: + - + action: "pass" + exempt_ip: + - + dst_ip: "" + id: "57" + src_ip: "" + log: "disable" + log_packet: "disable" + quarantine: "none" + quarantine_expiry: "1073741823" + quarantine_log: "disable" + rule_id: "" + status: "disable" + replacemsg_group: " (source system.replacemsg-group.name)" + scan_botnet_connections: "disable" """ RETURN = """ @@ -621,7 +610,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -649,6 +637,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_ips_sensor_data(json): @@ -721,7 +712,6 @@ def underscore_to_hyphen(data): def ips_sensor(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -756,11 +746,16 @@ def ips_sensor(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -808,13 +803,12 @@ def is_successful_status(resp): def fortios_ips(data, fos, check_mode): - fos.do_member_operation("ips", "sensor") if data["ips_sensor"]: resp = ips_sensor(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("ips_sensor")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -829,412 +823,30 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "replacemsg_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "block_malicious_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "scan_botnet_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "block"}, {"value": "monitor"}], }, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, @@ -1243,338 +855,59 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "os": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "application": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "default_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "all"}, + {"value": "pass"}, + {"value": "block"}, ], }, "default_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "all"}, + {"value": "enable"}, + {"value": "disable"}, ], }, "cve": { @@ -1582,980 +915,76 @@ versioned_schema = { "elements": "dict", "children": { "cve_entry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "vuln_type": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "last_modified": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v7.2.0", ""]], }, + "last_modified": {"v_range": [["v7.2.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "default"}, ], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_packet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_attack_context": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reset", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "reset"}, + {"value": "default"}, ], }, - "rate_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "rate_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "rate_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "rate_duration": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "rate_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "periodical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "continuous", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "periodical"}, {"value": "continuous"}], }, "rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp-client-mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-domain", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, + {"value": "dhcp-client-mac"}, + {"value": "dns-domain"}, ], }, "exempt_ip": { @@ -2563,1136 +992,176 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "src_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "src_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attacker", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "quarantine_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "attacker"}], }, + "quarantine_expiry": {"v_range": [["v6.0.0", ""]], "type": "string"}, "quarantine_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "filter": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "location": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "severity": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "protocol": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "os": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "application": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "status": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "default"}, ], }, "log": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_packet": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reset", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "reset"}, + {"value": "default"}, ], }, "quarantine": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attacker", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "attacker"}], }, "quarantine_expiry": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "quarantine_log": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, "override": { "type": "list", "elements": "dict", "children": { "rule_id": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_packet": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "action": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reset", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "reset"}, ], }, "quarantine": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attacker", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "attacker"}], }, "quarantine_expiry": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "quarantine_log": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "exempt_ip": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", "required": True, }, "src_ip": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "dst_ip": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, }, - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, }, - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3727,6 +1196,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_settings.py index 16e7f0396..ee1f86b2f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -99,25 +99,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS VDOM parameter. - fortios_ips_settings: - vdom: "{{ vdom }}" +- name: Configure IPS VDOM parameter. + fortinet.fortios.fortios_ips_settings: + vdom: "{{ vdom }}" ips_settings: - ips_packet_quota: "0" - packet_log_history: "1" - packet_log_memory: "256" - packet_log_post_attack: "0" - + ips_packet_quota: "0" + packet_log_history: "1" + packet_log_memory: "256" + packet_log_post_attack: "0" """ RETURN = """ @@ -176,7 +165,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -252,7 +240,6 @@ def is_successful_status(resp): def fortios_ips(data, fos): - fos.do_member_operation("ips", "settings") if data["ips_settings"]: resp = ips_settings(data, fos) @@ -269,150 +256,13 @@ def fortios_ips(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "packet_log_history": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "packet_log_post_attack": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "packet_log_memory": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ips_packet_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "packet_log_history": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "packet_log_post_attack": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "packet_log_memory": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ips_packet_quota": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -447,6 +297,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_view_map.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_view_map.py index 9a523f3fd..dd1460ee9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_view_map.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ips_view_map.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - View ID. + - View ID. see Notes. required: true type: int id_policy_id: @@ -120,28 +122,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS view-map. - fortios_ips_view_map: - vdom: "{{ vdom }}" +- name: Configure IPS view-map. + fortinet.fortios.fortios_ips_view_map: + vdom: "{{ vdom }}" state: "present" access_token: "" ips_view_map: - id: "3" - id_policy_id: "0" - policy_id: "0" - vdom_id: "0" - which: "firewall" - + id: "3" + id_policy_id: "0" + policy_id: "0" + vdom_id: "0" + which: "firewall" """ RETURN = """ @@ -200,7 +191,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -228,6 +218,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_ips_view_map_data(json): @@ -257,7 +250,6 @@ def underscore_to_hyphen(data): def ips_view_map(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -291,11 +283,16 @@ def ips_view_map(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +340,12 @@ def is_successful_status(resp): def fortios_ips(data, fos, check_mode): - fos.do_member_operation("ips", "view-map") if data["ips_view_map"]: resp = ips_view_map(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("ips_view_map")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,226 +361,60 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", "required": True, }, "vdom_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", }, "policy_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", }, "id_policy_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "integer", }, "which": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", "options": [ - { - "value": "firewall", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "interface", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "interface6", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sniffer", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sniffer6", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "explicit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "firewall"}, + {"value": "interface"}, + {"value": "interface6"}, + {"value": "sniffer"}, + {"value": "sniffer6"}, + {"value": "explicit"}, { "value": "firewall6", - "revisions": {"v6.2.7": True, "v6.2.5": True, "v6.2.0": True}, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], }, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -619,6 +449,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_json_generic.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_json_generic.py index 55cecabea..5733b3b65 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_json_generic.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_json_generic.py @@ -88,136 +88,70 @@ options: ''' EXAMPLES = ''' ---- -# host -# [fortigates] -# fortigate01 ansible_host=192.168.52.177 ansible_user="admin" ansible_password="admin" - -# [fortigates:vars] -# ansible_network_os=fortinet.fortios.fortios - -# sample1.yml -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - - tasks: - - name: test add with string - fortios_json_generic: - vdom: "{{ vdom }}" +- name: add firewall address + fortinet.fortios.fortios_json_generic: + vdom: "root" json_generic: - method: "POST" - path: "/api/v2/cmdb/firewall/address" - jsonbody: | - { - "name": "111", - "type": "geography", - "fqdn": "", - "country": "AL", - "comment": "ccc", - "visibility": "enable", - "associated-interface": "port1", - "allow-routing": "disable" - } - register: info - - - name: display vars - debug: msg="{{info}}" - -# sample2.yml -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - - tasks: - - name: test delete - fortios_json_generic: - vdom: "{{ vdom }}" + method: "POST" + path: "/api/v2/cmdb/firewall/address" + jsonbody: | + { + "name": "111", + "type": "geography", + "fqdn": "", + "country": "AL", + "comment": "ccc", + "visibility": "enable", + "associated-interface": "port1", + "allow-routing": "disable" + } + register: info + +- name: display vars + debug: msg="{{info}}" + +- name: delete firewall address + fortinet.fortios.fortios_json_generic: + vdom: "root" json_generic: - method: "DELETE" - path: "/api/v2/cmdb/firewall/address/111" - register: info + method: "DELETE" + path: "/api/v2/cmdb/firewall/address/111" + register: info - - name: display vars - debug: msg="{{info}}" +- name: display vars + debug: msg="{{info}}" - - name: test add with dict - fortios_json_generic: - vdom: "{{ vdom }}" +- name: test add with dict + fortinet.fortios.fortios_json_generic: + vdom: "root" json_generic: - method: "POST" - path: "/api/v2/cmdb/firewall/address" - dictbody: - name: "111" - type: "geography" - fqdn: "" - country: "AL" - comment: "ccc" - visibility: "enable" - associated-interface: "port1" - allow-routing: "disable" - register: info - - - name: display vars - debug: msg="{{info}}" - - - name: test delete - fortios_json_generic: - vdom: "{{ vdom }}" + method: "POST" + path: "/api/v2/cmdb/firewall/address" + dictbody: + name: "111" + type: "geography" + fqdn: "" + country: "AL" + comment: "it's a test" + visibility: "enable" + associated-interface: "port1" + allow-routing: "disable" + register: info + +- name: display vars + debug: msg="{{info}}" + +- name: test speical params + fortinet.fortios.fortios_json_generic: + vdom: "root" json_generic: - method: "DELETE" - path: "/api/v2/cmdb/firewall/address/111" - register: info - - - name: display vars - debug: msg="{{info}}" - - - name: test add with string - fortios_json_generic: - vdom: "{{ vdom }}" - json_generic: - method: "POST" - path: "/api/v2/cmdb/firewall/address" - jsonbody: | - { - "name": "111", - "type": "geography", - "fqdn": "", - "country": "AL", - "comment": "ccc", - "visibility": "enable", - "associated-interface": "port1", - "allow-routing": "disable" - } - register: info - - - name: display vars - debug: msg="{{info}}" - - - name: test speical params - fortios_json_generic: - vdom: "{{ vdom }}" - json_generic: - method: "PUT" - path: "/api/v2/cmdb/firewall/policy/1" - specialparams: "action=move&after=2" - register: info - - - name: display vars - debug: msg="{{info}}" + method: "PUT" + path: "/api/v2/cmdb/firewall/policy/1" + specialparams: "action=move&after=2" + register: info +- name: display vars + debug: msg="{{info}}" ''' RETURN = ''' @@ -362,6 +296,10 @@ def main(): supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + if module._socket_path: connection = Connection(module._socket_path) if 'access_token' in module.params: diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_custom_field.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_custom_field.py index 6c1828df2..f0c480c6c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_custom_field.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_custom_field.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure custom log fields. - fortios_log_custom_field: - vdom: "{{ vdom }}" +- name: Configure custom log fields. + fortinet.fortios.fortios_log_custom_field: + vdom: "{{ vdom }}" state: "present" access_token: "" log_custom_field: - id: "3" - name: "default_name_4" - value: "" - + id: "3" + name: "default_name_4" + value: "" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -210,6 +198,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_log_custom_field_data(json): @@ -239,7 +230,6 @@ def underscore_to_hyphen(data): def log_custom_field(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -275,11 +265,16 @@ def log_custom_field(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -327,13 +322,12 @@ def is_successful_status(resp): def fortios_log(data, fos, check_mode): - fos.do_member_operation("log", "custom-field") if data["log_custom_field"]: resp = log_custom_field(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("log_custom_field")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -348,121 +342,11 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -497,6 +381,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_filter.py index 02b0ca4b7..8dd65297b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_filter.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -183,6 +183,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -197,7 +198,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -371,62 +372,51 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type. - fortios_log_disk_filter: - vdom: "{{ vdom }}" +- name: Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type. + fortinet.fortios.fortios_log_disk_filter: + vdom: "{{ vdom }}" log_disk_filter: - admin: "enable" - anomaly: "enable" - auth: "enable" - cpu_memory_usage: "enable" - dhcp: "enable" - dlp_archive: "enable" - dns: "enable" - event: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "18" - gtp: "enable" - ha: "enable" - ipsec: "enable" - ldb_monitor: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - notification: "enable" - pattern: "enable" - ppp: "enable" - radius: "enable" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - sslvpn_log_adm: "enable" - sslvpn_log_auth: "enable" - sslvpn_log_session: "enable" - system: "enable" - vip_ssl: "enable" - voip: "enable" - wan_opt: "enable" - wireless_activity: "enable" - ztna_traffic: "enable" - + admin: "enable" + anomaly: "enable" + auth: "enable" + cpu_memory_usage: "enable" + dhcp: "enable" + dlp_archive: "enable" + dns: "enable" + event: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "18" + gtp: "enable" + ha: "enable" + ipsec: "enable" + ldb_monitor: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + notification: "enable" + pattern: "enable" + ppp: "enable" + radius: "enable" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + sslvpn_log_adm: "enable" + sslvpn_log_auth: "enable" + sslvpn_log_session: "enable" + system: "enable" + vip_ssl: "enable" + voip: "enable" + wan_opt: "enable" + wireless_activity: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -485,7 +475,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -595,7 +584,6 @@ def is_successful_status(resp): def fortios_log_disk(data, fos): - fos.do_member_operation("log.disk", "filter") if data["log_disk_filter"]: resp = log_disk_filter(data, fos) @@ -612,2372 +600,223 @@ def fortios_log_disk(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "event": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "system": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "notification": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "radius": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipsec": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ppp": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "admin": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ha": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pattern": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_log_auth": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_log_adm": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_log_session": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vip_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ldb_monitor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wan_opt": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wireless_activity": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cpu_memory_usage": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -3013,6 +852,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_setting.py index 979bdd78b..e23fba23e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_disk_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -257,6 +257,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' - 'cifs' - 'spamfilter' @@ -268,51 +269,40 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for local disk logging. - fortios_log_disk_setting: - vdom: "{{ vdom }}" +- name: Settings for local disk logging. + fortinet.fortios.fortios_log_disk_setting: + vdom: "{{ vdom }}" log_disk_setting: - diskfull: "overwrite" - dlp_archive_quota: "0" - full_final_warning_threshold: "95" - full_first_warning_threshold: "75" - full_second_warning_threshold: "90" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - log_quota: "0" - max_log_file_size: "20" - max_policy_packet_capture_size: "100" - maximum_log_age: "7" - report_quota: "0" - roll_day: "sunday" - roll_schedule: "daily" - roll_time: "" - source_ip: "84.230.14.43" - status: "enable" - upload: "enable" - upload_delete_files: "enable" - upload_destination: "ftp-server" - upload_ssl_conn: "default" - uploaddir: "" - uploadip: "" - uploadpass: "" - uploadport: "21" - uploadsched: "disable" - uploadtime: "" - uploadtype: "traffic" - uploaduser: "" - + diskfull: "overwrite" + dlp_archive_quota: "0" + full_final_warning_threshold: "95" + full_first_warning_threshold: "75" + full_second_warning_threshold: "90" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + log_quota: "0" + max_log_file_size: "20" + max_policy_packet_capture_size: "100" + maximum_log_age: "7" + report_quota: "0" + roll_day: "sunday" + roll_schedule: "daily" + roll_time: "" + source_ip: "84.230.14.43" + status: "enable" + upload: "enable" + upload_delete_files: "enable" + upload_destination: "ftp-server" + upload_ssl_conn: "default" + uploaddir: "" + uploadip: "" + uploadpass: "" + uploadport: "21" + uploadsched: "disable" + uploadtime: "" + uploadtype: "traffic" + uploaduser: "" """ RETURN = """ @@ -371,7 +361,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -506,7 +495,6 @@ def is_successful_status(resp): def fortios_log_disk(data, fos): - fos.do_member_operation("log.disk", "setting") if data["log_disk_setting"]: resp = log_disk_setting(data, fos) @@ -523,2311 +511,141 @@ def fortios_log_disk(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "max_log_file_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "max_log_file_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "max_policy_packet_capture_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "roll_schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "daily"}, {"value": "weekly"}], }, "roll_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], "multiple_values": True, "elements": "str", }, - "roll_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "roll_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "diskfull": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "overwrite", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nolog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "log_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dlp_archive_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "report_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "maximum_log_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "overwrite"}, {"value": "nolog"}], }, + "log_quota": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dlp_archive_quota": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "report_quota": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "maximum_log_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "upload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "upload_destination": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "ftp-server", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], - }, - "uploadip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "uploadport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "uploaduser": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "uploadpass": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - }, - "uploaddir": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "options": [{"value": "ftp-server"}], + }, + "uploadip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "uploadport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "uploaduser": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "uploadpass": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "uploaddir": {"v_range": [["v6.0.0", ""]], "type": "string"}, "uploadtype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IPS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "emailfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "dlp-archive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "cifs", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "spamfilter", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "netscan", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "IPS"}, + {"value": "emailfilter", "v_range": [["v6.2.0", ""]]}, + {"value": "dlp-archive"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh", "v_range": [["v6.2.0", ""]]}, + {"value": "ssl", "v_range": [["v6.2.0", ""]]}, + {"value": "file-filter", "v_range": [["v6.2.0", ""]]}, + {"value": "icap", "v_range": [["v6.4.0", ""]]}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, + {"value": "cifs", "v_range": [["v6.2.0", "v6.4.4"]]}, + {"value": "spamfilter", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "netscan", "v_range": [["v6.0.0", "v6.0.11"]]}, ], "multiple_values": True, "elements": "str", }, "uploadsched": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "uploadtime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "uploadtime": {"v_range": [["v6.0.0", ""]], "type": "string"}, "upload_delete_files": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "upload_ssl_conn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "full_first_warning_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "full_second_warning_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "full_final_warning_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, @@ -2864,6 +682,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_eventfilter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_eventfilter.py index c9a8e2300..5327dfac0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_eventfilter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_eventfilter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -209,39 +209,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure log event filters. - fortios_log_eventfilter: - vdom: "{{ vdom }}" +- name: Configure log event filters. + fortinet.fortios.fortios_log_eventfilter: + vdom: "{{ vdom }}" log_eventfilter: - cifs: "enable" - compliance_check: "enable" - connector: "enable" - endpoint: "enable" - event: "enable" - fortiextender: "enable" - ha: "enable" - rest_api: "enable" - router: "enable" - sdwan: "enable" - security_rating: "enable" - switch_controller: "enable" - system: "enable" - user: "enable" - vpn: "enable" - wan_opt: "enable" - webproxy: "enable" - wireless_activity: "enable" - + cifs: "enable" + compliance_check: "enable" + connector: "enable" + endpoint: "enable" + event: "enable" + fortiextender: "enable" + ha: "enable" + rest_api: "enable" + router: "enable" + sdwan: "enable" + security_rating: "enable" + switch_controller: "enable" + system: "enable" + user: "enable" + vpn: "enable" + wan_opt: "enable" + webproxy: "enable" + wireless_activity: "enable" """ RETURN = """ @@ -300,7 +289,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -392,7 +380,6 @@ def is_successful_status(resp): def fortios_log(data, fos): - fos.do_member_operation("log", "eventfilter") if data["log_eventfilter"]: resp = log_eventfilter(data, fos) @@ -409,1412 +396,98 @@ def fortios_log(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "event": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "system": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "router": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wireless_activity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wan_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "endpoint": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ha": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "security_rating": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiextender": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "connector": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cifs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rest_api": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webproxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "compliance_check": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -1850,6 +523,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fact.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fact.py index a714aff72..d069a1ad3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fact.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fact.py @@ -445,37 +445,14 @@ options: """ EXAMPLES = """ -- hosts: fortigate03 - connection: httpapi - collections: - - fortinet.fortios - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: get disk event user and memory event user at once. - fortios_log_fact: - enable_log: True - access_token: "" - selectors: - - selector: disk_event_user - filters: - - log_id==41000 - - selector: memory_event_user - - - name: Get system event log with logid==0100032038 - fortios_log_fact: - filters: - - logid==0100032038 - selector: "disk_event_system" - params: - rows: 100 - - - name: Get a description of the quarantined virus file - fortios_log_fact: - selector: "forticloud_virus_archive" +- name: get disk event user and memory event user at once. + fortinet.fortios.fortios_log_fact: + access_token: "you_own_value" + selectors: + - selector: disk_event_user + filters: + - log_id==41000 + - selector: memory_event_user """ RETURN = """ diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_filter.py index 4cb504338..2a1e904fc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for FortiAnalyzer. - fortios_log_fortianalyzer2_filter: - vdom: "{{ vdom }}" +- name: Filters for FortiAnalyzer. + fortinet.fortios.fortios_log_fortianalyzer2_filter: + vdom: "{{ vdom }}" log_fortianalyzer2_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -423,7 +412,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer2(data, fos): - fos.do_member_operation("log.fortianalyzer2", "filter") if data["log_fortianalyzer2_filter"]: resp = log_fortianalyzer2_filter(data, fos) @@ -442,1650 +430,128 @@ def fortios_log_fortianalyzer2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2123,6 +589,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_filter.py index 2e170b3f5..fd0afd893 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -215,39 +216,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for FortiAnalyzer. - fortios_log_fortianalyzer2_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for FortiAnalyzer. + fortinet.fortios.fortios_log_fortianalyzer2_override_filter: + vdom: "{{ vdom }}" log_fortianalyzer2_override_filter: - anomaly: "enable" - dlp_archive: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - severity: "emergency" - sniffer_traffic: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + severity: "emergency" + sniffer_traffic: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -306,7 +296,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -397,7 +386,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer2(data, fos): - fos.do_member_operation("log.fortianalyzer2", "override-filter") if data["log_fortianalyzer2_override_filter"]: resp = log_fortianalyzer2_override_filter(data, fos) @@ -416,1494 +404,116 @@ def fortios_log_fortianalyzer2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, } @@ -1941,6 +551,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_setting.py index b524bdf85..fa57164d2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,6 +91,10 @@ options: choices: - 'enable' - 'disable' + alt_server: + description: + - Alternate FortiAnalyzer. + type: str certificate: description: - Certificate used to communicate with FortiAnalyzer. Source certificate.local.name. @@ -114,6 +118,13 @@ options: - 'high-medium' - 'high' - 'low' + fallback_to_primary: + description: + - Enable/disable this FortiGate unit to fallback to the primary FortiAnalyzer when it is available. + type: str + choices: + - 'enable' + - 'disable' faz_type: description: - Hidden setting index of FortiAnalyzer. @@ -257,52 +268,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override FortiAnalyzer settings. - fortios_log_fortianalyzer2_override_setting: - vdom: "{{ vdom }}" +- name: Override FortiAnalyzer settings. + fortinet.fortios.fortios_log_fortianalyzer2_override_setting: + vdom: "{{ vdom }}" log_fortianalyzer2_override_setting: - __change_ip: "127" - access_config: "enable" - certificate: " (source certificate.local.name)" - certificate_verification: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - faz_type: "2147483647" - hmac_algorithm: "sha256" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - max_log_rate: "0" - mgmt_name: "" - monitor_failure_retry_period: "5" - monitor_keepalive_period: "5" - override: "enable" - preshared_key: "" - priority: "default" - reliable: "enable" - serial: - - - name: "default_name_23" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - use_management_vdom: "enable" - + __change_ip: "127" + access_config: "enable" + alt_server: "" + certificate: " (source certificate.local.name)" + certificate_verification: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + fallback_to_primary: "enable" + faz_type: "2147483647" + hmac_algorithm: "sha256" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + max_log_rate: "0" + mgmt_name: "" + monitor_failure_retry_period: "5" + monitor_keepalive_period: "5" + override: "enable" + preshared_key: "" + priority: "default" + reliable: "enable" + serial: + - + name: "default_name_25" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" + use_management_vdom: "enable" """ RETURN = """ @@ -361,7 +363,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -389,10 +390,12 @@ def filter_log_fortianalyzer2_override_setting_data(json): option_list = [ "__change_ip", "access_config", + "alt_server", "certificate", "certificate_verification", "conn_timeout", "enc_algorithm", + "fallback_to_primary", "faz_type", "hmac_algorithm", "interface", @@ -470,7 +473,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer2(data, fos): - fos.do_member_operation("log.fortianalyzer2", "override-setting") if data["log_fortianalyzer2_override_setting"]: resp = log_fortianalyzer2_override_setting(data, fos) @@ -489,1649 +491,132 @@ def fortios_log_fortianalyzer2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "use_management_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "alt_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "fallback_to_primary": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "certificate_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "serial": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - "preshared_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "preshared_key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hmac_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "sha256"}, + {"value": "sha1", "v_range": [["v6.2.0", "v7.4.0"]]}, ], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.2.0", ""]]}, ], }, - "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "monitor_keepalive_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "conn_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "monitor_keepalive_period": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "monitor_failure_retry_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.2.0", ""]], "type": "string"}, "reliable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "faz_type": {"revisions": {"v6.2.3": True, "v6.2.0": False}, "type": "integer"}, + "faz_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, "override": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.2.3": True}}, - {"value": "disable", "revisions": {"v6.2.3": True}}, - ], - }, - "mgmt_name": {"revisions": {"v6.2.3": True, "v6.2.0": False}, "type": "string"}, - "__change_ip": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mgmt_name": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "__change_ip": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2168,6 +653,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_setting.py index 1fdc2e973..49a856256 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer2_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,6 +91,10 @@ options: choices: - 'enable' - 'disable' + alt_server: + description: + - Alternate FortiAnalyzer. + type: str certificate: description: - Certificate used to communicate with FortiAnalyzer. Source certificate.local.name. @@ -114,6 +118,13 @@ options: - 'high-medium' - 'high' - 'low' + fallback_to_primary: + description: + - Enable/disable this FortiGate unit to fallback to the primary FortiAnalyzer when it is available. + type: str + choices: + - 'enable' + - 'disable' faz_type: description: - Hidden setting index of FortiAnalyzer. @@ -243,50 +254,41 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global FortiAnalyzer settings. - fortios_log_fortianalyzer2_setting: - vdom: "{{ vdom }}" +- name: Global FortiAnalyzer settings. + fortinet.fortios.fortios_log_fortianalyzer2_setting: + vdom: "{{ vdom }}" log_fortianalyzer2_setting: - __change_ip: "127" - access_config: "enable" - certificate: " (source certificate.local.name)" - certificate_verification: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - faz_type: "2147483647" - hmac_algorithm: "sha256" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - max_log_rate: "0" - mgmt_name: "" - monitor_failure_retry_period: "5" - monitor_keepalive_period: "5" - preshared_key: "" - priority: "default" - reliable: "enable" - serial: - - - name: "default_name_22" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - + __change_ip: "127" + access_config: "enable" + alt_server: "" + certificate: " (source certificate.local.name)" + certificate_verification: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + fallback_to_primary: "enable" + faz_type: "2147483647" + hmac_algorithm: "sha256" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + max_log_rate: "0" + mgmt_name: "" + monitor_failure_retry_period: "5" + monitor_keepalive_period: "5" + preshared_key: "" + priority: "default" + reliable: "enable" + serial: + - + name: "default_name_24" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" """ RETURN = """ @@ -345,7 +347,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -373,10 +374,12 @@ def filter_log_fortianalyzer2_setting_data(json): option_list = [ "__change_ip", "access_config", + "alt_server", "certificate", "certificate_verification", "conn_timeout", "enc_algorithm", + "fallback_to_primary", "faz_type", "hmac_algorithm", "interface", @@ -446,7 +449,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer2(data, fos): - fos.do_member_operation("log.fortianalyzer2", "setting") if data["log_fortianalyzer2_setting"]: resp = log_fortianalyzer2_setting(data, fos) @@ -465,1730 +467,129 @@ def fortios_log_fortianalyzer2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "alt_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "fallback_to_primary": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "certificate_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "serial": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "preshared_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "preshared_key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hmac_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sha256"}, + {"value": "sha1", "v_range": [["v6.0.0", "v7.4.0"]]}, ], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.2.0", ""]]}, ], }, - "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "monitor_keepalive_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "conn_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "monitor_keepalive_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor_failure_retry_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "reliable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "faz_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "mgmt_name": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "__change_ip": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, @@ -2227,6 +628,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_filter.py index 6e6228ae9..c57dd5685 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for FortiAnalyzer. - fortios_log_fortianalyzer3_filter: - vdom: "{{ vdom }}" +- name: Filters for FortiAnalyzer. + fortinet.fortios.fortios_log_fortianalyzer3_filter: + vdom: "{{ vdom }}" log_fortianalyzer3_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -423,7 +412,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer3(data, fos): - fos.do_member_operation("log.fortianalyzer3", "filter") if data["log_fortianalyzer3_filter"]: resp = log_fortianalyzer3_filter(data, fos) @@ -442,1650 +430,128 @@ def fortios_log_fortianalyzer3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2123,6 +589,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_filter.py index cf4e797f3..35edeeee7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -215,39 +216,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for FortiAnalyzer. - fortios_log_fortianalyzer3_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for FortiAnalyzer. + fortinet.fortios.fortios_log_fortianalyzer3_override_filter: + vdom: "{{ vdom }}" log_fortianalyzer3_override_filter: - anomaly: "enable" - dlp_archive: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - severity: "emergency" - sniffer_traffic: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + severity: "emergency" + sniffer_traffic: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -306,7 +296,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -397,7 +386,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer3(data, fos): - fos.do_member_operation("log.fortianalyzer3", "override-filter") if data["log_fortianalyzer3_override_filter"]: resp = log_fortianalyzer3_override_filter(data, fos) @@ -416,1494 +404,116 @@ def fortios_log_fortianalyzer3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, } @@ -1941,6 +551,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_setting.py index 252efb65d..d02478afd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,6 +91,10 @@ options: choices: - 'enable' - 'disable' + alt_server: + description: + - Alternate FortiAnalyzer. + type: str certificate: description: - Certificate used to communicate with FortiAnalyzer. Source certificate.local.name. @@ -114,6 +118,13 @@ options: - 'high-medium' - 'high' - 'low' + fallback_to_primary: + description: + - Enable/disable this FortiGate unit to fallback to the primary FortiAnalyzer when it is available. + type: str + choices: + - 'enable' + - 'disable' faz_type: description: - Hidden setting index of FortiAnalyzer. @@ -257,52 +268,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override FortiAnalyzer settings. - fortios_log_fortianalyzer3_override_setting: - vdom: "{{ vdom }}" +- name: Override FortiAnalyzer settings. + fortinet.fortios.fortios_log_fortianalyzer3_override_setting: + vdom: "{{ vdom }}" log_fortianalyzer3_override_setting: - __change_ip: "127" - access_config: "enable" - certificate: " (source certificate.local.name)" - certificate_verification: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - faz_type: "2147483647" - hmac_algorithm: "sha256" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - max_log_rate: "0" - mgmt_name: "" - monitor_failure_retry_period: "5" - monitor_keepalive_period: "5" - override: "enable" - preshared_key: "" - priority: "default" - reliable: "enable" - serial: - - - name: "default_name_23" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - use_management_vdom: "enable" - + __change_ip: "127" + access_config: "enable" + alt_server: "" + certificate: " (source certificate.local.name)" + certificate_verification: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + fallback_to_primary: "enable" + faz_type: "2147483647" + hmac_algorithm: "sha256" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + max_log_rate: "0" + mgmt_name: "" + monitor_failure_retry_period: "5" + monitor_keepalive_period: "5" + override: "enable" + preshared_key: "" + priority: "default" + reliable: "enable" + serial: + - + name: "default_name_25" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" + use_management_vdom: "enable" """ RETURN = """ @@ -361,7 +363,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -389,10 +390,12 @@ def filter_log_fortianalyzer3_override_setting_data(json): option_list = [ "__change_ip", "access_config", + "alt_server", "certificate", "certificate_verification", "conn_timeout", "enc_algorithm", + "fallback_to_primary", "faz_type", "hmac_algorithm", "interface", @@ -470,7 +473,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer3(data, fos): - fos.do_member_operation("log.fortianalyzer3", "override-setting") if data["log_fortianalyzer3_override_setting"]: resp = log_fortianalyzer3_override_setting(data, fos) @@ -489,1649 +491,132 @@ def fortios_log_fortianalyzer3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "use_management_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "alt_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "fallback_to_primary": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "certificate_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "serial": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - "preshared_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "preshared_key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hmac_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "sha256"}, + {"value": "sha1", "v_range": [["v6.2.0", "v7.4.0"]]}, ], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.2.0", ""]]}, ], }, - "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "monitor_keepalive_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "conn_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "monitor_keepalive_period": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "monitor_failure_retry_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.2.0", ""]], "type": "string"}, "reliable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "faz_type": {"revisions": {"v6.2.3": True, "v6.2.0": False}, "type": "integer"}, + "faz_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, "override": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.2.3": True}}, - {"value": "disable", "revisions": {"v6.2.3": True}}, - ], - }, - "mgmt_name": {"revisions": {"v6.2.3": True, "v6.2.0": False}, "type": "string"}, - "__change_ip": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mgmt_name": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "__change_ip": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2168,6 +653,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_setting.py index a07dd04f8..9ad3075c8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer3_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,6 +91,10 @@ options: choices: - 'enable' - 'disable' + alt_server: + description: + - Alternate FortiAnalyzer. + type: str certificate: description: - Certificate used to communicate with FortiAnalyzer. Source certificate.local.name. @@ -114,6 +118,13 @@ options: - 'high-medium' - 'high' - 'low' + fallback_to_primary: + description: + - Enable/disable this FortiGate unit to fallback to the primary FortiAnalyzer when it is available. + type: str + choices: + - 'enable' + - 'disable' faz_type: description: - Hidden setting index of FortiAnalyzer. @@ -243,50 +254,41 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global FortiAnalyzer settings. - fortios_log_fortianalyzer3_setting: - vdom: "{{ vdom }}" +- name: Global FortiAnalyzer settings. + fortinet.fortios.fortios_log_fortianalyzer3_setting: + vdom: "{{ vdom }}" log_fortianalyzer3_setting: - __change_ip: "127" - access_config: "enable" - certificate: " (source certificate.local.name)" - certificate_verification: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - faz_type: "2147483647" - hmac_algorithm: "sha256" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - max_log_rate: "0" - mgmt_name: "" - monitor_failure_retry_period: "5" - monitor_keepalive_period: "5" - preshared_key: "" - priority: "default" - reliable: "enable" - serial: - - - name: "default_name_22" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - + __change_ip: "127" + access_config: "enable" + alt_server: "" + certificate: " (source certificate.local.name)" + certificate_verification: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + fallback_to_primary: "enable" + faz_type: "2147483647" + hmac_algorithm: "sha256" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + max_log_rate: "0" + mgmt_name: "" + monitor_failure_retry_period: "5" + monitor_keepalive_period: "5" + preshared_key: "" + priority: "default" + reliable: "enable" + serial: + - + name: "default_name_24" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" """ RETURN = """ @@ -345,7 +347,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -373,10 +374,12 @@ def filter_log_fortianalyzer3_setting_data(json): option_list = [ "__change_ip", "access_config", + "alt_server", "certificate", "certificate_verification", "conn_timeout", "enc_algorithm", + "fallback_to_primary", "faz_type", "hmac_algorithm", "interface", @@ -446,7 +449,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer3(data, fos): - fos.do_member_operation("log.fortianalyzer3", "setting") if data["log_fortianalyzer3_setting"]: resp = log_fortianalyzer3_setting(data, fos) @@ -465,1730 +467,129 @@ def fortios_log_fortianalyzer3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "alt_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "fallback_to_primary": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "certificate_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "serial": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "preshared_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "preshared_key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hmac_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sha256"}, + {"value": "sha1", "v_range": [["v6.0.0", "v7.4.0"]]}, ], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.2.0", ""]]}, ], }, - "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "monitor_keepalive_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "conn_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "monitor_keepalive_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor_failure_retry_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "reliable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "faz_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "mgmt_name": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "__change_ip": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, @@ -2227,6 +628,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_filter.py index 7739284b2..51e23edca 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for FortiAnalyzer Cloud. - fortios_log_fortianalyzer_cloud_filter: - vdom: "{{ vdom }}" +- name: Filters for FortiAnalyzer Cloud. + fortinet.fortios.fortios_log_fortianalyzer_cloud_filter: + vdom: "{{ vdom }}" log_fortianalyzer_cloud_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -423,7 +412,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer_cloud(data, fos): - fos.do_member_operation("log.fortianalyzer-cloud", "filter") if data["log_fortianalyzer_cloud_filter"]: resp = log_fortianalyzer_cloud_filter(data, fos) @@ -442,1598 +430,137 @@ def fortios_log_fortianalyzer_cloud(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.4.4"]], "type": "string", }, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "netscan_discovery": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", }, "netscan_vulnerability": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", }, "dns": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - {"value": "disable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - {"value": "disable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2071,6 +598,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_filter.py index 371eab8d1..6e14e276f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for FortiAnalyzer Cloud. - fortios_log_fortianalyzer_cloud_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for FortiAnalyzer Cloud. + fortinet.fortios.fortios_log_fortianalyzer_cloud_override_filter: + vdom: "{{ vdom }}" log_fortianalyzer_cloud_override_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -429,7 +418,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer_cloud(data, fos): - fos.do_member_operation("log.fortianalyzer-cloud", "override-filter") if data["log_fortianalyzer_cloud_override_filter"]: resp = log_fortianalyzer_cloud_override_filter(data, fos) @@ -448,1598 +436,137 @@ def fortios_log_fortianalyzer_cloud(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.4.4"]], "type": "string", }, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "netscan_discovery": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", }, "netscan_vulnerability": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", }, "dns": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - {"value": "disable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.0.11"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - {"value": "disable", "revisions": {"v6.0.11": True, "v6.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2077,6 +604,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_setting.py index 4166d3c41..3f0d0bf4f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,24 +101,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override FortiAnalyzer Cloud settings. - fortios_log_fortianalyzer_cloud_override_setting: - vdom: "{{ vdom }}" +- name: Override FortiAnalyzer Cloud settings. + fortinet.fortios.fortios_log_fortianalyzer_cloud_override_setting: + vdom: "{{ vdom }}" log_fortianalyzer_cloud_override_setting: - faz_type: "2147483647" - override: "enable" - status: "enable" - + faz_type: "2147483647" + override: "enable" + status: "enable" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -256,7 +244,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer_cloud(data, fos): - fos.do_member_operation("log.fortianalyzer-cloud", "override-setting") if data["log_fortianalyzer_cloud_override_setting"]: resp = log_fortianalyzer_cloud_override_setting(data, fos) @@ -275,146 +262,30 @@ def fortios_log_fortianalyzer_cloud(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "faz_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ], "type": "integer", }, "override": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.2.3": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.2.3": True, "v6.0.11": True, "v6.0.0": True}, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v6.0.11"], + ["v6.2.3", "v6.2.3"], ], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -452,6 +323,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_setting.py index 121603f21..097126848 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_cloud_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -232,48 +232,37 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global FortiAnalyzer Cloud settings. - fortios_log_fortianalyzer_cloud_setting: - vdom: "{{ vdom }}" +- name: Global FortiAnalyzer Cloud settings. + fortinet.fortios.fortios_log_fortianalyzer_cloud_setting: + vdom: "{{ vdom }}" log_fortianalyzer_cloud_setting: - __change_ip: "127" - access_config: "enable" - certificate: " (source certificate.local.name)" - certificate_verification: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - faz_type: "2147483647" - hmac_algorithm: "sha256" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - max_log_rate: "0" - mgmt_name: "" - monitor_failure_retry_period: "5" - monitor_keepalive_period: "5" - preshared_key: "" - priority: "default" - serial: - - - name: "default_name_21" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - + __change_ip: "127" + access_config: "enable" + certificate: " (source certificate.local.name)" + certificate_verification: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + faz_type: "2147483647" + hmac_algorithm: "sha256" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + max_log_rate: "0" + mgmt_name: "" + monitor_failure_retry_period: "5" + monitor_keepalive_period: "5" + preshared_key: "" + priority: "default" + serial: + - + name: "default_name_21" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" """ RETURN = """ @@ -332,7 +321,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -433,7 +421,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer_cloud(data, fos): - fos.do_member_operation("log.fortianalyzer-cloud", "setting") if data["log_fortianalyzer_cloud_setting"]: resp = log_fortianalyzer_cloud_setting(data, fos) @@ -452,1531 +439,150 @@ def fortios_log_fortianalyzer_cloud(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "certificate_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "serial": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "preshared_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v7.0.4", ""]], }, + "preshared_key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hmac_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", "options": [ - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sha256"}, { "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v7.4.0"]], }, ], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.2.0", ""]]}, ], }, "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "integer", }, "monitor_keepalive_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "integer", }, "monitor_failure_retry_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "integer", }, "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", }, "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", }, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", }, "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "faz_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ], "type": "integer", }, "mgmt_name": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ], "type": "string", }, "__change_ip": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ], "type": "integer", }, }, @@ -2015,6 +621,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_filter.py index f7160b5af..f1c145d44 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for FortiAnalyzer. - fortios_log_fortianalyzer_filter: - vdom: "{{ vdom }}" +- name: Filters for FortiAnalyzer. + fortinet.fortios.fortios_log_fortianalyzer_filter: + vdom: "{{ vdom }}" log_fortianalyzer_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -423,7 +412,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer(data, fos): - fos.do_member_operation("log.fortianalyzer", "filter") if data["log_fortianalyzer_filter"]: resp = log_fortianalyzer_filter(data, fos) @@ -442,1650 +430,128 @@ def fortios_log_fortianalyzer(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2123,6 +589,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_filter.py index e9c602c5f..ebdb97d76 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for FortiAnalyzer. - fortios_log_fortianalyzer_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for FortiAnalyzer. + fortinet.fortios.fortios_log_fortianalyzer_override_filter: + vdom: "{{ vdom }}" log_fortianalyzer_override_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -427,7 +416,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer(data, fos): - fos.do_member_operation("log.fortianalyzer", "override-filter") if data["log_fortianalyzer_override_filter"]: resp = log_fortianalyzer_override_filter(data, fos) @@ -446,1650 +434,128 @@ def fortios_log_fortianalyzer(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dlp_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2127,6 +593,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_setting.py index 3a48363bd..2dd019c73 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,6 +91,10 @@ options: choices: - 'enable' - 'disable' + alt_server: + description: + - Alternate FortiAnalyzer. + type: str certificate: description: - Certificate used to communicate with FortiAnalyzer. Source certificate.local.name. @@ -114,6 +118,13 @@ options: - 'high-medium' - 'high' - 'low' + fallback_to_primary: + description: + - Enable/disable this FortiGate unit to fallback to the primary FortiAnalyzer when it is available. + type: str + choices: + - 'enable' + - 'disable' faz_type: description: - Hidden setting index of FortiAnalyzer. @@ -257,52 +268,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override FortiAnalyzer settings. - fortios_log_fortianalyzer_override_setting: - vdom: "{{ vdom }}" +- name: Override FortiAnalyzer settings. + fortinet.fortios.fortios_log_fortianalyzer_override_setting: + vdom: "{{ vdom }}" log_fortianalyzer_override_setting: - __change_ip: "127" - access_config: "enable" - certificate: " (source certificate.local.name)" - certificate_verification: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - faz_type: "2147483647" - hmac_algorithm: "sha256" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - max_log_rate: "0" - mgmt_name: "" - monitor_failure_retry_period: "5" - monitor_keepalive_period: "5" - override: "enable" - preshared_key: "" - priority: "default" - reliable: "enable" - serial: - - - name: "default_name_23" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - use_management_vdom: "enable" - + __change_ip: "127" + access_config: "enable" + alt_server: "" + certificate: " (source certificate.local.name)" + certificate_verification: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + fallback_to_primary: "enable" + faz_type: "2147483647" + hmac_algorithm: "sha256" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + max_log_rate: "0" + mgmt_name: "" + monitor_failure_retry_period: "5" + monitor_keepalive_period: "5" + override: "enable" + preshared_key: "" + priority: "default" + reliable: "enable" + serial: + - + name: "default_name_25" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" + use_management_vdom: "enable" """ RETURN = """ @@ -361,7 +363,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -389,10 +390,12 @@ def filter_log_fortianalyzer_override_setting_data(json): option_list = [ "__change_ip", "access_config", + "alt_server", "certificate", "certificate_verification", "conn_timeout", "enc_algorithm", + "fallback_to_primary", "faz_type", "hmac_algorithm", "interface", @@ -468,7 +471,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer(data, fos): - fos.do_member_operation("log.fortianalyzer", "override-setting") if data["log_fortianalyzer_override_setting"]: resp = log_fortianalyzer_override_setting(data, fos) @@ -487,1849 +489,139 @@ def fortios_log_fortianalyzer(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "use_management_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "alt_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "fallback_to_primary": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "certificate_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "serial": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "preshared_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "preshared_key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hmac_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sha256"}, + {"value": "sha1", "v_range": [["v6.0.0", "v7.4.0"]]}, ], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.2.0", ""]]}, ], }, - "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "monitor_keepalive_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "conn_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "monitor_keepalive_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor_failure_retry_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "reliable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "faz_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "override": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mgmt_name": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "__change_ip": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, @@ -2368,6 +660,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_setting.py index fc2bfdbc1..13157b88e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortianalyzer_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,6 +91,10 @@ options: choices: - 'enable' - 'disable' + alt_server: + description: + - Alternate FortiAnalyzer. + type: str certificate: description: - Certificate used to communicate with FortiAnalyzer. Source certificate.local.name. @@ -114,6 +118,13 @@ options: - 'high-medium' - 'high' - 'low' + fallback_to_primary: + description: + - Enable/disable this FortiGate unit to fallback to the primary FortiAnalyzer when it is available. + type: str + choices: + - 'enable' + - 'disable' faz_type: description: - Hidden setting index of FortiAnalyzer. @@ -243,50 +254,41 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global FortiAnalyzer settings. - fortios_log_fortianalyzer_setting: - vdom: "{{ vdom }}" +- name: Global FortiAnalyzer settings. + fortinet.fortios.fortios_log_fortianalyzer_setting: + vdom: "{{ vdom }}" log_fortianalyzer_setting: - __change_ip: "127" - access_config: "enable" - certificate: " (source certificate.local.name)" - certificate_verification: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - faz_type: "2147483647" - hmac_algorithm: "sha256" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ips_archive: "enable" - max_log_rate: "0" - mgmt_name: "" - monitor_failure_retry_period: "5" - monitor_keepalive_period: "5" - preshared_key: "" - priority: "default" - reliable: "enable" - serial: - - - name: "default_name_22" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - + __change_ip: "127" + access_config: "enable" + alt_server: "" + certificate: " (source certificate.local.name)" + certificate_verification: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + fallback_to_primary: "enable" + faz_type: "2147483647" + hmac_algorithm: "sha256" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ips_archive: "enable" + max_log_rate: "0" + mgmt_name: "" + monitor_failure_retry_period: "5" + monitor_keepalive_period: "5" + preshared_key: "" + priority: "default" + reliable: "enable" + serial: + - + name: "default_name_24" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" """ RETURN = """ @@ -345,7 +347,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -373,10 +374,12 @@ def filter_log_fortianalyzer_setting_data(json): option_list = [ "__change_ip", "access_config", + "alt_server", "certificate", "certificate_verification", "conn_timeout", "enc_algorithm", + "fallback_to_primary", "faz_type", "hmac_algorithm", "interface", @@ -446,7 +449,6 @@ def is_successful_status(resp): def fortios_log_fortianalyzer(data, fos): - fos.do_member_operation("log.fortianalyzer", "setting") if data["log_fortianalyzer_setting"]: resp = log_fortianalyzer_setting(data, fos) @@ -465,1730 +467,129 @@ def fortios_log_fortianalyzer(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ips_archive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "alt_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "fallback_to_primary": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "certificate_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "serial": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "preshared_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "preshared_key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hmac_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sha256"}, + {"value": "sha1", "v_range": [["v6.0.0", "v7.4.0"]]}, ], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.2.0", ""]]}, ], }, - "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "monitor_keepalive_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "conn_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "monitor_keepalive_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor_failure_retry_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "reliable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "faz_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "mgmt_name": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "__change_ip": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, @@ -2227,6 +628,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_filter.py index 54fb342c4..21092bd9c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for FortiCloud. - fortios_log_fortiguard_filter: - vdom: "{{ vdom }}" +- name: Filters for FortiCloud. + fortinet.fortios.fortios_log_fortiguard_filter: + vdom: "{{ vdom }}" log_fortiguard_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -423,7 +412,6 @@ def is_successful_status(resp): def fortios_log_fortiguard(data, fos): - fos.do_member_operation("log.fortiguard", "filter") if data["log_fortiguard_filter"]: resp = log_fortiguard_filter(data, fos) @@ -440,1575 +428,128 @@ def fortios_log_fortiguard(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dlp_archive": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2046,6 +587,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_filter.py index c67449992..deb63cca4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,6 +147,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -161,7 +162,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -237,43 +238,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for FortiCloud. - fortios_log_fortiguard_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for FortiCloud. + fortinet.fortios.fortios_log_fortiguard_override_filter: + vdom: "{{ vdom }}" log_fortiguard_override_filter: - anomaly: "enable" - dlp_archive: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "13" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dlp_archive: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "13" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -332,7 +322,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -423,7 +412,6 @@ def is_successful_status(resp): def fortios_log_fortiguard(data, fos): - fos.do_member_operation("log.fortiguard", "override-filter") if data["log_fortiguard_override_filter"]: resp = log_fortiguard_override_filter(data, fos) @@ -442,1575 +430,128 @@ def fortios_log_fortiguard(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dlp_archive": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2048,6 +589,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_setting.py index e1bab7420..d4d447670 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,30 +140,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override global FortiCloud logging settings for this VDOM. - fortios_log_fortiguard_override_setting: - vdom: "{{ vdom }}" +- name: Override global FortiCloud logging settings for this VDOM. + fortinet.fortios.fortios_log_fortiguard_override_setting: + vdom: "{{ vdom }}" log_fortiguard_override_setting: - access_config: "enable" - max_log_rate: "0" - override: "enable" - priority: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - + access_config: "enable" + max_log_rate: "0" + override: "enable" + priority: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" """ RETURN = """ @@ -222,7 +211,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -307,7 +295,6 @@ def is_successful_status(resp): def fortios_log_fortiguard(data, fos): - fos.do_member_operation("log.fortiguard", "override-setting") if data["log_fortiguard_override_setting"]: resp = log_fortiguard_override_setting(data, fos) @@ -326,711 +313,46 @@ def fortios_log_fortiguard(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -1068,6 +390,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_setting.py index f8161a84e..f62c1197c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_fortiguard_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -136,6 +136,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable logging to FortiCloud. @@ -171,35 +172,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure logging to FortiCloud. - fortios_log_fortiguard_setting: - vdom: "{{ vdom }}" +- name: Configure logging to FortiCloud. + fortinet.fortios.fortios_log_fortiguard_setting: + vdom: "{{ vdom }}" log_fortiguard_setting: - access_config: "enable" - conn_timeout: "10" - enc_algorithm: "high-medium" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - priority: "default" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - upload_day: "" - upload_interval: "daily" - upload_option: "store-and-upload" - upload_time: "" - + access_config: "enable" + conn_timeout: "10" + enc_algorithm: "high-medium" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + priority: "default" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + upload_day: "" + upload_interval: "daily" + upload_option: "store-and-upload" + upload_time: "" """ RETURN = """ @@ -258,7 +248,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -346,7 +335,6 @@ def is_successful_status(resp): def fortios_log_fortiguard(data, fos): - fos.do_member_operation("log.fortiguard", "setting") if data["log_fortiguard_setting"]: resp = log_fortiguard_setting(data, fos) @@ -363,1099 +351,71 @@ def fortios_log_fortiguard(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "upload_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "store-and-upload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "realtime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5-minute", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "store-and-upload"}, + {"value": "realtime"}, + {"value": "1-minute"}, + {"value": "5-minute"}, ], }, "upload_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "upload_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "upload_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "daily"}, {"value": "weekly"}, {"value": "monthly"}], }, + "upload_day": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "upload_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "access_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high-medium"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, "conn_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "integer", }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, @@ -1494,6 +454,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_gui_display.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_gui_display.py index 57f7d5ce0..20f49acd3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_gui_display.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_gui_display.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,24 +104,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure how log messages are displayed on the GUI. - fortios_log_gui_display: - vdom: "{{ vdom }}" +- name: Configure how log messages are displayed on the GUI. + fortinet.fortios.fortios_log_gui_display: + vdom: "{{ vdom }}" log_gui_display: - fortiview_unscanned_apps: "enable" - resolve_apps: "enable" - resolve_hosts: "enable" - + fortiview_unscanned_apps: "enable" + resolve_apps: "enable" + resolve_hosts: "enable" """ RETURN = """ @@ -180,7 +169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -253,7 +241,6 @@ def is_successful_status(resp): def fortios_log(data, fos): - fos.do_member_operation("log", "gui-display") if data["log_gui_display"]: resp = log_gui_display(data, fos) @@ -270,300 +257,23 @@ def fortios_log(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "resolve_hosts": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "resolve_apps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiview_unscanned_apps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -599,6 +309,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_filter.py index cfd18bf74..203016b16 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -175,6 +175,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -189,7 +190,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -363,61 +364,50 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for memory buffer. - fortios_log_memory_filter: - vdom: "{{ vdom }}" +- name: Filters for memory buffer. + fortinet.fortios.fortios_log_memory_filter: + vdom: "{{ vdom }}" log_memory_filter: - admin: "enable" - anomaly: "enable" - auth: "enable" - cpu_memory_usage: "enable" - dhcp: "enable" - dns: "enable" - event: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "17" - gtp: "enable" - ha: "enable" - ipsec: "enable" - ldb_monitor: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - notification: "enable" - pattern: "enable" - ppp: "enable" - radius: "enable" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - sslvpn_log_adm: "enable" - sslvpn_log_auth: "enable" - sslvpn_log_session: "enable" - system: "enable" - vip_ssl: "enable" - voip: "enable" - wan_opt: "enable" - wireless_activity: "enable" - ztna_traffic: "enable" - + admin: "enable" + anomaly: "enable" + auth: "enable" + cpu_memory_usage: "enable" + dhcp: "enable" + dns: "enable" + event: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "17" + gtp: "enable" + ha: "enable" + ipsec: "enable" + ldb_monitor: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + notification: "enable" + pattern: "enable" + ppp: "enable" + radius: "enable" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + sslvpn_log_adm: "enable" + sslvpn_log_auth: "enable" + sslvpn_log_session: "enable" + system: "enable" + vip_ssl: "enable" + voip: "enable" + wan_opt: "enable" + wireless_activity: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -476,7 +466,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -585,7 +574,6 @@ def is_successful_status(resp): def fortios_log_memory(data, fos): - fos.do_member_operation("log.memory", "filter") if data["log_memory_filter"]: resp = log_memory_filter(data, fos) @@ -602,2283 +590,218 @@ def fortios_log_memory(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "event": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "system": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "notification": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "radius": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipsec": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ppp": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "admin": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ha": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pattern": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_log_auth": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_log_adm": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_log_session": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vip_ssl": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ldb_monitor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wan_opt": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wireless_activity": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cpu_memory_usage": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2914,6 +837,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_global_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_global_setting.py index 2c0edf581..10f0ac468 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_global_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_global_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -99,25 +99,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global settings for memory logging. - fortios_log_memory_global_setting: - vdom: "{{ vdom }}" +- name: Global settings for memory logging. + fortinet.fortios.fortios_log_memory_global_setting: + vdom: "{{ vdom }}" log_memory_global_setting: - full_final_warning_threshold: "95" - full_first_warning_threshold: "75" - full_second_warning_threshold: "90" - max_size: "20912414" - + full_final_warning_threshold: "95" + full_first_warning_threshold: "75" + full_second_warning_threshold: "90" + max_size: "20921835" """ RETURN = """ @@ -176,7 +165,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -254,7 +242,6 @@ def is_successful_status(resp): def fortios_log_memory(data, fos): - fos.do_member_operation("log.memory", "global-setting") if data["log_memory_global_setting"]: resp = log_memory_global_setting(data, fos) @@ -273,148 +260,20 @@ def fortios_log_memory(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "max_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "max_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "full_first_warning_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "full_second_warning_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "full_final_warning_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, }, @@ -453,6 +312,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_setting.py index 8c22d0c1b..ebdfc9c6c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_memory_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,23 +96,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for memory buffer. - fortios_log_memory_setting: - vdom: "{{ vdom }}" +- name: Settings for memory buffer. + fortinet.fortios.fortios_log_memory_setting: + vdom: "{{ vdom }}" log_memory_setting: - diskfull: "overwrite" - status: "enable" - + diskfull: "overwrite" + status: "enable" """ RETURN = """ @@ -171,7 +160,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -244,7 +232,6 @@ def is_successful_status(resp): def fortios_log_memory(data, fos): - fos.do_member_operation("log.memory", "setting") if data["log_memory_setting"]: resp = log_memory_setting(data, fos) @@ -261,151 +248,18 @@ def fortios_log_memory(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diskfull": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "overwrite", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "overwrite"}], }, }, } @@ -441,6 +295,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_filter.py index fc8569b54..f8f78e799 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -230,42 +231,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for null device logging. - fortios_log_null_device_filter: - vdom: "{{ vdom }}" +- name: Filters for null device logging. + fortinet.fortios.fortios_log_null_device_filter: + vdom: "{{ vdom }}" log_null_device_filter: - anomaly: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -324,7 +314,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -414,7 +403,6 @@ def is_successful_status(resp): def fortios_log_null_device(data, fos): - fos.do_member_operation("log.null-device", "filter") if data["log_null_device_filter"]: resp = log_null_device_filter(data, fos) @@ -431,1561 +419,123 @@ def fortios_log_null_device(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2023,6 +573,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_setting.py index 9354c85c3..bf43353b7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_null_device_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,22 +90,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for null device logging. - fortios_log_null_device_setting: - vdom: "{{ vdom }}" +- name: Settings for null device logging. + fortinet.fortios.fortios_log_null_device_setting: + vdom: "{{ vdom }}" log_null_device_setting: - status: "enable" - + status: "enable" """ RETURN = """ @@ -164,7 +153,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -237,7 +225,6 @@ def is_successful_status(resp): def fortios_log_null_device(data, fos): - fos.do_member_operation("log.null-device", "setting") if data["log_null_device_setting"]: resp = log_null_device_setting(data, fos) @@ -254,122 +241,13 @@ def fortios_log_null_device(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], } }, } @@ -407,6 +285,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_setting.py index 1eccfbf06..6885a8beb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -266,49 +266,38 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure general log settings. - fortios_log_setting: - vdom: "{{ vdom }}" +- name: Configure general log settings. + fortinet.fortios.fortios_log_setting: + vdom: "{{ vdom }}" log_setting: - anonymization_hash: "" - brief_traffic_format: "enable" - custom_log_fields: - - - field_id: " (source log.custom-field.id)" - daemon_log: "enable" - expolicy_implicit_log: "enable" - extended_log: "enable" - faz_override: "enable" - fortiview_weekly_data: "enable" - fwpolicy_implicit_log: "enable" - fwpolicy6_implicit_log: "enable" - local_in_allow: "enable" - local_in_deny_broadcast: "enable" - local_in_deny_unicast: "enable" - local_out: "enable" - local_out_ioc_detection: "enable" - log_invalid_packet: "enable" - log_policy_comment: "enable" - log_policy_name: "enable" - log_user_in_upper: "enable" - neighbor_event: "enable" - resolve_ip: "enable" - resolve_port: "enable" - rest_api_get: "enable" - rest_api_set: "enable" - syslog_override: "enable" - user_anonymize: "enable" - + anonymization_hash: "" + brief_traffic_format: "enable" + custom_log_fields: + - + field_id: " (source log.custom-field.id)" + daemon_log: "enable" + expolicy_implicit_log: "enable" + extended_log: "enable" + faz_override: "enable" + fortiview_weekly_data: "enable" + fwpolicy_implicit_log: "enable" + fwpolicy6_implicit_log: "enable" + local_in_allow: "enable" + local_in_deny_broadcast: "enable" + local_in_deny_unicast: "enable" + local_out: "enable" + local_out_ioc_detection: "enable" + log_invalid_packet: "enable" + log_policy_comment: "enable" + log_policy_name: "enable" + log_user_in_upper: "enable" + neighbor_event: "enable" + resolve_ip: "enable" + resolve_port: "enable" + rest_api_get: "enable" + rest_api_set: "enable" + syslog_override: "enable" + user_anonymize: "enable" """ RETURN = """ @@ -367,7 +356,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -465,7 +453,6 @@ def is_successful_status(resp): def fortios_log(data, fos): - fos.do_member_operation("log", "setting") if data["log_setting"]: resp = log_setting(data, fos) @@ -482,2031 +469,141 @@ def fortios_log(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "resolve_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "resolve_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_user_in_upper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fwpolicy_implicit_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fwpolicy6_implicit_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_in_allow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_in_deny_unicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_in_deny_broadcast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_out_ioc_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "daemon_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "neighbor_event": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "brief_traffic_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "user_anonymize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "expolicy_implicit_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_policy_comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "faz_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "syslog_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rest_api_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rest_api_get": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "custom_log_fields": { "type": "list", "elements": "dict", "children": { "field_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, - "anonymization_hash": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "anonymization_hash": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "fortiview_weekly_data": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_invalid_packet": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "fortiview_weekly_data": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_policy_name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2542,6 +639,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_filter.py index 44cb36806..5dff5fad3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -230,42 +231,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for remote system server. - fortios_log_syslogd2_filter: - vdom: "{{ vdom }}" +- name: Filters for remote system server. + fortinet.fortios.fortios_log_syslogd2_filter: + vdom: "{{ vdom }}" log_syslogd2_filter: - anomaly: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -324,7 +314,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -414,7 +403,6 @@ def is_successful_status(resp): def fortios_log_syslogd2(data, fos): - fos.do_member_operation("log.syslogd2", "filter") if data["log_syslogd2_filter"]: resp = log_syslogd2_filter(data, fos) @@ -431,1561 +419,123 @@ def fortios_log_syslogd2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2021,6 +571,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_filter.py index b434438d6..5816ea817 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,6 +133,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -147,7 +148,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -208,38 +209,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for remote system server. - fortios_log_syslogd2_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for remote system server. + fortinet.fortios.fortios_log_syslogd2_override_filter: + vdom: "{{ vdom }}" log_syslogd2_override_filter: - anomaly: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "11" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - severity: "emergency" - sniffer_traffic: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "11" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + severity: "emergency" + sniffer_traffic: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -298,7 +288,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -384,7 +373,6 @@ def is_successful_status(resp): def fortios_log_syslogd2(data, fos): - fos.do_member_operation("log.syslogd2", "override-filter") if data["log_syslogd2_override_filter"]: resp = log_syslogd2_override_filter(data, fos) @@ -403,1414 +391,111 @@ def fortios_log_syslogd2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, } @@ -1848,6 +533,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_setting.py index 4f4c672bf..bb29919f9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -210,6 +211,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -224,42 +226,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override settings for remote syslog server. - fortios_log_syslogd2_override_setting: - vdom: "{{ vdom }}" +- name: Override settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd2_override_setting: + vdom: "{{ vdom }}" log_syslogd2_override_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - override: "enable" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + override: "enable" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -318,7 +309,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -409,7 +399,6 @@ def is_successful_status(resp): def fortios_log_syslogd2(data, fos): - fos.do_member_operation("log.syslogd2", "override-setting") if data["log_syslogd2_override_setting"]: resp = log_syslogd2_override_setting(data, fos) @@ -428,1741 +417,125 @@ def fortios_log_syslogd2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "override": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.2.3": True}}, - {"value": "disable", "revisions": {"v6.2.3": True}}, - ], - }, - "syslog_type": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2199,6 +572,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_setting.py index 54bc5bc2a..5c6eb00ed 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd2_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -203,6 +204,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -217,41 +219,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global settings for remote syslog server. - fortios_log_syslogd2_setting: - vdom: "{{ vdom }}" +- name: Global settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd2_setting: + vdom: "{{ vdom }}" log_syslogd2_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -310,7 +301,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -400,7 +390,6 @@ def is_successful_status(resp): def fortios_log_syslogd2(data, fos): - fos.do_member_operation("log.syslogd2", "setting") if data["log_syslogd2_setting"]: resp = log_syslogd2_setting(data, fos) @@ -417,1922 +406,120 @@ def fortios_log_syslogd2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "syslog_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2367,6 +554,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_filter.py index 1b0bd528f..672989379 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -230,42 +231,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for remote system server. - fortios_log_syslogd3_filter: - vdom: "{{ vdom }}" +- name: Filters for remote system server. + fortinet.fortios.fortios_log_syslogd3_filter: + vdom: "{{ vdom }}" log_syslogd3_filter: - anomaly: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -324,7 +314,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -414,7 +403,6 @@ def is_successful_status(resp): def fortios_log_syslogd3(data, fos): - fos.do_member_operation("log.syslogd3", "filter") if data["log_syslogd3_filter"]: resp = log_syslogd3_filter(data, fos) @@ -431,1561 +419,123 @@ def fortios_log_syslogd3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2021,6 +571,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_filter.py index 674810704..bbf63872c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,6 +133,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -147,7 +148,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -208,38 +209,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for remote system server. - fortios_log_syslogd3_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for remote system server. + fortinet.fortios.fortios_log_syslogd3_override_filter: + vdom: "{{ vdom }}" log_syslogd3_override_filter: - anomaly: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "11" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - severity: "emergency" - sniffer_traffic: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "11" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + severity: "emergency" + sniffer_traffic: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -298,7 +288,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -384,7 +373,6 @@ def is_successful_status(resp): def fortios_log_syslogd3(data, fos): - fos.do_member_operation("log.syslogd3", "override-filter") if data["log_syslogd3_override_filter"]: resp = log_syslogd3_override_filter(data, fos) @@ -403,1414 +391,111 @@ def fortios_log_syslogd3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, } @@ -1848,6 +533,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_setting.py index 74a22e09b..05e37ea42 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -210,6 +211,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -224,42 +226,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override settings for remote syslog server. - fortios_log_syslogd3_override_setting: - vdom: "{{ vdom }}" +- name: Override settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd3_override_setting: + vdom: "{{ vdom }}" log_syslogd3_override_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - override: "enable" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + override: "enable" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -318,7 +309,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -409,7 +399,6 @@ def is_successful_status(resp): def fortios_log_syslogd3(data, fos): - fos.do_member_operation("log.syslogd3", "override-setting") if data["log_syslogd3_override_setting"]: resp = log_syslogd3_override_setting(data, fos) @@ -428,1741 +417,125 @@ def fortios_log_syslogd3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "override": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.2.3": True}}, - {"value": "disable", "revisions": {"v6.2.3": True}}, - ], - }, - "syslog_type": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2199,6 +572,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_setting.py index 09f0034ae..487a9a652 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd3_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -203,6 +204,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -217,41 +219,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global settings for remote syslog server. - fortios_log_syslogd3_setting: - vdom: "{{ vdom }}" +- name: Global settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd3_setting: + vdom: "{{ vdom }}" log_syslogd3_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -310,7 +301,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -400,7 +390,6 @@ def is_successful_status(resp): def fortios_log_syslogd3(data, fos): - fos.do_member_operation("log.syslogd3", "setting") if data["log_syslogd3_setting"]: resp = log_syslogd3_setting(data, fos) @@ -417,1922 +406,120 @@ def fortios_log_syslogd3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "syslog_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2367,6 +554,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_filter.py index 1b294459f..ffc3f4e73 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -230,42 +231,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for remote system server. - fortios_log_syslogd4_filter: - vdom: "{{ vdom }}" +- name: Filters for remote system server. + fortinet.fortios.fortios_log_syslogd4_filter: + vdom: "{{ vdom }}" log_syslogd4_filter: - anomaly: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -324,7 +314,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -414,7 +403,6 @@ def is_successful_status(resp): def fortios_log_syslogd4(data, fos): - fos.do_member_operation("log.syslogd4", "filter") if data["log_syslogd4_filter"]: resp = log_syslogd4_filter(data, fos) @@ -431,1561 +419,123 @@ def fortios_log_syslogd4(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2021,6 +571,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_filter.py index 761df31c2..f591fc7a0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,6 +133,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -147,7 +148,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -208,38 +209,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for remote system server. - fortios_log_syslogd4_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for remote system server. + fortinet.fortios.fortios_log_syslogd4_override_filter: + vdom: "{{ vdom }}" log_syslogd4_override_filter: - anomaly: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "11" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - severity: "emergency" - sniffer_traffic: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "11" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + severity: "emergency" + sniffer_traffic: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -298,7 +288,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -384,7 +373,6 @@ def is_successful_status(resp): def fortios_log_syslogd4(data, fos): - fos.do_member_operation("log.syslogd4", "override-filter") if data["log_syslogd4_override_filter"]: resp = log_syslogd4_override_filter(data, fos) @@ -403,1414 +391,111 @@ def fortios_log_syslogd4(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, } @@ -1848,6 +533,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_setting.py index 4e3d3114d..a0dd1f913 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -210,6 +211,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -224,42 +226,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override settings for remote syslog server. - fortios_log_syslogd4_override_setting: - vdom: "{{ vdom }}" +- name: Override settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd4_override_setting: + vdom: "{{ vdom }}" log_syslogd4_override_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - override: "enable" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + override: "enable" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -318,7 +309,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -409,7 +399,6 @@ def is_successful_status(resp): def fortios_log_syslogd4(data, fos): - fos.do_member_operation("log.syslogd4", "override-setting") if data["log_syslogd4_override_setting"]: resp = log_syslogd4_override_setting(data, fos) @@ -428,1741 +417,125 @@ def fortios_log_syslogd4(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "override": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.2.3": True}}, - {"value": "disable", "revisions": {"v6.2.3": True}}, - ], - }, - "syslog_type": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2199,6 +572,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_setting.py index 43c837d56..8c15e5dc2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd4_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -203,6 +204,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -217,41 +219,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global settings for remote syslog server. - fortios_log_syslogd4_setting: - vdom: "{{ vdom }}" +- name: Global settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd4_setting: + vdom: "{{ vdom }}" log_syslogd4_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -310,7 +301,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -400,7 +390,6 @@ def is_successful_status(resp): def fortios_log_syslogd4(data, fos): - fos.do_member_operation("log.syslogd4", "setting") if data["log_syslogd4_setting"]: resp = log_syslogd4_setting(data, fos) @@ -417,1922 +406,120 @@ def fortios_log_syslogd4(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "syslog_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2367,6 +554,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_filter.py index 005d7f595..46ca283a4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -230,42 +231,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for remote system server. - fortios_log_syslogd_filter: - vdom: "{{ vdom }}" +- name: Filters for remote system server. + fortinet.fortios.fortios_log_syslogd_filter: + vdom: "{{ vdom }}" log_syslogd_filter: - anomaly: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -324,7 +314,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -414,7 +403,6 @@ def is_successful_status(resp): def fortios_log_syslogd(data, fos): - fos.do_member_operation("log.syslogd", "filter") if data["log_syslogd_filter"]: resp = log_syslogd_filter(data, fos) @@ -431,1561 +419,123 @@ def fortios_log_syslogd(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2021,6 +571,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_filter.py index a30e9d72f..6a6ef1760 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -230,42 +231,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override filters for remote system server. - fortios_log_syslogd_override_filter: - vdom: "{{ vdom }}" +- name: Override filters for remote system server. + fortinet.fortios.fortios_log_syslogd_override_filter: + vdom: "{{ vdom }}" log_syslogd_override_filter: - anomaly: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -324,7 +314,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -414,7 +403,6 @@ def is_successful_status(resp): def fortios_log_syslogd(data, fos): - fos.do_member_operation("log.syslogd", "override-filter") if data["log_syslogd_override_filter"]: resp = log_syslogd_override_filter(data, fos) @@ -433,1561 +421,123 @@ def fortios_log_syslogd(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2025,6 +575,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_setting.py index e5d6854c9..a80972c85 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_override_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -210,6 +211,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -224,42 +226,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Override settings for remote syslog server. - fortios_log_syslogd_override_setting: - vdom: "{{ vdom }}" +- name: Override settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd_override_setting: + vdom: "{{ vdom }}" log_syslogd_override_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - override: "enable" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + override: "enable" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -318,7 +309,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -409,7 +399,6 @@ def is_successful_status(resp): def fortios_log_syslogd(data, fos): - fos.do_member_operation("log.syslogd", "override-setting") if data["log_syslogd_override_setting"]: resp = log_syslogd_override_setting(data, fos) @@ -428,1952 +417,125 @@ def fortios_log_syslogd(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "override": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "syslog_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2410,6 +572,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_setting.py index b2dccf40b..41420e4d0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_syslogd_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -150,6 +150,7 @@ options: - 'csv' - 'cef' - 'rfc5424' + - 'json' interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -203,6 +204,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable remote syslog logging. @@ -217,41 +219,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global settings for remote syslog server. - fortios_log_syslogd_setting: - vdom: "{{ vdom }}" +- name: Global settings for remote syslog server. + fortinet.fortios.fortios_log_syslogd_setting: + vdom: "{{ vdom }}" log_syslogd_setting: - certificate: " (source certificate.local.name)" - custom_field_name: - - - custom: "" - id: "6" - name: "default_name_7" - enc_algorithm: "high-medium" - facility: "kernel" - format: "default" - interface: " (source system.interface.name)" - interface_select_method: "auto" - max_log_rate: "0" - mode: "udp" - port: "514" - priority: "default" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - syslog_type: "2147483647" - + certificate: " (source certificate.local.name)" + custom_field_name: + - + custom: "" + id: "6" + name: "default_name_7" + enc_algorithm: "high-medium" + facility: "kernel" + format: "default" + interface: " (source system.interface.name)" + interface_select_method: "auto" + max_log_rate: "0" + mode: "udp" + port: "514" + priority: "default" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" + syslog_type: "2147483647" """ RETURN = """ @@ -310,7 +301,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -400,7 +390,6 @@ def is_successful_status(resp): def fortios_log_syslogd(data, fos): - fos.do_member_operation("log.syslogd", "setting") if data["log_syslogd_setting"]: resp = log_syslogd_setting(data, fos) @@ -417,1922 +406,120 @@ def fortios_log_syslogd(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "legacy-reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reliable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "udp"}, + {"value": "legacy-reliable"}, + {"value": "reliable"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "csv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cef", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rfc5424", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "default"}, + {"value": "csv"}, + {"value": "cef"}, + {"value": "rfc5424", "v_range": [["v7.0.0", ""]]}, + {"value": "json", "v_range": [["v7.4.1", ""]]}, ], }, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_log_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "default"}, {"value": "low"}], }, + "max_log_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high-medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high-medium"}, + {"value": "high"}, + {"value": "low"}, + {"value": "disable"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, "custom_field_name": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "custom": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "syslog_type": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "syslog_type": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, } @@ -2367,6 +554,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_filter.py index 2d926822d..28c9bc889 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,24 +104,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for TACACS+ accounting events filter. - fortios_log_tacacsplusaccounting2_filter: - vdom: "{{ vdom }}" +- name: Settings for TACACS+ accounting events filter. + fortinet.fortios.fortios_log_tacacsplusaccounting2_filter: + vdom: "{{ vdom }}" log_tacacsplusaccounting2_filter: - cli_cmd_audit: "enable" - config_change_audit: "enable" - login_audit: "enable" - + cli_cmd_audit: "enable" + config_change_audit: "enable" + login_audit: "enable" """ RETURN = """ @@ -180,7 +169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -255,7 +243,6 @@ def is_successful_status(resp): def fortios_log_tacacsplusaccounting2(data, fos): - fos.do_member_operation("log.tacacs+accounting2", "filter") if data["log_tacacsplusaccounting2_filter"]: resp = log_tacacsplusaccounting2_filter(data, fos) @@ -274,180 +261,23 @@ def fortios_log_tacacsplusaccounting2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "login_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "config_change_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cli_cmd_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -485,6 +315,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_setting.py index ff306b86f..9c51d1975 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting2_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,27 +114,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for TACACS+ accounting. - fortios_log_tacacsplusaccounting2_setting: - vdom: "{{ vdom }}" +- name: Settings for TACACS+ accounting. + fortinet.fortios.fortios_log_tacacsplusaccounting2_setting: + vdom: "{{ vdom }}" log_tacacsplusaccounting2_setting: - interface: " (source system.interface.name)" - interface_select_method: "auto" - server: "192.168.100.40" - server_key: "" - source_ip: "84.230.14.43" - status: "enable" - + interface: " (source system.interface.name)" + interface_select_method: "auto" + server: "192.168.100.40" + server_key: "" + source_ip: "84.230.14.43" + status: "enable" """ RETURN = """ @@ -193,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,7 +263,6 @@ def is_successful_status(resp): def fortios_log_tacacsplusaccounting2(data, fos): - fos.do_member_operation("log.tacacs+accounting2", "setting") if data["log_tacacsplusaccounting2_setting"]: resp = log_tacacsplusaccounting2_setting(data, fos) @@ -294,165 +281,23 @@ def fortios_log_tacacsplusaccounting2(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "server_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "server_key": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "source_ip": {"v_range": [["v7.2.4", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - "type": "string", - "options": [ - {"value": "auto", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "sdwan", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "specify", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.2.4", ""]], "type": "string"}, }, } @@ -489,6 +334,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_filter.py index e54fb6f91..82502c45f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,24 +104,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for TACACS+ accounting events filter. - fortios_log_tacacsplusaccounting3_filter: - vdom: "{{ vdom }}" +- name: Settings for TACACS+ accounting events filter. + fortinet.fortios.fortios_log_tacacsplusaccounting3_filter: + vdom: "{{ vdom }}" log_tacacsplusaccounting3_filter: - cli_cmd_audit: "enable" - config_change_audit: "enable" - login_audit: "enable" - + cli_cmd_audit: "enable" + config_change_audit: "enable" + login_audit: "enable" """ RETURN = """ @@ -180,7 +169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -255,7 +243,6 @@ def is_successful_status(resp): def fortios_log_tacacsplusaccounting3(data, fos): - fos.do_member_operation("log.tacacs+accounting3", "filter") if data["log_tacacsplusaccounting3_filter"]: resp = log_tacacsplusaccounting3_filter(data, fos) @@ -274,180 +261,23 @@ def fortios_log_tacacsplusaccounting3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "login_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "config_change_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cli_cmd_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -485,6 +315,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_setting.py index 00c507aac..c490d4a66 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting3_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,27 +114,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for TACACS+ accounting. - fortios_log_tacacsplusaccounting3_setting: - vdom: "{{ vdom }}" +- name: Settings for TACACS+ accounting. + fortinet.fortios.fortios_log_tacacsplusaccounting3_setting: + vdom: "{{ vdom }}" log_tacacsplusaccounting3_setting: - interface: " (source system.interface.name)" - interface_select_method: "auto" - server: "192.168.100.40" - server_key: "" - source_ip: "84.230.14.43" - status: "enable" - + interface: " (source system.interface.name)" + interface_select_method: "auto" + server: "192.168.100.40" + server_key: "" + source_ip: "84.230.14.43" + status: "enable" """ RETURN = """ @@ -193,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,7 +263,6 @@ def is_successful_status(resp): def fortios_log_tacacsplusaccounting3(data, fos): - fos.do_member_operation("log.tacacs+accounting3", "setting") if data["log_tacacsplusaccounting3_setting"]: resp = log_tacacsplusaccounting3_setting(data, fos) @@ -294,165 +281,23 @@ def fortios_log_tacacsplusaccounting3(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "server_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "server_key": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "source_ip": {"v_range": [["v7.2.4", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - "type": "string", - "options": [ - {"value": "auto", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "sdwan", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "specify", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.2.4", ""]], "type": "string"}, }, } @@ -489,6 +334,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_filter.py index dcca82690..3163541e1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,24 +104,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for TACACS+ accounting events filter. - fortios_log_tacacsplusaccounting_filter: - vdom: "{{ vdom }}" +- name: Settings for TACACS+ accounting events filter. + fortinet.fortios.fortios_log_tacacsplusaccounting_filter: + vdom: "{{ vdom }}" log_tacacsplusaccounting_filter: - cli_cmd_audit: "enable" - config_change_audit: "enable" - login_audit: "enable" - + cli_cmd_audit: "enable" + config_change_audit: "enable" + login_audit: "enable" """ RETURN = """ @@ -180,7 +169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -255,7 +243,6 @@ def is_successful_status(resp): def fortios_log_tacacsplusaccounting(data, fos): - fos.do_member_operation("log.tacacs+accounting", "filter") if data["log_tacacsplusaccounting_filter"]: resp = log_tacacsplusaccounting_filter(data, fos) @@ -274,180 +261,23 @@ def fortios_log_tacacsplusaccounting(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "login_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "config_change_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cli_cmd_audit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -485,6 +315,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_setting.py index e73263b81..9ae2bc591 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_tacacsplusaccounting_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,27 +114,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for TACACS+ accounting. - fortios_log_tacacsplusaccounting_setting: - vdom: "{{ vdom }}" +- name: Settings for TACACS+ accounting. + fortinet.fortios.fortios_log_tacacsplusaccounting_setting: + vdom: "{{ vdom }}" log_tacacsplusaccounting_setting: - interface: " (source system.interface.name)" - interface_select_method: "auto" - server: "192.168.100.40" - server_key: "" - source_ip: "84.230.14.43" - status: "enable" - + interface: " (source system.interface.name)" + interface_select_method: "auto" + server: "192.168.100.40" + server_key: "" + source_ip: "84.230.14.43" + status: "enable" """ RETURN = """ @@ -193,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,7 +263,6 @@ def is_successful_status(resp): def fortios_log_tacacsplusaccounting(data, fos): - fos.do_member_operation("log.tacacs+accounting", "setting") if data["log_tacacsplusaccounting_setting"]: resp = log_tacacsplusaccounting_setting(data, fos) @@ -294,165 +281,23 @@ def fortios_log_tacacsplusaccounting(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "server_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "server_key": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "source_ip": {"v_range": [["v7.2.4", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - "type": "string", - "options": [ - {"value": "auto", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "sdwan", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "specify", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.2.4", ""]], "type": "string"}, }, } @@ -489,6 +334,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_threat_weight.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_threat_weight.py index 3d28b43e5..5ecdc883f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_threat_weight.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_threat_weight.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -92,7 +92,7 @@ options: type: int id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int level: @@ -147,7 +147,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int level: @@ -480,7 +480,7 @@ options: type: int id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int level: @@ -496,74 +496,63 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure threat weight settings. - fortios_log_threat_weight: - vdom: "{{ vdom }}" +- name: Configure threat weight settings. + fortinet.fortios.fortios_log_threat_weight: + vdom: "{{ vdom }}" log_threat_weight: - application: - - - category: "0" - id: "5" - level: "disable" - blocked_connection: "disable" - botnet_connection_detected: "disable" - failed_connection: "disable" - geolocation: - - - country: "" - id: "12" - level: "disable" - ips: - critical_severity: "disable" - high_severity: "disable" - info_severity: "disable" - low_severity: "disable" - medium_severity: "disable" - level: - critical: "50" - high: "30" - low: "5" - medium: "10" - malware: - botnet_connection: "disable" - command_blocked: "disable" - content_disarm: "disable" - ems_threat_feed: "disable" - file_blocked: "disable" - fortiai: "disable" - fortindr: "disable" - fortisandbox: "disable" - fsa_high_risk: "disable" - fsa_malicious: "disable" - fsa_medium_risk: "disable" - inline_block: "disable" - malware_list: "disable" - mimefragmented: "disable" - oversized: "disable" - switch_proto: "disable" - virus_blocked: "disable" - virus_file_type_executable: "disable" - virus_infected: "disable" - virus_outbreak_prevention: "disable" - virus_scan_error: "disable" - status: "enable" - url_block_detected: "disable" - web: - - - category: "0" - id: "51" - level: "disable" - + application: + - + category: "0" + id: "5" + level: "disable" + blocked_connection: "disable" + botnet_connection_detected: "disable" + failed_connection: "disable" + geolocation: + - + country: "" + id: "12" + level: "disable" + ips: + critical_severity: "disable" + high_severity: "disable" + info_severity: "disable" + low_severity: "disable" + medium_severity: "disable" + level: + critical: "50" + high: "30" + low: "5" + medium: "10" + malware: + botnet_connection: "disable" + command_blocked: "disable" + content_disarm: "disable" + ems_threat_feed: "disable" + file_blocked: "disable" + fortiai: "disable" + fortindr: "disable" + fortisandbox: "disable" + fsa_high_risk: "disable" + fsa_malicious: "disable" + fsa_medium_risk: "disable" + inline_block: "disable" + malware_list: "disable" + mimefragmented: "disable" + oversized: "disable" + switch_proto: "disable" + virus_blocked: "disable" + virus_file_type_executable: "disable" + virus_infected: "disable" + virus_outbreak_prevention: "disable" + virus_scan_error: "disable" + status: "enable" + url_block_detected: "disable" + web: + - + category: "0" + id: "51" + level: "disable" """ RETURN = """ @@ -622,7 +611,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -707,7 +695,6 @@ def is_successful_status(resp): def fortios_log(data, fos): - fos.do_member_operation("log", "threat-weight") if data["log_threat_weight"]: resp = log_threat_weight(data, fos) @@ -724,4780 +711,362 @@ def fortios_log(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "medium": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "critical": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "low": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "medium": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "high": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "critical": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, }, "blocked_connection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "failed_connection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "url_block_detected": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "botnet_connection_detected": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "malware": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "virus_infected": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "inline_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "low", "revisions": {"v7.4.0": True}}, - {"value": "medium", "revisions": {"v7.4.0": True}}, - {"value": "high", "revisions": {"v7.4.0": True}}, - {"value": "critical", "revisions": {"v7.4.0": True}}, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "file_blocked": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "command_blocked": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "oversized": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "virus_scan_error": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "switch_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "mimefragmented": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "virus_file_type_executable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "virus_outbreak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "content_disarm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "malware_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "ems_threat_feed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "fsa_malicious": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "fsa_high_risk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "fsa_medium_risk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "fortindr": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.2.4"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "fortisandbox": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "fortiai": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "virus_blocked": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "botnet_connection": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, }, }, "ips": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "info_severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "low_severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "medium_severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "high_severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, "critical_severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, }, @@ -5507,801 +1076,72 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "geolocation": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "country": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "country": {"v_range": [["v6.0.0", ""]], "type": "string"}, "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "application": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -6337,6 +1177,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_filter.py index 92ffdbc0f..854a17583 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,6 +140,7 @@ options: - 'ssl' - 'file-filter' - 'icap' + - 'virtual-patch' - 'ztna' filter: description: @@ -154,7 +155,7 @@ options: - 'exclude' id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int gtp: @@ -230,42 +231,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Filters for WebTrends. - fortios_log_webtrends_filter: - vdom: "{{ vdom }}" +- name: Filters for WebTrends. + fortinet.fortios.fortios_log_webtrends_filter: + vdom: "{{ vdom }}" log_webtrends_filter: - anomaly: "enable" - dns: "enable" - filter: "" - filter_type: "include" - forward_traffic: "enable" - free_style: - - - category: "traffic" - filter: "" - filter_type: "include" - id: "12" - gtp: "enable" - local_traffic: "enable" - multicast_traffic: "enable" - netscan_discovery: "" - netscan_vulnerability: "" - severity: "emergency" - sniffer_traffic: "enable" - ssh: "enable" - voip: "enable" - ztna_traffic: "enable" - + anomaly: "enable" + dns: "enable" + filter: "" + filter_type: "include" + forward_traffic: "enable" + free_style: + - + category: "traffic" + filter: "" + filter_type: "include" + id: "12" + gtp: "enable" + local_traffic: "enable" + multicast_traffic: "enable" + netscan_discovery: "" + netscan_vulnerability: "" + severity: "emergency" + sniffer_traffic: "enable" + ssh: "enable" + voip: "enable" + ztna_traffic: "enable" """ RETURN = """ @@ -324,7 +314,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -414,7 +403,6 @@ def is_successful_status(resp): def fortios_log_webtrends(data, fos): - fos.do_member_operation("log.webtrends", "filter") if data["log_webtrends_filter"]: resp = log_webtrends_filter(data, fos) @@ -431,1561 +419,123 @@ def fortios_log_webtrends(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "forward_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sniffer_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ztna_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "anomaly": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "free_style": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "voip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "waf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "gtp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "file-filter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "icap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ztna", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "anomaly"}, + {"value": "voip"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "waf"}, + {"value": "gtp"}, + {"value": "dns"}, + {"value": "ssh"}, + {"value": "ssl"}, + {"value": "file-filter"}, + {"value": "icap"}, + {"value": "virtual-patch", "v_range": [["v7.4.1", ""]]}, + {"value": "ztna", "v_range": [["v7.0.1", "v7.0.3"]]}, ], }, - "filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "filter": {"v_range": [["v7.0.0", ""]], "type": "string"}, "filter_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "filter": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "filter": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "filter_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "include", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclude", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netscan_discovery": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "netscan_vulnerability": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], }, + "netscan_discovery": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "netscan_vulnerability": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "dns": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2021,6 +571,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_setting.py index 57669143a..e421898d4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_log_webtrends_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,23 +94,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Settings for WebTrends. - fortios_log_webtrends_setting: - vdom: "{{ vdom }}" +- name: Settings for WebTrends. + fortinet.fortios.fortios_log_webtrends_setting: + vdom: "{{ vdom }}" log_webtrends_setting: - server: "192.168.100.40" - status: "enable" - + server: "192.168.100.40" + status: "enable" """ RETURN = """ @@ -169,7 +158,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -242,7 +230,6 @@ def is_successful_status(resp): def fortios_log_webtrends(data, fos): - fos.do_member_operation("log.webtrends", "setting") if data["log_webtrends_setting"]: resp = log_webtrends_setting(data, fos) @@ -259,152 +246,15 @@ def fortios_log_webtrends(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -441,6 +291,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor.py index 207afbd9b..70a93ee4c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor.py @@ -285,6 +285,12 @@ options: - 'update.forticonverter.submitted-info' - 'start.forticonverter.download' - 'trial.user.fortitoken-cloud' + - 'unverify-cert.endpoint-control.ems' + - 'update-global-label.firewall.policy' + - 'update-global-label.firewall.security-policy' + - 'set-tier-plus.switch-controller.mclag-icl' + - 'user.password-policy-conform' + - 'change-password.user.local' params: description: @@ -294,32 +300,21 @@ options: """ EXAMPLES = """ -- hosts: fortigate03 - connection: httpapi - collections: - - fortinet.fortios - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: +- name: Activate FortiToken + fortinet.fortios.fortios_monitor: + vdom: "root" + access_token: "your_own_value" + selector: 'activate.user.fortitoken' + params: + tokens: '' - - name: Activate FortiToken - fortios_monitor: - vdom: "root" - access_token: "" - selector: 'activate.user.fortitoken' - params: - tokens: '' - - - name: Reboot This Device - fortios_monitor: - vdom: "root" - access_token: "" - selector: 'reboot.system.os' - params: - event_log_message: 'Reboot Request From Ansible' +- name: Reboot This Device + fortinet.fortios.fortios_monitor: + vdom: "root" + access_token: "you_own_value" + selector: 'reboot.system.os' + params: + event_log_message: 'Reboot Request From Ansible' """ RETURN = """ @@ -479,6 +474,7 @@ module_selectors_defs = { "params": { "db_name": {"type": "string", "required": "True"}, "confirm_not_signed": {"type": "boolean", "required": "False"}, + "confirm_not_ga_certified": {"type": "boolean", "required": "False"}, "file_id": {"type": "string", "required": "False"}, "file_content": {"type": "string", "required": "False"}, }, @@ -1627,6 +1623,54 @@ module_selectors_defs = { }, }, "trial.user.fortitoken-cloud": {"url": "user/fortitoken-cloud/trial", "params": {}}, + "unverify-cert.endpoint-control.ems": { + "url": "endpoint-control/ems/unverify-cert", + "params": { + "ems_id": {"type": "int", "required": "True"}, + "scope": {"type": "string", "required": "False"}, + }, + }, + "update-global-label.firewall.policy": { + "url": "firewall/policy/update-global-label", + "params": { + "policyid": {"type": "int", "required": "True"}, + "current-label": {"type": "string", "required": "False"}, + "new-label": {"type": "string", "required": "False"}, + }, + }, + "update-global-label.firewall.security-policy": { + "url": "firewall/security-policy/update-global-label", + "params": { + "policyid": {"type": "int", "required": "True"}, + "current-label": {"type": "string", "required": "False"}, + "new-label": {"type": "string", "required": "False"}, + }, + }, + "set-tier-plus.switch-controller.mclag-icl": { + "url": "switch-controller/mclag-icl/set-tier-plus", + "params": { + "fortilink": {"type": "string", "required": "True"}, + "parent_peer1": {"type": "string", "required": "True"}, + "parent_peer2": {"type": "string", "required": "True"}, + "peer1": {"type": "string", "required": "True"}, + "peer2": {"type": "string", "required": "True"}, + "isl_port_group": {"type": "string", "required": "True"}, + }, + }, + "user.password-policy-conform": { + "url": "user/password-policy-conform/select", + "params": { + "username": {"type": "string", "required": "False"}, + "password": {"type": "string", "required": "True"}, + }, + }, + "change-password.user.local": { + "url": "user/local/change-password", + "params": { + "username": {"type": "string", "required": "True"}, + "new_password": {"type": "string", "required": "True"}, + }, + }, } @@ -1930,6 +1974,12 @@ def main(): "update.forticonverter.submitted-info", "start.forticonverter.download", "trial.user.fortitoken-cloud", + "unverify-cert.endpoint-control.ems", + "update-global-label.firewall.policy", + "update-global-label.firewall.security-policy", + "set-tier-plus.switch-controller.mclag-icl", + "user.password-policy-conform", + "change-password.user.local", ], }, } @@ -1937,6 +1987,10 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor_fact.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor_fact.py index 431865584..25e11cd21 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor_fact.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitor_fact.py @@ -439,6 +439,12 @@ options: - 'system_available-interfaces_meta' - 'system_central-management_status' - 'user_device_stats' + - 'casb_saas-application_details' + - 'switch-controller_mclag-icl_tier-plus-candidates' + - 'extension-controller_fortigate' + - 'extension-controller_lan-extension-vdom-status' + - 'user_proxy' + - 'user_proxy_count' selector: description: @@ -758,6 +764,12 @@ options: - 'system_available-interfaces_meta' - 'system_central-management_status' - 'user_device_stats' + - 'casb_saas-application_details' + - 'switch-controller_mclag-icl_tier-plus-candidates' + - 'extension-controller_fortigate' + - 'extension-controller_lan-extension-vdom-status' + - 'user_proxy' + - 'user_proxy_count' params: description: @@ -767,40 +779,30 @@ options: """ EXAMPLES = """ -- hosts: fortigate03 - connection: httpapi - collections: - - fortinet.fortios - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - - name: Get license shizzle - fortios_monitor_fact: - vdom: "" +- name: Get license status + fortinet.fortios.fortios_monitor_fact: + vdom: root selectors: - - selector: license_status - - selector: system_status - - selector: firewall_security-policy - params: - policyid: '1' + - selector: license_status + - selector: system_status + - selector: firewall_security-policy + params: + policyid: '1' - - fortios_monitor_fact: - vdom: "" - formatters: - - model_name - filters: - - model_name==FortiGat - selector: 'system_status' +- name: Get system status + fortinet.fortios.fortios_monitor_fact: + vdom: root + formatters: + - model_name + filters: + - model_name==FortiGat + selector: 'system_status' - - name: fact gathering - fortios_monitor_fact: - vdom: "" - access_token: "" - selector: 'firewall_acl' +- name: Get firewall acl info + fortinet.fortios.fortios_monitor_fact: + vdom: root + access_token: "you_own_value" + selector: 'firewall_acl' """ RETURN = """ @@ -944,12 +946,16 @@ module_selectors_defs = { "ipv6": {"type": "boolean", "required": "False"}, "srcintf": {"type": "string", "required": "True"}, "sourceport": {"type": "int", "required": "False"}, - "sourceip": {"type": "string", "required": "False"}, + "sourceip": {"type": "string", "required": "True"}, "protocol": {"type": "string", "required": "True"}, "dest": {"type": "string", "required": "True"}, "destport": {"type": "int", "required": "False"}, "icmptype": {"type": "int", "required": "False"}, "icmpcode": {"type": "int", "required": "False"}, + "policy_type": {"type": "string", "required": "False"}, + "auth_type": {"type": "string", "required": "False"}, + "user_group": {"type": "array", "required": "False"}, + "server_name": {"type": "string", "required": "False"}, }, }, "firewall_session": { @@ -989,7 +995,10 @@ module_selectors_defs = { "url": "firewall/shaper", "params": {"shaper_name": {"type": "string", "required": "False"}}, }, - "firewall_per-ip-shaper": {"url": "firewall/per-ip-shaper", "params": {}}, + "firewall_per-ip-shaper": { + "url": "firewall/per-ip-shaper", + "params": {"shaper_name": {"type": "string", "required": "False"}}, + }, "firewall_load-balance": {"url": "firewall/load-balance", "params": {}}, "firewall_address-fqdns": { "url": "firewall/address-fqdns", @@ -1413,6 +1422,8 @@ module_selectors_defs = { "mkey": {"type": "string", "required": "True"}, "status_only": {"type": "boolean", "required": "False"}, "include_notes": {"type": "boolean", "required": "False"}, + "counts_only": {"type": "boolean", "required": "False"}, + "entry": {"type": "object", "required": "False"}, }, }, "extender-controller_extender": { @@ -1434,7 +1445,6 @@ module_selectors_defs = { "params": { "ipv4": {"type": "boolean", "required": "False"}, "ipv6": {"type": "boolean", "required": "False"}, - "include_wad": {"type": "boolean", "required": "False"}, "include_fsso": {"type": "boolean", "required": "False"}, }, }, @@ -1527,6 +1537,7 @@ module_selectors_defs = { "params": { "type": {"type": "string", "required": "False"}, "with_triangulation": {"type": "boolean", "required": "False"}, + "with_stats": {"type": "boolean", "required": "False"}, }, }, "wifi_managed_ap": { @@ -1624,6 +1635,7 @@ module_selectors_defs = { "destination": {"type": "string", "required": "True"}, "source": {"type": "string", "required": "False"}, "destination_port": {"type": "int", "required": "False"}, + "source_port": {"type": "int", "required": "False"}, "interface_name": {"type": "string", "required": "False"}, "protocol_number": {"type": "int", "required": "False"}, }, @@ -2050,7 +2062,6 @@ module_selectors_defs = { "params": { "ipv4": {"type": "boolean", "required": "False"}, "ipv6": {"type": "boolean", "required": "False"}, - "include_wad": {"type": "boolean", "required": "False"}, "include_fsso": {"type": "boolean", "required": "False"}, }, }, @@ -2286,6 +2297,29 @@ module_selectors_defs = { "filter_logic": {"type": "string", "required": "False"}, }, }, + "casb_saas-application_details": { + "url": "casb/saas-application/details", + "params": {"mkey": {"type": "string", "required": "False"}}, + }, + "switch-controller_mclag-icl_tier-plus-candidates": { + "url": "switch-controller/mclag-icl/tier-plus-candidates", + "params": { + "fortilink": {"type": "string", "required": "True"}, + "parent_peer1": {"type": "string", "required": "True"}, + "parent_peer2": {"type": "string", "required": "True"}, + "is_tier2": {"type": "boolean", "required": "True"}, + }, + }, + "extension-controller_fortigate": { + "url": "extension-controller/fortigate", + "params": {}, + }, + "extension-controller_lan-extension-vdom-status": { + "url": "extension-controller/lan-extension-vdom-status", + "params": {}, + }, + "user_proxy": {"url": "user/proxy", "params": {}}, + "user_proxy_count": {"url": "user/proxy/count", "params": {}}, } @@ -2711,6 +2745,12 @@ def main(): "system_available-interfaces_meta", "system_central-management_status", "user_device_stats", + "casb_saas-application_details", + "switch-controller_mclag-icl_tier-plus-candidates", + "extension-controller_fortigate", + "extension-controller_lan-extension-vdom-status", + "user_proxy", + "user_proxy_count", ], }, "selectors": { @@ -3038,6 +3078,12 @@ def main(): "system_available-interfaces_meta", "system_central-management_status", "user_device_stats", + "casb_saas-application_details", + "switch-controller_mclag-icl_tier-plus-candidates", + "extension-controller_fortigate", + "extension-controller_lan-extension-vdom-status", + "user_proxy", + "user_proxy_count", ], }, }, diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_np6_ipsec_engine.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_np6_ipsec_engine.py index 6c2849611..98588718f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_np6_ipsec_engine.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_np6_ipsec_engine.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,24 +100,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NP6 IPsec engine status monitoring. - fortios_monitoring_np6_ipsec_engine: - vdom: "{{ vdom }}" +- name: Configure NP6 IPsec engine status monitoring. + fortinet.fortios.fortios_monitoring_np6_ipsec_engine: + vdom: "{{ vdom }}" monitoring_np6_ipsec_engine: - interval: "1" - status: "enable" - threshold: "" - + interval: "1" + status: "enable" + threshold: "" """ RETURN = """ @@ -176,7 +165,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -281,7 +269,6 @@ def is_successful_status(resp): def fortios_monitoring(data, fos): - fos.do_member_operation("monitoring", "np6-ipsec-engine") if data["monitoring_np6_ipsec_engine"]: resp = monitoring_np6_ipsec_engine(data, fos) @@ -300,143 +287,17 @@ def fortios_monitoring(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "interval": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "threshold": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", @@ -477,6 +338,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_npu_hpe.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_npu_hpe.py index b8ed6015b..57e11fe09 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_npu_hpe.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_monitoring_npu_hpe.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -99,24 +99,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure npu-hpe status monitoring. - fortios_monitoring_npu_hpe: - vdom: "{{ vdom }}" +- name: Configure npu-hpe status monitoring. + fortinet.fortios.fortios_monitoring_npu_hpe: + vdom: "{{ vdom }}" monitoring_npu_hpe: - interval: "1" - multipliers: "" - status: "enable" - + interval: "1" + multipliers: "" + status: "enable" """ RETURN = """ @@ -175,7 +164,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,7 +266,6 @@ def is_successful_status(resp): def fortios_monitoring(data, fos): - fos.do_member_operation("monitoring", "npu-hpe") if data["monitoring_npu_hpe"]: resp = monitoring_npu_hpe(data, fos) @@ -295,83 +282,17 @@ def fortios_monitoring(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "interval": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "interval": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "multipliers": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", @@ -410,6 +331,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_service_chain.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_service_chain.py index 21360c7c7..4524adb33 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_service_chain.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_service_chain.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Chain ID. + - Chain ID. see Notes. required: true type: int name: @@ -105,7 +107,7 @@ options: suboptions: id: description: - - Service index. + - Service index. see Notes. required: true type: int name: @@ -123,31 +125,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NSX-T service chain. - fortios_nsxt_service_chain: - vdom: "{{ vdom }}" +- name: Configure NSX-T service chain. + fortinet.fortios.fortios_nsxt_service_chain: + vdom: "{{ vdom }}" state: "present" access_token: "" nsxt_service_chain: - id: "3" - name: "default_name_4" - service_index: - - - id: "6" - name: "default_name_7" - reverse_index: "1" - vd: " (source system.vdom.name)" - + id: "3" + name: "default_name_4" + service_index: + - + id: "6" + name: "default_name_7" + reverse_index: "1" + vd: " (source system.vdom.name)" """ RETURN = """ @@ -206,7 +197,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -288,7 +278,6 @@ def is_successful_status(resp): def fortios_nsxt(data, fos): - fos.do_member_operation("nsxt", "service-chain") if data["nsxt_service_chain"]: resp = nsxt_service_chain(data, fos) @@ -309,38 +298,12 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, "service_index": { @@ -348,105 +311,43 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], "type": "integer", "required": True, }, "reverse_index": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], "type": "integer", }, "name": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], "type": "string", }, "vd": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], } @@ -481,6 +382,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_setting.py index 63d3f6965..72ba3d5e6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_nsxt_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,23 +94,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NSX-T setting. - fortios_nsxt_setting: - vdom: "{{ vdom }}" +- name: Configure NSX-T setting. + fortinet.fortios.fortios_nsxt_setting: + vdom: "{{ vdom }}" nsxt_setting: - liveness: "enable" - service: "" - + liveness: "enable" + service: "" """ RETURN = """ @@ -169,7 +158,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,7 +228,6 @@ def is_successful_status(resp): def fortios_nsxt(data, fos): - fos.do_member_operation("nsxt", "setting") if data["nsxt_setting"]: resp = nsxt_setting(data, fos) @@ -257,90 +244,16 @@ def fortios_nsxt(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "dict", "children": { "liveness": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "service": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, }, @@ -377,6 +290,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_pfcp_message_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_pfcp_message_filter.py index f357e34b1..afccb153c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_pfcp_message_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_pfcp_message_filter.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -185,7 +185,7 @@ options: suboptions: id: description: - - Message IDs (range from 1 to 255). + - Message IDs (range from 1 to 255). see Notes. required: true type: int version_not_support: @@ -198,40 +198,29 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Message filter for PFCP messages. - fortios_pfcp_message_filter: - vdom: "{{ vdom }}" +- name: Message filter for PFCP messages. + fortinet.fortios.fortios_pfcp_message_filter: + vdom: "{{ vdom }}" state: "present" access_token: "" pfcp_message_filter: - association_release: "allow" - association_setup: "allow" - association_update: "allow" - heartbeat: "allow" - name: "default_name_7" - node_report: "allow" - pfd_management: "allow" - session_deletion: "allow" - session_establish: "allow" - session_modification: "allow" - session_report: "allow" - session_set_deletion: "allow" - unknown_message: "allow" - unknown_message_allow_list: - - - id: "17" - version_not_support: "allow" - + association_release: "allow" + association_setup: "allow" + association_update: "allow" + heartbeat: "allow" + name: "default_name_7" + node_report: "allow" + pfd_management: "allow" + session_deletion: "allow" + session_establish: "allow" + session_modification: "allow" + session_report: "allow" + session_set_deletion: "allow" + unknown_message: "allow" + unknown_message_allow_list: + - + id: "17" + version_not_support: "allow" """ RETURN = """ @@ -290,7 +279,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -390,7 +378,6 @@ def is_successful_status(resp): def fortios_pfcp(data, fos): - fos.do_member_operation("pfcp", "message-filter") if data["pfcp_message_filter"]: resp = pfcp_message_filter(data, fos) @@ -411,550 +398,89 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "required": True, }, "unknown_message": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "unknown_message_allow_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, "heartbeat": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "pfd_management": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "version_not_support": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "session_establish": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "session_modification": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "session_deletion": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "session_report": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "association_setup": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "association_update": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "association_release": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "node_report": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "session_set_deletion": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], } @@ -989,6 +515,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_chart.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_chart.py index e339a5dd7..8fc46de5c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_chart.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_chart.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -152,7 +152,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int mapping: @@ -167,7 +167,7 @@ options: type: str id: description: - - id + - id see Notes. required: true type: int op: @@ -224,7 +224,7 @@ options: type: str id: description: - - Drill down chart ID. + - Drill down chart ID. see Notes. required: true type: int status: @@ -441,90 +441,79 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Report chart widget configuration. - fortios_report_chart: - vdom: "{{ vdom }}" +- name: Report chart widget configuration. + fortinet.fortios.fortios_report_chart: + vdom: "{{ vdom }}" state: "present" access_token: "" report_chart: - background: "" - category: "misc" - category_series: - databind: "" - font_size: "10" - color_palette: "" - column: - - - detail_unit: "" - detail_value: "" - footer_unit: "" - footer_value: "" - header_value: "" - id: "15" - mapping: - - - displayname: "" - id: "18" - op: "none" - value_type: "integer" - value1: "" - value2: "" - comments: "" - dataset: "" - dimension: "2D" - drill_down_charts: - - - chart_name: "" - id: "28" - status: "enable" - favorite: "no" - graph_type: "none" - legend: "enable" - legend_font_size: "2147483647" - name: "default_name_34" - period: "last24h" - policy: "2147483647" - style: "auto" - title: "" - title_font_size: "2147483647" - type: "graph" - value_series: - databind: "" - x_series: - caption: "" - caption_font_size: "10" - databind: "" - font_size: "10" - is_category: "yes" - label_angle: "45-degree" - scale_direction: "decrease" - scale_format: "YYYY-MM-DD-HH-MM" - scale_step: "32767" - scale_unit: "minute" - unit: "" - y_series: - caption: "" - caption_font_size: "10" - databind: "" - extra_databind: "" - extra_y: "enable" - extra_y_legend: "" - font_size: "10" - group: "" - label_angle: "45-degree" - unit: "" - y_legend: "" - + background: "" + category: "misc" + category_series: + databind: "" + font_size: "10" + color_palette: "" + column: + - + detail_unit: "" + detail_value: "" + footer_unit: "" + footer_value: "" + header_value: "" + id: "15" + mapping: + - + displayname: "" + id: "18" + op: "none" + value_type: "integer" + value1: "" + value2: "" + comments: "" + dataset: "" + dimension: "2D" + drill_down_charts: + - + chart_name: "" + id: "28" + status: "enable" + favorite: "no" + graph_type: "none" + legend: "enable" + legend_font_size: "2147483647" + name: "default_name_34" + period: "last24h" + policy: "2147483647" + style: "auto" + title: "" + title_font_size: "2147483647" + type: "graph" + value_series: + databind: "" + x_series: + caption: "" + caption_font_size: "10" + databind: "" + font_size: "10" + is_category: "yes" + label_angle: "45-degree" + scale_direction: "decrease" + scale_format: "YYYY-MM-DD-HH-MM" + scale_step: "32767" + scale_unit: "minute" + unit: "" + y_series: + caption: "" + caption_font_size: "10" + databind: "" + extra_databind: "" + extra_y: "enable" + extra_y_legend: "" + font_size: "10" + group: "" + label_angle: "45-degree" + unit: "" + y_legend: "" """ RETURN = """ @@ -583,7 +572,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -611,6 +599,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_report_chart_data(json): @@ -664,7 +655,6 @@ def underscore_to_hyphen(data): def report_chart(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -698,11 +688,16 @@ def report_chart(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -750,13 +745,12 @@ def is_successful_status(resp): def fortios_report(data, fos, check_mode): - fos.do_member_operation("report", "chart") if data["report_chart"]: resp = report_chart(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("report_chart")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -771,1966 +765,250 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "policy": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "required": True}, + "policy": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, "type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "graph", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "table", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "graph"}, {"value": "table"}], }, "period": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "last24h", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "last7d", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "last24h"}, {"value": "last7d"}], }, "drill_down_charts": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, - "chart_name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "chart_name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "status": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "comments": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dataset": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", "v6.4.4"]], }, + "comments": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "dataset": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "category": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "misc", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "traffic", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "event", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "virus", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "webfilter", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attack", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-ctrl", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vulnerability", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "misc"}, + {"value": "traffic"}, + {"value": "event"}, + {"value": "virus"}, + {"value": "webfilter"}, + {"value": "attack"}, + {"value": "spam"}, + {"value": "dlp"}, + {"value": "app-ctrl"}, + {"value": "vulnerability"}, ], }, "favorite": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "no", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "yes", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "no"}, {"value": "yes"}], }, "graph_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bar", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pie", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "line", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "flow", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "bar"}, + {"value": "pie"}, + {"value": "line"}, + {"value": "flow"}, ], }, "style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "manual", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "manual"}], }, "dimension": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "2D", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3D", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "2D"}, {"value": "3D"}], }, "x_series": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "dict", "children": { - "databind": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "caption": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "databind": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "caption": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "caption_font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", }, + "font_size": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, "label_angle": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "45-degree", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vertical", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "horizontal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "45-degree"}, + {"value": "vertical"}, + {"value": "horizontal"}, ], }, "is_category": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "yes"}, {"value": "no"}], }, "scale_unit": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "minute", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hour", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "day", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "month", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "year", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "minute"}, + {"value": "hour"}, + {"value": "day"}, + {"value": "month"}, + {"value": "year"}, ], }, - "scale_step": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "scale_step": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, "scale_direction": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "decrease", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "increase", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "decrease"}, {"value": "increase"}], }, "scale_format": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "YYYY-MM-DD-HH-MM", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "YYYY-MM-DD HH", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "YYYY-MM-DD", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "YYYY-MM", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "YYYY", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HH-MM", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MM-DD", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "YYYY-MM-DD-HH-MM"}, + {"value": "YYYY-MM-DD HH"}, + {"value": "YYYY-MM-DD"}, + {"value": "YYYY-MM"}, + {"value": "YYYY"}, + {"value": "HH-MM"}, + {"value": "MM-DD"}, ], }, - "unit": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "unit": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, }, "y_series": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "dict", "children": { - "databind": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "caption": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "databind": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "caption": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "caption_font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", }, + "font_size": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, "label_angle": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "45-degree", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vertical", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "horizontal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "45-degree"}, + {"value": "vertical"}, + {"value": "horizontal"}, ], }, - "group": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "unit": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "group": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "unit": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "extra_y": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "extra_databind": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "y_legend": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "extra_y_legend": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "extra_databind": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "y_legend": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "extra_y_legend": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, }, "category_series": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "dict", "children": { - "databind": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "databind": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "font_size": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, }, }, "value_series": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "dict", "children": { - "databind": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - } + "databind": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"} }, }, - "title": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "title_font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "background": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "color_palette": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "title": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "title_font_size": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, + "background": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "color_palette": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "legend": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "legend_font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "legend_font_size": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, "column": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, - "header_value": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "detail_value": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "footer_value": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "detail_unit": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "footer_unit": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "header_value": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "detail_value": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "footer_value": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "detail_unit": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "footer_unit": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "mapping": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, "op": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "greater", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "greater-equal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "less", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "less-equal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "equal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "between", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "greater"}, + {"value": "greater-equal"}, + {"value": "less"}, + {"value": "less-equal"}, + {"value": "equal"}, + {"value": "between"}, ], }, "value_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "integer", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "string", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "value1": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "value2": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "integer"}, {"value": "string"}], }, + "value1": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "value2": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "displayname": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], } @@ -2765,6 +1043,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_dataset.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_dataset.py index e79269f0a..4954b253e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_dataset.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_dataset.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,7 +100,7 @@ options: type: str id: description: - - Field ID (1 to number of columns in SQL result). + - Field ID (1 to number of columns in SQL result). see Notes. required: true type: int name: @@ -146,7 +146,7 @@ options: type: str id: description: - - Parameter ID (1 to number of columns in SQL result). + - Parameter ID (1 to number of columns in SQL result). see Notes. required: true type: int policy: @@ -160,38 +160,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Report dataset configuration. - fortios_report_dataset: - vdom: "{{ vdom }}" +- name: Report dataset configuration. + fortinet.fortios.fortios_report_dataset: + vdom: "{{ vdom }}" state: "present" access_token: "" report_dataset: - field: - - - displayname: "" - id: "5" - name: "default_name_6" - type: "text" - name: "default_name_8" - parameters: - - - data_type: "text" - display_name: "" - field: "" - id: "13" - policy: "2147483647" - query: "" - + field: + - + displayname: "" + id: "5" + name: "default_name_6" + type: "text" + name: "default_name_8" + parameters: + - + data_type: "text" + display_name: "" + field: "" + id: "13" + policy: "2147483647" + query: "" """ RETURN = """ @@ -250,7 +239,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,6 +266,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_report_dataset_data(json): @@ -307,7 +298,6 @@ def underscore_to_hyphen(data): def report_dataset(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -343,11 +333,16 @@ def report_dataset(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -395,13 +390,12 @@ def is_successful_status(resp): def fortios_report(data, fos, check_mode): - fos.do_member_operation("report", "dataset") if data["report_dataset"]: resp = report_dataset(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("report_dataset")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -416,347 +410,59 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "policy": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "query": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "required": True}, + "policy": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, + "query": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "field": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "text", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "integer", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "double", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "text"}, + {"value": "integer"}, + {"value": "double"}, ], }, - "name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "displayname": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "displayname": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.4.4"]], }, "parameters": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, - "display_name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "field": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "display_name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "field": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "data_type": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "text", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "integer", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "double", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "long-integer", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "date-time", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "text"}, + {"value": "integer"}, + {"value": "double"}, + {"value": "long-integer"}, + {"value": "date-time"}, ], }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], } @@ -791,6 +497,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_layout.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_layout.py index 6e761854b..660616566 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_layout.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_layout.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -136,7 +136,7 @@ options: - 'disable' id: description: - - Report item ID. + - Report item ID. see Notes. required: true type: int img_src: @@ -155,7 +155,7 @@ options: type: str id: description: - - List entry ID. + - List entry ID. see Notes. required: true type: int list_component: @@ -182,7 +182,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -343,7 +343,7 @@ options: type: str id: description: - - Report item ID. + - Report item ID. see Notes. required: true type: int img_src: @@ -386,7 +386,7 @@ options: type: str id: description: - - Report item ID. + - Report item ID. see Notes. required: true type: int img_src: @@ -459,96 +459,85 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Report layout configuration. - fortios_report_layout: - vdom: "{{ vdom }}" +- name: Report layout configuration. + fortinet.fortios.fortios_report_layout: + vdom: "{{ vdom }}" state: "present" access_token: "" report_layout: - body_item: - - - chart: "" - chart_options: "include-no-data" - column: "2147483647" - content: "" - description: "" - drill_down_items: "" - drill_down_types: "" - hide: "enable" - id: "12" - img_src: "" - list: - - - content: "" - id: "16" - list_component: "bullet" - misc_component: "hline" - parameters: - - - id: "20" - name: "default_name_21" - value: "" - style: "" - table_caption_style: "" - table_column_widths: "" - table_even_row_style: "" - table_head_style: "" - table_odd_row_style: "" - text_component: "text" - title: "" - top_n: "0" - type: "text" - cutoff_option: "run-time" - cutoff_time: "" - day: "sunday" - description: "" - email_recipients: "" - email_send: "enable" - format: "pdf" - max_pdf_report: "31" - name: "default_name_41" - options: "include-table-of-content" - page: - column_break_before: "heading1" - footer: - footer_item: - - - content: "" - description: "" - id: "49" - img_src: "" - style: "" - type: "text" - style: "" - header: - header_item: - - - content: "" - description: "" - id: "58" - img_src: "" - style: "" - type: "text" - style: "" - options: "header-on-first-page" - page_break_before: "heading1" - paper: "a4" - schedule_type: "demand" - style_theme: "" - subtitle: "" - time: "" - title: "" - + body_item: + - + chart: "" + chart_options: "include-no-data" + column: "2147483647" + content: "" + description: "" + drill_down_items: "" + drill_down_types: "" + hide: "enable" + id: "12" + img_src: "" + list: + - + content: "" + id: "16" + list_component: "bullet" + misc_component: "hline" + parameters: + - + id: "20" + name: "default_name_21" + value: "" + style: "" + table_caption_style: "" + table_column_widths: "" + table_even_row_style: "" + table_head_style: "" + table_odd_row_style: "" + text_component: "text" + title: "" + top_n: "0" + type: "text" + cutoff_option: "run-time" + cutoff_time: "" + day: "sunday" + description: "" + email_recipients: "" + email_send: "enable" + format: "pdf" + max_pdf_report: "31" + name: "default_name_41" + options: "include-table-of-content" + page: + column_break_before: "heading1" + footer: + footer_item: + - + content: "" + description: "" + id: "49" + img_src: "" + style: "" + type: "text" + style: "" + header: + header_item: + - + content: "" + description: "" + id: "58" + img_src: "" + style: "" + type: "text" + style: "" + options: "header-on-first-page" + page_break_before: "heading1" + paper: "a4" + schedule_type: "demand" + style_theme: "" + subtitle: "" + time: "" + title: "" """ RETURN = """ @@ -607,7 +596,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -635,6 +623,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_report_layout_data(json): @@ -716,7 +707,6 @@ def underscore_to_hyphen(data): def report_layout(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -751,11 +741,16 @@ def report_layout(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -803,13 +798,12 @@ def is_successful_status(resp): def fortios_report(data, fos, check_mode): - fos.do_member_operation("report", "layout") if data["report_layout"]: resp = report_layout(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("report_layout")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -824,2138 +818,181 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "title": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subtitle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "style_theme": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "title": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subtitle": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "style_theme": {"v_range": [["v6.0.0", ""]], "type": "string"}, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "include-table-of-content", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto-numbering-heading", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "view-chart-as-heading", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "show-html-navbar-before-heading", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dummy-option", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "include-table-of-content"}, + {"value": "auto-numbering-heading"}, + {"value": "view-chart-as-heading"}, + {"value": "show-html-navbar-before-heading"}, + {"value": "dummy-option"}, ], "multiple_values": True, "elements": "str", }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "pdf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "pdf"}], "multiple_values": True, "elements": "str", }, "schedule_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "demand", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "demand"}, {"value": "daily"}, {"value": "weekly"}], }, "day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], }, - "time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "cutoff_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "run-time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "cutoff_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "run-time"}, {"value": "custom"}], }, + "cutoff_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "email_send": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "email_recipients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "max_pdf_report": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "email_recipients": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "max_pdf_report": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "paper": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "a4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "letter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "a4"}, {"value": "letter"}], }, "column_break_before": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "heading1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heading2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heading3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "heading1"}, + {"value": "heading2"}, + {"value": "heading3"}, ], "multiple_values": True, "elements": "str", }, "page_break_before": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "heading1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heading2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heading3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "heading1"}, + {"value": "heading2"}, + {"value": "heading3"}, ], "multiple_values": True, "elements": "str", }, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "header-on-first-page", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "footer-on-first-page", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "header-on-first-page"}, + {"value": "footer-on-first-page"}, ], "multiple_values": True, "elements": "str", }, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "style": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "style": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header_item": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "image", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "text"}, {"value": "image"}], }, "style": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "content": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "img_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, }, "footer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "style": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "style": {"v_range": [["v6.0.0", ""]], "type": "string"}, "footer_item": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "image", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "text"}, {"value": "image"}], }, "style": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "content": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "img_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, }, @@ -2966,1237 +1003,132 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "image", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "misc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "text"}, + {"value": "image"}, + {"value": "chart"}, + {"value": "misc"}, ], }, - "style": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "top_n": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "style": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "top_n": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "parameters": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "text_component": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heading1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heading2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "heading3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "text"}, + {"value": "heading1"}, + {"value": "heading2"}, + {"value": "heading3"}, ], }, - "content": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "img_src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "chart": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "content": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "img_src": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "chart": {"v_range": [["v6.0.0", ""]], "type": "string"}, "chart_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "include-no-data", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hide-title", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "show-caption", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "include-no-data"}, + {"value": "hide-title"}, + {"value": "show-caption"}, ], "multiple_values": True, "elements": "str", }, "misc_component": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "hline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "page-break", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "column-break", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "section-start", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "hline"}, + {"value": "page-break"}, + {"value": "column-break"}, + {"value": "section-start"}, ], }, - "title": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "title": {"v_range": [["v6.0.0", ""]], "type": "string"}, "hide": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "list_component": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "bullet", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "numbered", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "bullet"}, {"value": "numbered"}], }, "list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, "content": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], }, "drill_down_items": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, "drill_down_types": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, "table_column_widths": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, "table_caption_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, "table_head_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, "table_odd_row_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, "table_even_row_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, - "column": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "column": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -4231,6 +1163,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_setting.py index 33cca2557..9a4660d31 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,26 +114,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Report setting configuration. - fortios_report_setting: - vdom: "{{ vdom }}" +- name: Report setting configuration. + fortinet.fortios.fortios_report_setting: + vdom: "{{ vdom }}" report_setting: - fortiview: "enable" - pdf_report: "enable" - report_source: "forward-traffic" - top_n: "1000" - web_browsing_threshold: "3" - + fortiview: "enable" + pdf_report: "enable" + report_source: "forward-traffic" + top_n: "1000" + web_browsing_threshold: "3" """ RETURN = """ @@ -192,7 +181,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -301,7 +289,6 @@ def is_successful_status(resp): def fortios_report(data, fos): - fos.do_member_operation("report", "setting") if data["report_setting"]: resp = report_setting(data, fos) @@ -318,390 +305,32 @@ def fortios_report(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "pdf_report": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiview": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "report_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "forward-traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sniffer-traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local-deny-traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "forward-traffic"}, + {"value": "sniffer-traffic"}, + {"value": "local-deny-traffic"}, ], "multiple_values": True, "elements": "str", }, - "web_browsing_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "top_n": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "web_browsing_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "top_n": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -736,6 +365,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_style.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_style.py index f4e46bbf6..bf97b0094 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_style.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_style.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -227,49 +227,38 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Report style configuration. - fortios_report_style: - vdom: "{{ vdom }}" +- name: Report style configuration. + fortinet.fortios.fortios_report_style: + vdom: "{{ vdom }}" state: "present" access_token: "" report_style: - align: "left" - bg_color: "" - border_bottom: "" - border_left: "" - border_right: "" - border_top: "" - column_gap: "" - column_span: "none" - fg_color: "" - font_family: "Verdana" - font_size: "" - font_style: "normal" - font_weight: "normal" - height: "" - line_height: "" - margin_bottom: "" - margin_left: "" - margin_right: "" - margin_top: "" - name: "default_name_22" - options: "font" - padding_bottom: "" - padding_left: "" - padding_right: "" - padding_top: "" - width: "" - + align: "left" + bg_color: "" + border_bottom: "" + border_left: "" + border_right: "" + border_top: "" + column_gap: "" + column_span: "none" + fg_color: "" + font_family: "Verdana" + font_size: "" + font_style: "normal" + font_weight: "normal" + height: "" + line_height: "" + margin_bottom: "" + margin_left: "" + margin_right: "" + margin_top: "" + name: "default_name_22" + options: "font" + padding_bottom: "" + padding_left: "" + padding_right: "" + padding_top: "" + width: "" """ RETURN = """ @@ -328,7 +317,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -356,6 +344,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_report_style_data(json): @@ -441,7 +432,6 @@ def underscore_to_hyphen(data): def report_style(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -476,11 +466,16 @@ def report_style(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -528,13 +523,12 @@ def is_successful_status(resp): def fortios_report(data, fos, check_mode): - fos.do_member_operation("report", "style") if data["report_style"]: resp = report_style(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("report_style")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -549,784 +543,81 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "required": True}, "options": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "font", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "color", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "align", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "size", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "margin", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "border", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "padding", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "column", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "font"}, + {"value": "text"}, + {"value": "color"}, + {"value": "align"}, + {"value": "size"}, + {"value": "margin"}, + {"value": "border"}, + {"value": "padding"}, + {"value": "column"}, ], "multiple_values": True, "elements": "str", }, "font_family": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "Verdana", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Arial", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Helvetica", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Courier", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Times", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "Verdana"}, + {"value": "Arial"}, + {"value": "Helvetica"}, + {"value": "Courier"}, + {"value": "Times"}, ], }, "font_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "normal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "italic", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "normal"}, {"value": "italic"}], }, "font_weight": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "normal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bold", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "font_size": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "line_height": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fg_color": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "bg_color": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", + "options": [{"value": "normal"}, {"value": "bold"}], }, + "font_size": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "line_height": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "fg_color": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "bg_color": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "align": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "left", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "center", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "right", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "justify", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "left"}, + {"value": "center"}, + {"value": "right"}, + {"value": "justify"}, ], }, - "width": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "height": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "margin_top": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "margin_right": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "margin_bottom": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "margin_left": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "border_top": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "border_right": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "border_bottom": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "border_left": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "padding_top": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "padding_right": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "padding_bottom": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "padding_left": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "width": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "height": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "margin_top": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "margin_right": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "margin_bottom": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "margin_left": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "border_top": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "border_right": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "border_bottom": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "border_left": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "padding_top": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "padding_right": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "padding_bottom": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "padding_left": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "column_span": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "all", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "all"}], }, - "column_gap": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "column_gap": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.4.4"]], } @@ -1361,6 +652,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_theme.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_theme.py index 67b81c554..b8a925de9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_theme.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_report_theme.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -219,53 +219,42 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Report themes configuration - fortios_report_theme: - vdom: "{{ vdom }}" +- name: Report themes configuration + fortinet.fortios.fortios_report_theme: + vdom: "{{ vdom }}" state: "present" access_token: "" report_theme: - bullet_list_style: "" - column_count: "1" - default_html_style: "" - default_pdf_style: "" - graph_chart_style: "" - heading1_style: "" - heading2_style: "" - heading3_style: "" - heading4_style: "" - hline_style: "" - image_style: "" - name: "default_name_14" - normal_text_style: "" - numbered_list_style: "" - page_footer_style: "" - page_header_style: "" - page_orient: "portrait" - page_style: "" - report_subtitle_style: "" - report_title_style: "" - table_chart_caption_style: "" - table_chart_even_row_style: "" - table_chart_head_style: "" - table_chart_odd_row_style: "" - table_chart_style: "" - toc_heading1_style: "" - toc_heading2_style: "" - toc_heading3_style: "" - toc_heading4_style: "" - toc_title_style: "" - + bullet_list_style: "" + column_count: "1" + default_html_style: "" + default_pdf_style: "" + graph_chart_style: "" + heading1_style: "" + heading2_style: "" + heading3_style: "" + heading4_style: "" + hline_style: "" + image_style: "" + name: "default_name_14" + normal_text_style: "" + numbered_list_style: "" + page_footer_style: "" + page_header_style: "" + page_orient: "portrait" + page_style: "" + report_subtitle_style: "" + report_title_style: "" + table_chart_caption_style: "" + table_chart_even_row_style: "" + table_chart_head_style: "" + table_chart_odd_row_style: "" + table_chart_style: "" + toc_heading1_style: "" + toc_heading2_style: "" + toc_heading3_style: "" + toc_heading4_style: "" + toc_title_style: "" """ RETURN = """ @@ -324,7 +313,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -352,6 +340,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_report_theme_data(json): @@ -412,7 +403,6 @@ def underscore_to_hyphen(data): def report_theme(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -446,11 +436,16 @@ def report_theme(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -498,13 +493,12 @@ def is_successful_status(resp): def fortios_report(data, fos, check_mode): - fos.do_member_operation("report", "theme") if data["report_theme"]: resp = report_theme(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("report_theme")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -519,549 +513,55 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "required": True}, "page_orient": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "portrait", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "landscape", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "portrait"}, {"value": "landscape"}], }, "column_count": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "default_html_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "default_pdf_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "page_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "page_header_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "page_footer_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "report_title_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "report_subtitle_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "toc_title_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "toc_heading1_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "toc_heading2_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - }, - "toc_heading3_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "toc_heading4_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "heading1_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "heading2_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "heading3_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "heading4_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "normal_text_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "bullet_list_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "numbered_list_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "image_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hline_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "graph_chart_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "table_chart_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "options": [{"value": "1"}, {"value": "2"}, {"value": "3"}], + }, + "default_html_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "default_pdf_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "page_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "page_header_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "page_footer_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "report_title_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "report_subtitle_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "toc_title_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "toc_heading1_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "toc_heading2_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "toc_heading3_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "toc_heading4_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "heading1_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "heading2_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "heading3_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "heading4_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "normal_text_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "bullet_list_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "numbered_list_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "image_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "hline_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "graph_chart_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "table_chart_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "table_chart_caption_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "table_chart_head_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, + "table_chart_head_style": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, "table_chart_odd_row_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, "table_chart_even_row_style": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", }, }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], } @@ -1096,6 +596,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list.py index 82ac7cdeb..16f6e6aae 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,7 +123,7 @@ options: type: int id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int prefix: @@ -137,33 +137,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure access lists. - fortios_router_access_list: - vdom: "{{ vdom }}" +- name: Configure access lists. + fortinet.fortios.fortios_router_access_list: + vdom: "{{ vdom }}" state: "present" access_token: "" router_access_list: - comments: "" - name: "default_name_4" - rule: - - - action: "permit" - exact_match: "enable" - flags: "2147483647" - id: "9" - prefix: "" - wildcard: "" - + comments: "" + name: "default_name_4" + rule: + - + action: "permit" + exact_match: "enable" + flags: "2147483647" + id: "9" + prefix: "" + wildcard: "" """ RETURN = """ @@ -222,7 +211,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,6 +238,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_access_list_data(json): @@ -279,7 +270,6 @@ def underscore_to_hyphen(data): def router_access_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -315,11 +305,16 @@ def router_access_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -369,13 +364,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "access-list") if data["router_access_list"]: resp = router_access_list(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_access_list")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -390,405 +384,35 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wildcard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "permit"}, {"value": "deny"}], }, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wildcard": {"v_range": [["v6.0.0", ""]], "type": "string"}, "exact_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "flags": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "flags": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -823,6 +447,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list6.py index e92528e54..b359464e5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_access_list6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,7 +123,7 @@ options: type: int id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int prefix6: @@ -133,32 +133,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 access lists. - fortios_router_access_list6: - vdom: "{{ vdom }}" +- name: Configure IPv6 access lists. + fortinet.fortios.fortios_router_access_list6: + vdom: "{{ vdom }}" state: "present" access_token: "" router_access_list6: - comments: "" - name: "default_name_4" - rule: - - - action: "permit" - exact_match: "enable" - flags: "0" - id: "9" - prefix6: "" - + comments: "" + name: "default_name_4" + rule: + - + action: "permit" + exact_match: "enable" + flags: "0" + id: "9" + prefix6: "" """ RETURN = """ @@ -217,7 +206,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -245,6 +233,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_access_list6_data(json): @@ -274,7 +265,6 @@ def underscore_to_hyphen(data): def router_access_list6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -310,11 +300,16 @@ def router_access_list6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -364,13 +359,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "access-list6") if data["router_access_list6"]: resp = router_access_list6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_access_list6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -385,383 +379,37 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "permit"}, {"value": "deny"}], }, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "exact_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "flags": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -796,6 +444,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_aspath_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_aspath_list.py index 6927a352e..12b2036b1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_aspath_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_aspath_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,7 +108,7 @@ options: - 'permit' id: description: - - ID. + - ID. see Notes. required: true type: int regexp: @@ -118,29 +118,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Autonomous System (AS) path lists. - fortios_router_aspath_list: - vdom: "{{ vdom }}" +- name: Configure Autonomous System (AS) path lists. + fortinet.fortios.fortios_router_aspath_list: + vdom: "{{ vdom }}" state: "present" access_token: "" router_aspath_list: - name: "default_name_3" - rule: - - - action: "deny" - id: "6" - regexp: "" - + name: "default_name_3" + rule: + - + action: "deny" + id: "6" + regexp: "" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -227,6 +215,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_aspath_list_data(json): @@ -256,7 +247,6 @@ def underscore_to_hyphen(data): def router_aspath_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -292,11 +282,16 @@ def router_aspath_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,13 +341,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "aspath-list") if data["router_aspath_list"]: resp = router_aspath_list(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_aspath_list")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,243 +361,27 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "regexp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "deny"}, {"value": "permit"}], }, + "regexp": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -638,6 +416,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_auth_path.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_auth_path.py index 27628372c..388b31072 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_auth_path.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_auth_path.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure authentication based routing. - fortios_router_auth_path: - vdom: "{{ vdom }}" +- name: Configure authentication based routing. + fortinet.fortios.fortios_router_auth_path: + vdom: "{{ vdom }}" state: "present" access_token: "" router_auth_path: - device: " (source system.interface.name)" - gateway: "" - name: "default_name_5" - + device: " (source system.interface.name)" + gateway: "" + name: "default_name_5" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -210,6 +198,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_auth_path_data(json): @@ -239,7 +230,6 @@ def underscore_to_hyphen(data): def router_auth_path(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -275,11 +265,16 @@ def router_auth_path(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -327,13 +322,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "auth-path") if data["router_auth_path"]: resp = router_auth_path(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_auth_path")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -348,121 +342,11 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -497,6 +381,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd.py index 1fade5ae3..1fa0d6a93 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,7 +111,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int md5_key: @@ -140,35 +140,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure BFD. - fortios_router_bfd: - vdom: "{{ vdom }}" +- name: Configure BFD. + fortinet.fortios.fortios_router_bfd: + vdom: "{{ vdom }}" router_bfd: - multihop_template: - - - auth_mode: "none" - bfd_desired_min_tx: "250" - bfd_detect_mult: "3" - bfd_required_min_rx: "250" - dst: "" - id: "9" - md5_key: "" - src: "" - neighbor: - - - interface: " (source system.interface.name)" - ip: "" - + multihop_template: + - + auth_mode: "none" + bfd_desired_min_tx: "250" + bfd_detect_mult: "3" + bfd_required_min_rx: "250" + dst: "" + id: "9" + md5_key: "" + src: "" + neighbor: + - + interface: " (source system.interface.name)" + ip: "" """ RETURN = """ @@ -227,7 +216,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -298,7 +286,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "bfd") if data["router_bfd"]: resp = router_bfd(data, fos) @@ -315,289 +302,40 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "neighbor": { "type": "list", "elements": "dict", "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "multihop_template": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [["v7.0.6", ""]], "type": "integer", "required": True, }, - "src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "string", - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "string", - }, - "bfd_desired_min_tx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "integer", - }, - "bfd_required_min_rx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "integer", - }, - "bfd_detect_mult": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "integer", - }, + "src": {"v_range": [["v7.0.6", ""]], "type": "string"}, + "dst": {"v_range": [["v7.0.6", ""]], "type": "string"}, + "bfd_desired_min_tx": {"v_range": [["v7.0.6", ""]], "type": "integer"}, + "bfd_required_min_rx": {"v_range": [["v7.0.6", ""]], "type": "integer"}, + "bfd_detect_mult": {"v_range": [["v7.0.6", ""]], "type": "integer"}, "auth_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], - }, - "md5_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [["v7.0.6", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "md5"}], }, + "md5_key": {"v_range": [["v7.0.6", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", ""]], }, }, } @@ -633,6 +371,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd6.py index 253238dc7..d14e6c2db 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bfd6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,7 +111,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int md5_key: @@ -140,35 +140,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 BFD. - fortios_router_bfd6: - vdom: "{{ vdom }}" +- name: Configure IPv6 BFD. + fortinet.fortios.fortios_router_bfd6: + vdom: "{{ vdom }}" router_bfd6: - multihop_template: - - - auth_mode: "none" - bfd_desired_min_tx: "250" - bfd_detect_mult: "3" - bfd_required_min_rx: "250" - dst: "" - id: "9" - md5_key: "" - src: "" - neighbor: - - - interface: " (source system.interface.name)" - ip6_address: "" - + multihop_template: + - + auth_mode: "none" + bfd_desired_min_tx: "250" + bfd_detect_mult: "3" + bfd_required_min_rx: "250" + dst: "" + id: "9" + md5_key: "" + src: "" + neighbor: + - + interface: " (source system.interface.name)" + ip6_address: "" """ RETURN = """ @@ -227,7 +216,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -298,7 +286,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "bfd6") if data["router_bfd6"]: resp = router_bfd6(data, fos) @@ -315,32 +302,7 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "neighbor": { @@ -348,256 +310,36 @@ versioned_schema = { "elements": "dict", "children": { "ip6_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "multihop_template": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [["v7.0.6", ""]], "type": "integer", "required": True, }, - "src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "string", - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "string", - }, - "bfd_desired_min_tx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "integer", - }, - "bfd_required_min_rx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "integer", - }, - "bfd_detect_mult": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "integer", - }, + "src": {"v_range": [["v7.0.6", ""]], "type": "string"}, + "dst": {"v_range": [["v7.0.6", ""]], "type": "string"}, + "bfd_desired_min_tx": {"v_range": [["v7.0.6", ""]], "type": "integer"}, + "bfd_required_min_rx": {"v_range": [["v7.0.6", ""]], "type": "integer"}, + "bfd_detect_mult": {"v_range": [["v7.0.6", ""]], "type": "integer"}, "auth_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], - }, - "md5_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [["v7.0.6", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "md5"}], }, + "md5_key": {"v_range": [["v7.0.6", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", ""]], }, }, } @@ -633,6 +375,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bgp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bgp.py index 3dfb9803c..2eccab8e0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bgp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_bgp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -125,7 +125,7 @@ options: type: int id: description: - - ID. + - ID. see Notes. required: true type: int neighbour_prefix: @@ -151,7 +151,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int prefix: @@ -180,7 +180,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int prefix6: @@ -773,6 +773,10 @@ options: description: - BGP filter for IPv4 inbound routes. Source router.aspath-list.name. type: str + filter_list_in_vpnv4: + description: + - BGP filter for VPNv4 inbound routes. Source router.aspath-list.name. + type: str filter_list_in6: description: - BGP filter for IPv6 inbound routes. Source router.aspath-list.name. @@ -781,6 +785,10 @@ options: description: - BGP filter for IPv4 outbound routes. Source router.aspath-list.name. type: str + filter_list_out_vpnv4: + description: + - BGP filter for VPNv4 outbound routes. Source router.aspath-list.name. + type: str filter_list_out6: description: - BGP filter for IPv6 outbound routes. Source router.aspath-list.name. @@ -1511,6 +1519,10 @@ options: description: - BGP filter for IPv4 inbound routes. Source router.aspath-list.name. type: str + filter_list_in_vpnv4: + description: + - BGP filter for VPNv4 inbound routes. Source router.aspath-list.name. + type: str filter_list_in6: description: - BGP filter for IPv6 inbound routes. Source router.aspath-list.name. @@ -1519,6 +1531,10 @@ options: description: - BGP filter for IPv4 outbound routes. Source router.aspath-list.name. type: str + filter_list_out_vpnv4: + description: + - BGP filter for VPNv4 outbound routes. Source router.aspath-list.name. + type: str filter_list_out6: description: - BGP filter for IPv6 outbound routes. Source router.aspath-list.name. @@ -1952,7 +1968,7 @@ options: suboptions: id: description: - - Neighbor range ID. + - Neighbor range ID. see Notes. required: true type: int max_neighbor_num: @@ -1975,7 +1991,7 @@ options: suboptions: id: description: - - IPv6 neighbor range ID. + - IPv6 neighbor range ID. see Notes. required: true type: int max_neighbor_num: @@ -2005,7 +2021,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int network_import_check: @@ -2046,7 +2062,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int network_import_check: @@ -2160,7 +2176,7 @@ options: suboptions: route_target: description: - - 'Attribute: AA|AA:NN.' + - 'Attribute: AA:NN|A.B.C.D:NN.' required: true type: str import_route_map: @@ -2175,7 +2191,7 @@ options: suboptions: route_target: description: - - 'Attribute: AA|AA:NN.' + - 'Attribute: AA:NN|A.B.C.D:NN' required: true type: str leak_target: @@ -2199,7 +2215,7 @@ options: type: str rd: description: - - 'Route Distinguisher: AA|AA:NN.' + - 'Route Distinguisher: AA:NN|A.B.C.D:NN.' type: str role: description: @@ -2307,441 +2323,434 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure BGP. - fortios_router_bgp: - vdom: "{{ vdom }}" +- name: Configure BGP. + fortinet.fortios.fortios_router_bgp: + vdom: "{{ vdom }}" router_bgp: - additional_path: "enable" - additional_path_select: "2" - additional_path_select_vpnv4: "2" - additional_path_select6: "2" - additional_path_vpnv4: "enable" - additional_path6: "enable" - admin_distance: - - - distance: "0" - id: "11" - neighbour_prefix: "" - route_list: " (source router.access-list.name)" - aggregate_address: - - - as_set: "enable" - id: "16" - prefix: "" - summary_only: "enable" - aggregate_address6: - - - as_set: "enable" - id: "21" - prefix6: "" - summary_only: "enable" - always_compare_med: "enable" - as: "" - bestpath_as_path_ignore: "enable" - bestpath_cmp_confed_aspath: "enable" - bestpath_cmp_routerid: "enable" - bestpath_med_confed: "enable" - bestpath_med_missing_as_worst: "enable" - client_to_client_reflection: "enable" - cluster_id: "" - confederation_identifier: "0" - confederation_peers: - - - peer: "" - cross_family_conditional_adv: "enable" - dampening: "enable" - dampening_max_suppress_time: "60" - dampening_reachability_half_life: "15" - dampening_reuse: "750" - dampening_route_map: " (source router.route-map.name)" - dampening_suppress: "2000" - dampening_unreachability_half_life: "15" - default_local_preference: "100" - deterministic_med: "enable" - distance_external: "20" - distance_internal: "200" - distance_local: "200" - ebgp_multipath: "enable" - enforce_first_as: "enable" - fast_external_failover: "enable" - graceful_end_on_timer: "enable" - graceful_restart: "enable" - graceful_restart_time: "120" - graceful_stalepath_time: "360" - graceful_update_delay: "120" - holdtime_timer: "180" - ibgp_multipath: "enable" - ignore_optional_capability: "enable" - keepalive_timer: "60" - log_neighbour_changes: "enable" - multipath_recursive_distance: "enable" - neighbor: - - - activate: "enable" - activate_evpn: "enable" - activate_vpnv4: "enable" - activate6: "enable" - additional_path: "send" - additional_path_vpnv4: "send" - additional_path6: "send" - adv_additional_path: "2" - adv_additional_path_vpnv4: "2" - adv_additional_path6: "2" - advertisement_interval: "30" - allowas_in: "3" - allowas_in_enable: "enable" - allowas_in_enable_evpn: "enable" - allowas_in_enable_vpnv4: "enable" - allowas_in_enable6: "enable" - allowas_in_evpn: "3" - allowas_in_vpnv4: "3" - allowas_in6: "3" - as_override: "enable" - as_override6: "enable" - attribute_unchanged: "as-path" - attribute_unchanged_vpnv4: "as-path" - attribute_unchanged6: "as-path" - bfd: "enable" - capability_default_originate: "enable" - capability_default_originate6: "enable" - capability_dynamic: "enable" - capability_graceful_restart: "enable" - capability_graceful_restart_evpn: "enable" - capability_graceful_restart_vpnv4: "enable" - capability_graceful_restart6: "enable" - capability_orf: "none" - capability_orf6: "none" - capability_route_refresh: "enable" - conditional_advertise: - - - advertise_routemap: " (source router.route-map.name)" - condition_routemap: - - - name: "default_name_102 (source router.route-map.name)" - condition_type: "exist" - conditional_advertise6: - - - advertise_routemap: " (source router.route-map.name)" - condition_routemap: - - - name: "default_name_107 (source router.route-map.name)" - condition_type: "exist" - connect_timer: "4294967295" - default_originate_routemap: " (source router.route-map.name)" - default_originate_routemap6: " (source router.route-map.name)" - description: "" - distribute_list_in: " (source router.access-list.name)" - distribute_list_in_vpnv4: " (source router.access-list.name)" - distribute_list_in6: " (source router.access-list6.name)" - distribute_list_out: " (source router.access-list.name)" - distribute_list_out_vpnv4: " (source router.access-list.name)" - distribute_list_out6: " (source router.access-list6.name)" - dont_capability_negotiate: "enable" - ebgp_enforce_multihop: "enable" - ebgp_multihop_ttl: "255" - filter_list_in: " (source router.aspath-list.name)" - filter_list_in6: " (source router.aspath-list.name)" - filter_list_out: " (source router.aspath-list.name)" - filter_list_out6: " (source router.aspath-list.name)" - holdtime_timer: "4294967295" - interface: " (source system.interface.name)" - ip: "" - keep_alive_timer: "4294967295" - link_down_failover: "enable" - local_as: "" - local_as_no_prepend: "enable" - local_as_replace_as: "enable" - maximum_prefix: "0" - maximum_prefix_evpn: "0" - maximum_prefix_threshold: "75" - maximum_prefix_threshold_evpn: "75" - maximum_prefix_threshold_vpnv4: "75" - maximum_prefix_threshold6: "75" - maximum_prefix_vpnv4: "0" - maximum_prefix_warning_only: "enable" - maximum_prefix_warning_only_evpn: "enable" - maximum_prefix_warning_only_vpnv4: "enable" - maximum_prefix_warning_only6: "enable" - maximum_prefix6: "0" - next_hop_self: "enable" - next_hop_self_rr: "enable" - next_hop_self_rr6: "enable" - next_hop_self_vpnv4: "enable" - next_hop_self6: "enable" - override_capability: "enable" - passive: "enable" - password: "" - prefix_list_in: " (source router.prefix-list.name)" - prefix_list_in_vpnv4: " (source router.prefix-list.name)" - prefix_list_in6: " (source router.prefix-list6.name)" - prefix_list_out: " (source router.prefix-list.name)" - prefix_list_out_vpnv4: " (source router.prefix-list.name)" - prefix_list_out6: " (source router.prefix-list6.name)" - remote_as: "" - remove_private_as: "enable" - remove_private_as_evpn: "enable" - remove_private_as_vpnv4: "enable" - remove_private_as6: "enable" - restart_time: "0" - retain_stale_time: "0" - route_map_in: " (source router.route-map.name)" - route_map_in_evpn: " (source router.route-map.name)" - route_map_in_vpnv4: " (source router.route-map.name)" - route_map_in6: " (source router.route-map.name)" - route_map_out: " (source router.route-map.name)" - route_map_out_evpn: " (source router.route-map.name)" - route_map_out_preferable: " (source router.route-map.name)" - route_map_out_vpnv4: " (source router.route-map.name)" - route_map_out_vpnv4_preferable: " (source router.route-map.name)" - route_map_out6: " (source router.route-map.name)" - route_map_out6_preferable: " (source router.route-map.name)" - route_reflector_client: "enable" - route_reflector_client_evpn: "enable" - route_reflector_client_vpnv4: "enable" - route_reflector_client6: "enable" - route_server_client: "enable" - route_server_client_evpn: "enable" - route_server_client_vpnv4: "enable" - route_server_client6: "enable" - send_community: "standard" - send_community_evpn: "standard" - send_community_vpnv4: "standard" - send_community6: "standard" - shutdown: "enable" - soft_reconfiguration: "enable" - soft_reconfiguration_evpn: "enable" - soft_reconfiguration_vpnv4: "enable" - soft_reconfiguration6: "enable" - stale_route: "enable" - strict_capability_match: "enable" - unsuppress_map: " (source router.route-map.name)" - unsuppress_map6: " (source router.route-map.name)" - update_source: " (source system.interface.name)" - weight: "4294967295" - neighbor_group: - - - activate: "enable" - activate_evpn: "enable" - activate_vpnv4: "enable" - activate6: "enable" - additional_path: "send" - additional_path_vpnv4: "send" - additional_path6: "send" - adv_additional_path: "2" - adv_additional_path_vpnv4: "2" - adv_additional_path6: "2" - advertisement_interval: "30" - allowas_in: "3" - allowas_in_enable: "enable" - allowas_in_enable_evpn: "enable" - allowas_in_enable_vpnv4: "enable" - allowas_in_enable6: "enable" - allowas_in_evpn: "3" - allowas_in_vpnv4: "3" - allowas_in6: "3" - as_override: "enable" - as_override6: "enable" - attribute_unchanged: "as-path" - attribute_unchanged_vpnv4: "as-path" - attribute_unchanged6: "as-path" - bfd: "enable" - capability_default_originate: "enable" - capability_default_originate6: "enable" - capability_dynamic: "enable" - capability_graceful_restart: "enable" - capability_graceful_restart_evpn: "enable" - capability_graceful_restart_vpnv4: "enable" - capability_graceful_restart6: "enable" - capability_orf: "none" - capability_orf6: "none" - capability_route_refresh: "enable" - connect_timer: "4294967295" - default_originate_routemap: " (source router.route-map.name)" - default_originate_routemap6: " (source router.route-map.name)" - description: "" - distribute_list_in: " (source router.access-list.name)" - distribute_list_in_vpnv4: " (source router.access-list.name)" - distribute_list_in6: " (source router.access-list6.name)" - distribute_list_out: " (source router.access-list.name)" - distribute_list_out_vpnv4: " (source router.access-list.name)" - distribute_list_out6: " (source router.access-list6.name)" - dont_capability_negotiate: "enable" - ebgp_enforce_multihop: "enable" - ebgp_multihop_ttl: "255" - filter_list_in: " (source router.aspath-list.name)" - filter_list_in6: " (source router.aspath-list.name)" - filter_list_out: " (source router.aspath-list.name)" - filter_list_out6: " (source router.aspath-list.name)" - holdtime_timer: "4294967295" - interface: " (source system.interface.name)" - keep_alive_timer: "4294967295" - link_down_failover: "enable" - local_as: "" - local_as_no_prepend: "enable" - local_as_replace_as: "enable" - maximum_prefix: "0" - maximum_prefix_evpn: "0" - maximum_prefix_threshold: "75" - maximum_prefix_threshold_evpn: "75" - maximum_prefix_threshold_vpnv4: "75" - maximum_prefix_threshold6: "75" - maximum_prefix_vpnv4: "0" - maximum_prefix_warning_only: "enable" - maximum_prefix_warning_only_evpn: "enable" - maximum_prefix_warning_only_vpnv4: "enable" - maximum_prefix_warning_only6: "enable" - maximum_prefix6: "0" - name: "default_name_273" - next_hop_self: "enable" - next_hop_self_rr: "enable" - next_hop_self_rr6: "enable" - next_hop_self_vpnv4: "enable" - next_hop_self6: "enable" - override_capability: "enable" - passive: "enable" - password: "" - prefix_list_in: " (source router.prefix-list.name)" - prefix_list_in_vpnv4: " (source router.prefix-list.name)" - prefix_list_in6: " (source router.prefix-list6.name)" - prefix_list_out: " (source router.prefix-list.name)" - prefix_list_out_vpnv4: " (source router.prefix-list.name)" - prefix_list_out6: " (source router.prefix-list6.name)" - remote_as: "" - remove_private_as: "enable" - remove_private_as_evpn: "enable" - remove_private_as_vpnv4: "enable" - remove_private_as6: "enable" - restart_time: "0" - retain_stale_time: "0" - route_map_in: " (source router.route-map.name)" - route_map_in_evpn: " (source router.route-map.name)" - route_map_in_vpnv4: " (source router.route-map.name)" - route_map_in6: " (source router.route-map.name)" - route_map_out: " (source router.route-map.name)" - route_map_out_evpn: " (source router.route-map.name)" - route_map_out_preferable: " (source router.route-map.name)" - route_map_out_vpnv4: " (source router.route-map.name)" - route_map_out_vpnv4_preferable: " (source router.route-map.name)" - route_map_out6: " (source router.route-map.name)" - route_map_out6_preferable: " (source router.route-map.name)" - route_reflector_client: "enable" - route_reflector_client_evpn: "enable" - route_reflector_client_vpnv4: "enable" - route_reflector_client6: "enable" - route_server_client: "enable" - route_server_client_evpn: "enable" - route_server_client_vpnv4: "enable" - route_server_client6: "enable" - send_community: "standard" - send_community_evpn: "standard" - send_community_vpnv4: "standard" - send_community6: "standard" - shutdown: "enable" - soft_reconfiguration: "enable" - soft_reconfiguration_evpn: "enable" - soft_reconfiguration_vpnv4: "enable" - soft_reconfiguration6: "enable" - stale_route: "enable" - strict_capability_match: "enable" - unsuppress_map: " (source router.route-map.name)" - unsuppress_map6: " (source router.route-map.name)" - update_source: " (source system.interface.name)" - weight: "4294967295" - neighbor_range: - - - id: "330" - max_neighbor_num: "0" - neighbor_group: " (source router.bgp.neighbor-group.name)" - prefix: "" - neighbor_range6: - - - id: "335" - max_neighbor_num: "0" - neighbor_group: " (source router.bgp.neighbor-group.name)" - prefix6: "" - network: - - - backdoor: "enable" - id: "341" - network_import_check: "global" - prefix: "" - route_map: " (source router.route-map.name)" - network_import_check: "enable" - network6: - - - backdoor: "enable" - id: "348" - network_import_check: "global" - prefix6: "" - route_map: " (source router.route-map.name)" - recursive_inherit_priority: "enable" - recursive_next_hop: "enable" - redistribute: - - - name: "default_name_355" - route_map: " (source router.route-map.name)" - status: "enable" - redistribute6: - - - name: "default_name_359" - route_map: " (source router.route-map.name)" - status: "enable" - router_id: "" - scan_time: "60" - synchronization: "enable" - tag_resolve_mode: "disable" - vrf: - - - export_rt: - - - route_target: "" - import_route_map: " (source router.route-map.name)" - import_rt: - - - route_target: "" - leak_target: - - - interface: " (source system.interface.name)" - route_map: " (source router.route-map.name)" - vrf: "" - rd: "" - role: "standalone" - vrf: "" - vrf_leak: - - - target: - - - interface: " (source system.interface.name)" - route_map: " (source router.route-map.name)" - vrf: "" - vrf: "" - vrf_leak6: - - - target: - - - interface: " (source system.interface.name)" - route_map: " (source router.route-map.name)" - vrf: "" - vrf: "" - vrf6: - - - leak_target: - - - interface: " (source system.interface.name)" - route_map: " (source router.route-map.name)" - vrf: "" - vrf: "" - + additional_path: "enable" + additional_path_select: "2" + additional_path_select_vpnv4: "2" + additional_path_select6: "2" + additional_path_vpnv4: "enable" + additional_path6: "enable" + admin_distance: + - + distance: "0" + id: "11" + neighbour_prefix: "" + route_list: " (source router.access-list.name)" + aggregate_address: + - + as_set: "enable" + id: "16" + prefix: "" + summary_only: "enable" + aggregate_address6: + - + as_set: "enable" + id: "21" + prefix6: "" + summary_only: "enable" + always_compare_med: "enable" + as: "" + bestpath_as_path_ignore: "enable" + bestpath_cmp_confed_aspath: "enable" + bestpath_cmp_routerid: "enable" + bestpath_med_confed: "enable" + bestpath_med_missing_as_worst: "enable" + client_to_client_reflection: "enable" + cluster_id: "" + confederation_identifier: "0" + confederation_peers: + - + peer: "" + cross_family_conditional_adv: "enable" + dampening: "enable" + dampening_max_suppress_time: "60" + dampening_reachability_half_life: "15" + dampening_reuse: "750" + dampening_route_map: " (source router.route-map.name)" + dampening_suppress: "2000" + dampening_unreachability_half_life: "15" + default_local_preference: "100" + deterministic_med: "enable" + distance_external: "20" + distance_internal: "200" + distance_local: "200" + ebgp_multipath: "enable" + enforce_first_as: "enable" + fast_external_failover: "enable" + graceful_end_on_timer: "enable" + graceful_restart: "enable" + graceful_restart_time: "120" + graceful_stalepath_time: "360" + graceful_update_delay: "120" + holdtime_timer: "180" + ibgp_multipath: "enable" + ignore_optional_capability: "enable" + keepalive_timer: "60" + log_neighbour_changes: "enable" + multipath_recursive_distance: "enable" + neighbor: + - + activate: "enable" + activate_evpn: "enable" + activate_vpnv4: "enable" + activate6: "enable" + additional_path: "send" + additional_path_vpnv4: "send" + additional_path6: "send" + adv_additional_path: "2" + adv_additional_path_vpnv4: "2" + adv_additional_path6: "2" + advertisement_interval: "30" + allowas_in: "3" + allowas_in_enable: "enable" + allowas_in_enable_evpn: "enable" + allowas_in_enable_vpnv4: "enable" + allowas_in_enable6: "enable" + allowas_in_evpn: "3" + allowas_in_vpnv4: "3" + allowas_in6: "3" + as_override: "enable" + as_override6: "enable" + attribute_unchanged: "as-path" + attribute_unchanged_vpnv4: "as-path" + attribute_unchanged6: "as-path" + bfd: "enable" + capability_default_originate: "enable" + capability_default_originate6: "enable" + capability_dynamic: "enable" + capability_graceful_restart: "enable" + capability_graceful_restart_evpn: "enable" + capability_graceful_restart_vpnv4: "enable" + capability_graceful_restart6: "enable" + capability_orf: "none" + capability_orf6: "none" + capability_route_refresh: "enable" + conditional_advertise: + - + advertise_routemap: " (source router.route-map.name)" + condition_routemap: + - + name: "default_name_102 (source router.route-map.name)" + condition_type: "exist" + conditional_advertise6: + - + advertise_routemap: " (source router.route-map.name)" + condition_routemap: + - + name: "default_name_107 (source router.route-map.name)" + condition_type: "exist" + connect_timer: "4294967295" + default_originate_routemap: " (source router.route-map.name)" + default_originate_routemap6: " (source router.route-map.name)" + description: "" + distribute_list_in: " (source router.access-list.name)" + distribute_list_in_vpnv4: " (source router.access-list.name)" + distribute_list_in6: " (source router.access-list6.name)" + distribute_list_out: " (source router.access-list.name)" + distribute_list_out_vpnv4: " (source router.access-list.name)" + distribute_list_out6: " (source router.access-list6.name)" + dont_capability_negotiate: "enable" + ebgp_enforce_multihop: "enable" + ebgp_multihop_ttl: "255" + filter_list_in: " (source router.aspath-list.name)" + filter_list_in_vpnv4: " (source router.aspath-list.name)" + filter_list_in6: " (source router.aspath-list.name)" + filter_list_out: " (source router.aspath-list.name)" + filter_list_out_vpnv4: " (source router.aspath-list.name)" + filter_list_out6: " (source router.aspath-list.name)" + holdtime_timer: "4294967295" + interface: " (source system.interface.name)" + ip: "" + keep_alive_timer: "4294967295" + link_down_failover: "enable" + local_as: "" + local_as_no_prepend: "enable" + local_as_replace_as: "enable" + maximum_prefix: "0" + maximum_prefix_evpn: "0" + maximum_prefix_threshold: "75" + maximum_prefix_threshold_evpn: "75" + maximum_prefix_threshold_vpnv4: "75" + maximum_prefix_threshold6: "75" + maximum_prefix_vpnv4: "0" + maximum_prefix_warning_only: "enable" + maximum_prefix_warning_only_evpn: "enable" + maximum_prefix_warning_only_vpnv4: "enable" + maximum_prefix_warning_only6: "enable" + maximum_prefix6: "0" + next_hop_self: "enable" + next_hop_self_rr: "enable" + next_hop_self_rr6: "enable" + next_hop_self_vpnv4: "enable" + next_hop_self6: "enable" + override_capability: "enable" + passive: "enable" + password: "" + prefix_list_in: " (source router.prefix-list.name)" + prefix_list_in_vpnv4: " (source router.prefix-list.name)" + prefix_list_in6: " (source router.prefix-list6.name)" + prefix_list_out: " (source router.prefix-list.name)" + prefix_list_out_vpnv4: " (source router.prefix-list.name)" + prefix_list_out6: " (source router.prefix-list6.name)" + remote_as: "" + remove_private_as: "enable" + remove_private_as_evpn: "enable" + remove_private_as_vpnv4: "enable" + remove_private_as6: "enable" + restart_time: "0" + retain_stale_time: "0" + route_map_in: " (source router.route-map.name)" + route_map_in_evpn: " (source router.route-map.name)" + route_map_in_vpnv4: " (source router.route-map.name)" + route_map_in6: " (source router.route-map.name)" + route_map_out: " (source router.route-map.name)" + route_map_out_evpn: " (source router.route-map.name)" + route_map_out_preferable: " (source router.route-map.name)" + route_map_out_vpnv4: " (source router.route-map.name)" + route_map_out_vpnv4_preferable: " (source router.route-map.name)" + route_map_out6: " (source router.route-map.name)" + route_map_out6_preferable: " (source router.route-map.name)" + route_reflector_client: "enable" + route_reflector_client_evpn: "enable" + route_reflector_client_vpnv4: "enable" + route_reflector_client6: "enable" + route_server_client: "enable" + route_server_client_evpn: "enable" + route_server_client_vpnv4: "enable" + route_server_client6: "enable" + send_community: "standard" + send_community_evpn: "standard" + send_community_vpnv4: "standard" + send_community6: "standard" + shutdown: "enable" + soft_reconfiguration: "enable" + soft_reconfiguration_evpn: "enable" + soft_reconfiguration_vpnv4: "enable" + soft_reconfiguration6: "enable" + stale_route: "enable" + strict_capability_match: "enable" + unsuppress_map: " (source router.route-map.name)" + unsuppress_map6: " (source router.route-map.name)" + update_source: " (source system.interface.name)" + weight: "4294967295" + neighbor_group: + - + activate: "enable" + activate_evpn: "enable" + activate_vpnv4: "enable" + activate6: "enable" + additional_path: "send" + additional_path_vpnv4: "send" + additional_path6: "send" + adv_additional_path: "2" + adv_additional_path_vpnv4: "2" + adv_additional_path6: "2" + advertisement_interval: "30" + allowas_in: "3" + allowas_in_enable: "enable" + allowas_in_enable_evpn: "enable" + allowas_in_enable_vpnv4: "enable" + allowas_in_enable6: "enable" + allowas_in_evpn: "3" + allowas_in_vpnv4: "3" + allowas_in6: "3" + as_override: "enable" + as_override6: "enable" + attribute_unchanged: "as-path" + attribute_unchanged_vpnv4: "as-path" + attribute_unchanged6: "as-path" + bfd: "enable" + capability_default_originate: "enable" + capability_default_originate6: "enable" + capability_dynamic: "enable" + capability_graceful_restart: "enable" + capability_graceful_restart_evpn: "enable" + capability_graceful_restart_vpnv4: "enable" + capability_graceful_restart6: "enable" + capability_orf: "none" + capability_orf6: "none" + capability_route_refresh: "enable" + connect_timer: "4294967295" + default_originate_routemap: " (source router.route-map.name)" + default_originate_routemap6: " (source router.route-map.name)" + description: "" + distribute_list_in: " (source router.access-list.name)" + distribute_list_in_vpnv4: " (source router.access-list.name)" + distribute_list_in6: " (source router.access-list6.name)" + distribute_list_out: " (source router.access-list.name)" + distribute_list_out_vpnv4: " (source router.access-list.name)" + distribute_list_out6: " (source router.access-list6.name)" + dont_capability_negotiate: "enable" + ebgp_enforce_multihop: "enable" + ebgp_multihop_ttl: "255" + filter_list_in: " (source router.aspath-list.name)" + filter_list_in_vpnv4: " (source router.aspath-list.name)" + filter_list_in6: " (source router.aspath-list.name)" + filter_list_out: " (source router.aspath-list.name)" + filter_list_out_vpnv4: " (source router.aspath-list.name)" + filter_list_out6: " (source router.aspath-list.name)" + holdtime_timer: "4294967295" + interface: " (source system.interface.name)" + keep_alive_timer: "4294967295" + link_down_failover: "enable" + local_as: "" + local_as_no_prepend: "enable" + local_as_replace_as: "enable" + maximum_prefix: "0" + maximum_prefix_evpn: "0" + maximum_prefix_threshold: "75" + maximum_prefix_threshold_evpn: "75" + maximum_prefix_threshold_vpnv4: "75" + maximum_prefix_threshold6: "75" + maximum_prefix_vpnv4: "0" + maximum_prefix_warning_only: "enable" + maximum_prefix_warning_only_evpn: "enable" + maximum_prefix_warning_only_vpnv4: "enable" + maximum_prefix_warning_only6: "enable" + maximum_prefix6: "0" + name: "default_name_277" + next_hop_self: "enable" + next_hop_self_rr: "enable" + next_hop_self_rr6: "enable" + next_hop_self_vpnv4: "enable" + next_hop_self6: "enable" + override_capability: "enable" + passive: "enable" + password: "" + prefix_list_in: " (source router.prefix-list.name)" + prefix_list_in_vpnv4: " (source router.prefix-list.name)" + prefix_list_in6: " (source router.prefix-list6.name)" + prefix_list_out: " (source router.prefix-list.name)" + prefix_list_out_vpnv4: " (source router.prefix-list.name)" + prefix_list_out6: " (source router.prefix-list6.name)" + remote_as: "" + remove_private_as: "enable" + remove_private_as_evpn: "enable" + remove_private_as_vpnv4: "enable" + remove_private_as6: "enable" + restart_time: "0" + retain_stale_time: "0" + route_map_in: " (source router.route-map.name)" + route_map_in_evpn: " (source router.route-map.name)" + route_map_in_vpnv4: " (source router.route-map.name)" + route_map_in6: " (source router.route-map.name)" + route_map_out: " (source router.route-map.name)" + route_map_out_evpn: " (source router.route-map.name)" + route_map_out_preferable: " (source router.route-map.name)" + route_map_out_vpnv4: " (source router.route-map.name)" + route_map_out_vpnv4_preferable: " (source router.route-map.name)" + route_map_out6: " (source router.route-map.name)" + route_map_out6_preferable: " (source router.route-map.name)" + route_reflector_client: "enable" + route_reflector_client_evpn: "enable" + route_reflector_client_vpnv4: "enable" + route_reflector_client6: "enable" + route_server_client: "enable" + route_server_client_evpn: "enable" + route_server_client_vpnv4: "enable" + route_server_client6: "enable" + send_community: "standard" + send_community_evpn: "standard" + send_community_vpnv4: "standard" + send_community6: "standard" + shutdown: "enable" + soft_reconfiguration: "enable" + soft_reconfiguration_evpn: "enable" + soft_reconfiguration_vpnv4: "enable" + soft_reconfiguration6: "enable" + stale_route: "enable" + strict_capability_match: "enable" + unsuppress_map: " (source router.route-map.name)" + unsuppress_map6: " (source router.route-map.name)" + update_source: " (source system.interface.name)" + weight: "4294967295" + neighbor_range: + - + id: "334" + max_neighbor_num: "0" + neighbor_group: " (source router.bgp.neighbor-group.name)" + prefix: "" + neighbor_range6: + - + id: "339" + max_neighbor_num: "0" + neighbor_group: " (source router.bgp.neighbor-group.name)" + prefix6: "" + network: + - + backdoor: "enable" + id: "345" + network_import_check: "global" + prefix: "" + route_map: " (source router.route-map.name)" + network_import_check: "enable" + network6: + - + backdoor: "enable" + id: "352" + network_import_check: "global" + prefix6: "" + route_map: " (source router.route-map.name)" + recursive_inherit_priority: "enable" + recursive_next_hop: "enable" + redistribute: + - + name: "default_name_359" + route_map: " (source router.route-map.name)" + status: "enable" + redistribute6: + - + name: "default_name_363" + route_map: " (source router.route-map.name)" + status: "enable" + router_id: "" + scan_time: "60" + synchronization: "enable" + tag_resolve_mode: "disable" + vrf: + - + export_rt: + - + route_target: "" + import_route_map: " (source router.route-map.name)" + import_rt: + - + route_target: "" + leak_target: + - + interface: " (source system.interface.name)" + route_map: " (source router.route-map.name)" + vrf: "" + rd: "" + role: "standalone" + vrf: "" + vrf_leak: + - + target: + - + interface: " (source system.interface.name)" + route_map: " (source router.route-map.name)" + vrf: "" + vrf: "" + vrf_leak6: + - + target: + - + interface: " (source system.interface.name)" + route_map: " (source router.route-map.name)" + vrf: "" + vrf: "" + vrf6: + - + leak_target: + - + interface: " (source system.interface.name)" + route_map: " (source router.route-map.name)" + vrf: "" + vrf: "" """ RETURN = """ @@ -2800,7 +2809,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -2973,7 +2981,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "bgp") if data["router_bgp"]: resp = router_bgp(data, fos) @@ -2990,10614 +2997,755 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "router_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "keepalive_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "holdtime_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "as": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "router_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "keepalive_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "holdtime_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "always_compare_med": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bestpath_as_path_ignore": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bestpath_cmp_confed_aspath": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bestpath_cmp_routerid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bestpath_med_confed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bestpath_med_missing_as_worst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_to_client_reflection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dampening": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "deterministic_med": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ebgp_multipath": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ibgp_multipath": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "enforce_first_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fast_external_failover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_neighbour_changes": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "network_import_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ignore_optional_capability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "additional_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "additional_path6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "additional_path_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multipath_recursive_distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "recursive_next_hop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "recursive_inherit_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tag_resolve_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "preferred", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "merge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, + {"value": "disable"}, + {"value": "preferred"}, + {"value": "merge"}, ], }, - "cluster_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "confederation_identifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "cluster_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "confederation_identifier": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "confederation_peers": { "type": "list", "elements": "dict", "children": { "peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "dampening_route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "dampening_route_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dampening_reachability_half_life": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dampening_reuse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dampening_suppress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dampening_max_suppress_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "dampening_reuse": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dampening_suppress": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dampening_max_suppress_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dampening_unreachability_half_life": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "default_local_preference": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "scan_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance_external": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance_internal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance_local": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "default_local_preference": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "scan_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance_external": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance_internal": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance_local": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "synchronization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "graceful_restart": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "graceful_restart_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "graceful_stalepath_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "graceful_update_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "graceful_restart_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "graceful_stalepath_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "graceful_update_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "graceful_end_on_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "additional_path_select": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "additional_path_select6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "additional_path_select_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "additional_path_select": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "additional_path_select6": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "additional_path_select_vpnv4": { + "v_range": [["v7.2.0", ""]], "type": "integer", }, "cross_family_conditional_adv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "aggregate_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, "as_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "summary_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "aggregate_address6": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "as_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "summary_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "neighbor": { "type": "list", "elements": "dict", "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "advertisement_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "allowas_in_enable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowas_in_enable6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowas_in_enable_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowas_in_enable_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "allowas_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "allowas_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "allowas_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "allowas_in_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "allowas_in": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "allowas_in6": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "allowas_in_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "allowas_in_evpn": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "attribute_unchanged": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "as-path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "med", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "next-hop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "as-path"}, + {"value": "med"}, + {"value": "next-hop"}, ], "multiple_values": True, "elements": "str", }, "attribute_unchanged6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "as-path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "med", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "next-hop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "as-path"}, + {"value": "med"}, + {"value": "next-hop"}, ], "multiple_values": True, "elements": "str", }, "attribute_unchanged_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "options": [ - { - "value": "as-path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "med", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "next-hop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "as-path"}, + {"value": "med"}, + {"value": "next-hop"}, ], "multiple_values": True, "elements": "str", }, "activate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "activate6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "activate_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "activate_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_dynamic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_orf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "receive"}, + {"value": "send"}, + {"value": "both"}, ], }, "capability_orf6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "receive"}, + {"value": "send"}, + {"value": "both"}, ], }, "capability_graceful_restart": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_graceful_restart6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_graceful_restart_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_graceful_restart_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_route_refresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_default_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_default_originate6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dont_capability_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ebgp_enforce_multihop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "link_down_failover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "stale_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self_rr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self_rr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "override_capability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "passive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "shutdown": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "as_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "as_override6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "strict_capability_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default_originate_routemap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "default_originate_routemap6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distribute_list_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distribute_list_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distribute_list_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distribute_list_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "distribute_list_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "distribute_list_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distribute_list_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", }, + "distribute_list_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distribute_list_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "distribute_list_out_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ebgp_multihop_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "filter_list_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "filter_list_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "filter_list_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "filter_list_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ebgp_multihop_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "filter_list_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_in_vpnv4": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "filter_list_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_out_vpnv4": { + "v_range": [["v7.4.1", ""]], "type": "string", }, - "maximum_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "maximum_prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "maximum_prefix": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "maximum_prefix6": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "maximum_prefix_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "maximum_prefix_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, + "maximum_prefix_evpn": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "maximum_prefix_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "maximum_prefix_threshold6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "maximum_prefix_threshold_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, "maximum_prefix_threshold_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "integer", }, "maximum_prefix_warning_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "maximum_prefix_warning_only6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "maximum_prefix_warning_only_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "maximum_prefix_warning_only_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "prefix_list_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "prefix_list_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_in_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "prefix_list_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_out_vpnv4": { + "v_range": [["v7.2.0", ""]], "type": "string", }, - "prefix_list_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "remote_as": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_as": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_as_no_prepend": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "prefix_list_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "local_as_replace_as": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "prefix_list_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "retain_stale_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "route_map_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_in_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "route_map_in_evpn": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "route_map_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_out_preferable": { + "v_range": [["v6.2.0", ""]], "type": "string", }, - "prefix_list_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "route_map_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_out6_preferable": { + "v_range": [["v6.2.0", ""]], "type": "string", }, - "prefix_list_out_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "route_map_out_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "route_map_out_vpnv4_preferable": { + "v_range": [["v7.2.0", ""]], "type": "string", }, - "remote_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "route_map_out_evpn": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "send_community": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [ + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, + ], }, - "local_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "send_community6": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [ + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, + ], }, - "local_as_no_prepend": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "send_community_vpnv4": { + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, ], }, - "local_as_replace_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "send_community_evpn": { + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "retain_stale_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "route_map_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "route_map_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "route_map_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_in_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "route_map_out_preferable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "route_map_out6_preferable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_out_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_out_vpnv4_preferable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_out_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "send_community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "send_community6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "send_community_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "send_community_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "standard", "revisions": {"v7.4.0": True}}, - {"value": "extended", "revisions": {"v7.4.0": True}}, - {"value": "both", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, ], }, - "keep_alive_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "holdtime_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "connect_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "unsuppress_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "unsuppress_map6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "update_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "restart_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "keep_alive_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "holdtime_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "connect_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "unsuppress_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "unsuppress_map6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "update_source": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "restart_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "additional_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "send"}, + {"value": "receive"}, + {"value": "both"}, + {"value": "disable"}, ], }, "additional_path6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "send"}, + {"value": "receive"}, + {"value": "both"}, + {"value": "disable"}, ], }, "additional_path_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "send"}, + {"value": "receive"}, + {"value": "both"}, + {"value": "disable"}, ], }, - "adv_additional_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "adv_additional_path": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "adv_additional_path6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "adv_additional_path_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "conditional_advertise": { "type": "list", "elements": "dict", "children": { "advertise_routemap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, @@ -13606,200 +3754,27 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "condition_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "exist", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-exist", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "exist"}, {"value": "non-exist"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "conditional_advertise6": { "type": "list", "elements": "dict", "children": { "advertise_routemap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, }, @@ -13808,8481 +3783,710 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], }, "condition_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "exist", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "non-exist", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "exist"}, {"value": "non-exist"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "neighbor_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "advertisement_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "allowas_in_enable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowas_in_enable6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowas_in_enable_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowas_in_enable_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "allowas_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "allowas_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "allowas_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "allowas_in_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "allowas_in": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "allowas_in6": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "allowas_in_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "allowas_in_evpn": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "attribute_unchanged": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "as-path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "med", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "next-hop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "as-path"}, + {"value": "med"}, + {"value": "next-hop"}, ], "multiple_values": True, "elements": "str", }, "attribute_unchanged6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "as-path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "med", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "next-hop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "as-path"}, + {"value": "med"}, + {"value": "next-hop"}, ], "multiple_values": True, "elements": "str", }, "attribute_unchanged_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "options": [ - { - "value": "as-path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "med", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "next-hop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "as-path"}, + {"value": "med"}, + {"value": "next-hop"}, ], "multiple_values": True, "elements": "str", }, "activate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "activate6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "activate_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "activate_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_dynamic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "capability_orf": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "receive"}, + {"value": "send"}, + {"value": "both"}, ], }, - "capability_orf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "capability_orf6": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "capability_orf6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "receive"}, + {"value": "send"}, + {"value": "both"}, ], }, "capability_graceful_restart": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_graceful_restart6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_graceful_restart_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_graceful_restart_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_route_refresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_default_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "capability_default_originate6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dont_capability_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ebgp_enforce_multihop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "link_down_failover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "stale_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self_rr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self_rr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "next_hop_self_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "override_capability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "passive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remove_private_as_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_reflector_client_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_server_client_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "shutdown": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "soft_reconfiguration_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "as_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "as_override6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "strict_capability_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default_originate_routemap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "default_originate_routemap6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distribute_list_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distribute_list_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distribute_list_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distribute_list_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "distribute_list_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "distribute_list_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distribute_list_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", }, + "distribute_list_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distribute_list_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "distribute_list_out_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", }, - "ebgp_multihop_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "filter_list_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ebgp_multihop_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "filter_list_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_in_vpnv4": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "filter_list_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "filter_list_out_vpnv4": { + "v_range": [["v7.4.1", ""]], "type": "string", }, - "filter_list_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "filter_list_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "filter_list_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "maximum_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "maximum_prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "maximum_prefix": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "maximum_prefix6": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "maximum_prefix_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "maximum_prefix_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, + "maximum_prefix_evpn": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "maximum_prefix_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "maximum_prefix_threshold6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "maximum_prefix_threshold_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, "maximum_prefix_threshold_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "integer", }, "maximum_prefix_warning_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "maximum_prefix_warning_only6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "maximum_prefix_warning_only_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "maximum_prefix_warning_only_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "prefix_list_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "prefix_list_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "prefix_list_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "prefix_list_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "prefix_list_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "prefix_list_out_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "remote_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_as_no_prepend": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "local_as_replace_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "retain_stale_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "route_map_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "route_map_in6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "route_map_in_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_in_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "route_map_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "route_map_out_preferable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "prefix_list_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_in_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "prefix_list_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_list_out_vpnv4": { + "v_range": [["v7.2.0", ""]], "type": "string", }, - "route_map_out6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "remote_as": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_as": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_as_no_prepend": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "route_map_out6_preferable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "local_as_replace_as": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "route_map_out_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "retain_stale_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "route_map_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_in6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_in_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "route_map_in_evpn": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "route_map_out": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_out_preferable": { + "v_range": [["v6.2.0", ""]], "type": "string", }, - "route_map_out_vpnv4_preferable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "route_map_out6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_map_out6_preferable": { + "v_range": [["v6.2.0", ""]], "type": "string", }, - "route_map_out_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "route_map_out_vpnv4": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "route_map_out_vpnv4_preferable": { + "v_range": [["v7.2.0", ""]], "type": "string", }, + "route_map_out_evpn": {"v_range": [["v7.4.0", ""]], "type": "string"}, "send_community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, ], }, "send_community6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, ], }, "send_community_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "extended", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, ], }, "send_community_evpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "standard", "revisions": {"v7.4.0": True}}, - {"value": "extended", "revisions": {"v7.4.0": True}}, - {"value": "both", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, + {"value": "standard"}, + {"value": "extended"}, + {"value": "both"}, + {"value": "disable"}, ], }, - "keep_alive_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "holdtime_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "connect_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "unsuppress_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "unsuppress_map6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "update_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "restart_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "keep_alive_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "holdtime_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "connect_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "unsuppress_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "unsuppress_map6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "update_source": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "restart_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "additional_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "send"}, + {"value": "receive"}, + {"value": "both"}, + {"value": "disable"}, ], }, "additional_path6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "send"}, + {"value": "receive"}, + {"value": "both"}, + {"value": "disable"}, ], }, "additional_path_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "send", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "receive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "send"}, + {"value": "receive"}, + {"value": "both"}, + {"value": "disable"}, ], }, - "adv_additional_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "adv_additional_path": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "adv_additional_path6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "adv_additional_path_vpnv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "password": {"v_range": [["v7.2.4", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "neighbor_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "max_neighbor_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "neighbor_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "max_neighbor_num": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "neighbor_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "neighbor_range6": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "max_neighbor_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "neighbor_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "max_neighbor_num": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "neighbor_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "network": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, "network_import_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, + {"value": "global"}, + {"value": "enable"}, + {"value": "disable"}, ], }, "backdoor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "route_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "network6": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "network_import_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, + {"value": "global"}, + {"value": "enable"}, + {"value": "disable"}, ], }, "backdoor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "route_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "admin_distance": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "neighbour_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "route_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "neighbour_prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "route_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "vrf": { "type": "list", "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, }, "role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "standalone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "ce", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "pe", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "standalone"}, + {"value": "ce"}, + {"value": "pe"}, ], }, - "rd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, + "rd": {"v_range": [["v7.2.0", ""]], "type": "string"}, "export_rt": { "type": "list", "elements": "dict", "children": { "route_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], }, "import_rt": { "type": "list", "elements": "dict", "children": { "route_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - "import_route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", + "v_range": [["v7.2.0", ""]], }, + "import_route_map": {"v_range": [["v7.2.0", ""]], "type": "string"}, "leak_target": { "type": "list", "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, }, - "route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, + "route_map": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "interface": {"v_range": [["v7.2.0", ""]], "type": "string"}, }, + "v_range": [["v7.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "vrf6": { "type": "list", "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, }, @@ -22291,368 +4495,66 @@ versioned_schema = { "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, }, - "route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, + "route_map": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "interface": {"v_range": [["v7.2.0", ""]], "type": "string"}, }, + "v_range": [["v7.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "redistribute": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_map": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, "redistribute6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_map": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, "vrf_leak": { "type": "list", "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.12"]], "type": "string", "required": True, }, @@ -22661,111 +4563,30 @@ versioned_schema = { "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.12"]], "type": "string", "required": True, }, "route_map": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.12"]], "type": "string", }, "interface": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.12"]], "type": "string", }, }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.12"]], }, }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.12"]], }, "vrf_leak6": { "type": "list", "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.12"]], "type": "string", "required": True, }, @@ -22774,79 +4595,23 @@ versioned_schema = { "elements": "dict", "children": { "vrf": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.12"]], "type": "string", "required": True, }, "route_map": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.12"]], "type": "string", }, "interface": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.12"]], "type": "string", }, }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.12"]], }, }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.12"]], }, }, } @@ -22882,6 +4647,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_community_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_community_list.py index d432a4642..b3845c220 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_community_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_community_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,7 +108,7 @@ options: - 'permit' id: description: - - ID. + - ID. see Notes. required: true type: int match: @@ -129,31 +129,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure community lists. - fortios_router_community_list: - vdom: "{{ vdom }}" +- name: Configure community lists. + fortinet.fortios.fortios_router_community_list: + vdom: "{{ vdom }}" state: "present" access_token: "" router_community_list: - name: "default_name_3" - rule: - - - action: "deny" - id: "6" - match: "" - regexp: "" - type: "standard" - + name: "default_name_3" + rule: + - + action: "deny" + id: "6" + match: "" + regexp: "" + type: "standard" """ RETURN = """ @@ -212,7 +201,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,6 +228,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_community_list_data(json): @@ -269,7 +260,6 @@ def underscore_to_hyphen(data): def router_community_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -305,11 +295,16 @@ def router_community_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -359,13 +354,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "community-list") if data["router_community_list"]: resp = router_community_list(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_community_list")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -380,361 +374,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "expanded", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "standard"}, {"value": "expanded"}], }, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "regexp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "deny"}, {"value": "permit"}], }, - "match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "regexp": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -771,6 +437,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_extcommunity_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_extcommunity_list.py index 2baa03f87..025bd7f12 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_extcommunity_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_extcommunity_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,7 +108,7 @@ options: - 'permit' id: description: - - ID. + - ID. see Notes. required: true type: int match: @@ -136,32 +136,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure extended community lists. - fortios_router_extcommunity_list: - vdom: "{{ vdom }}" +- name: Configure extended community lists. + fortinet.fortios.fortios_router_extcommunity_list: + vdom: "{{ vdom }}" state: "present" access_token: "" router_extcommunity_list: - name: "default_name_3" - rule: - - - action: "deny" - id: "6" - match: "" - regexp: "" - type: "rt" - type: "standard" - + name: "default_name_3" + rule: + - + action: "deny" + id: "6" + match: "" + regexp: "" + type: "rt" + type: "standard" """ RETURN = """ @@ -220,7 +209,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -304,7 +292,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "extcommunity-list") if data["router_extcommunity_list"]: resp = router_extcommunity_list(data, fos) @@ -326,63 +313,38 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.2.4", ""]], "type": "string", "required": True}, "type": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "standard", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "expanded", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "standard"}, {"value": "expanded"}], }, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "integer", "required": True, }, "action": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "options": [ - { - "value": "deny", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "permit", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "regexp": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "deny"}, {"value": "permit"}], }, + "regexp": {"v_range": [["v7.2.4", ""]], "type": "string"}, "type": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "options": [ - {"value": "rt", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "soo", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "match": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "rt"}, {"value": "soo"}], }, + "match": {"v_range": [["v7.2.4", ""]], "type": "string"}, }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], } @@ -419,6 +381,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_isis.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_isis.py index ba1c9b43e..7d1743993 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_isis.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_isis.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -355,7 +355,7 @@ options: suboptions: id: description: - - ISIS network ID. + - ISIS network ID. see Notes. required: true type: int net: @@ -557,7 +557,7 @@ options: suboptions: id: description: - - Summary address entry ID. + - Summary address entry ID. see Notes. required: true type: int level: @@ -580,7 +580,7 @@ options: suboptions: id: description: - - Prefix entry ID. + - Prefix entry ID. see Notes. required: true type: int level: @@ -598,118 +598,107 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IS-IS. - fortios_router_isis: - vdom: "{{ vdom }}" +- name: Configure IS-IS. + fortinet.fortios.fortios_router_isis: + vdom: "{{ vdom }}" router_isis: - adjacency_check: "enable" - adjacency_check6: "enable" - adv_passive_only: "enable" - adv_passive_only6: "enable" - auth_keychain_l1: " (source router.key-chain.name)" - auth_keychain_l2: " (source router.key-chain.name)" - auth_mode_l1: "password" - auth_mode_l2: "password" - auth_password_l1: "" - auth_password_l2: "" - auth_sendonly_l1: "enable" - auth_sendonly_l2: "enable" - default_originate: "enable" - default_originate6: "enable" - dynamic_hostname: "enable" - ignore_lsp_errors: "enable" - is_type: "level-1-2" - isis_interface: - - - auth_keychain_l1: " (source router.key-chain.name)" - auth_keychain_l2: " (source router.key-chain.name)" - auth_mode_l1: "md5" - auth_mode_l2: "md5" - auth_password_l1: "" - auth_password_l2: "" - auth_send_only_l1: "enable" - auth_send_only_l2: "enable" - circuit_type: "level-1-2" - csnp_interval_l1: "10" - csnp_interval_l2: "10" - hello_interval_l1: "10" - hello_interval_l2: "10" - hello_multiplier_l1: "3" - hello_multiplier_l2: "3" - hello_padding: "enable" - lsp_interval: "33" - lsp_retransmit_interval: "5" - mesh_group: "enable" - mesh_group_id: "0" - metric_l1: "10" - metric_l2: "10" - name: "default_name_43 (source system.interface.name)" - network_type: "broadcast" - priority_l1: "64" - priority_l2: "64" - status: "enable" - status6: "enable" - wide_metric_l1: "10" - wide_metric_l2: "10" - isis_net: - - - id: "52" - net: "" - lsp_gen_interval_l1: "30" - lsp_gen_interval_l2: "30" - lsp_refresh_interval: "900" - max_lsp_lifetime: "1200" - metric_style: "narrow" - overload_bit: "enable" - overload_bit_on_startup: "0" - overload_bit_suppress: "external" - redistribute: - - - level: "level-1-2" - metric: "0" - metric_type: "external" - protocol: "" - routemap: " (source router.route-map.name)" - status: "enable" - redistribute_l1: "enable" - redistribute_l1_list: " (source router.access-list.name)" - redistribute_l2: "enable" - redistribute_l2_list: " (source router.access-list.name)" - redistribute6: - - - level: "level-1-2" - metric: "0" - metric_type: "external" - protocol: "" - routemap: " (source router.route-map.name)" - status: "enable" - redistribute6_l1: "enable" - redistribute6_l1_list: " (source router.access-list6.name)" - redistribute6_l2: "enable" - redistribute6_l2_list: " (source router.access-list6.name)" - spf_interval_exp_l1: "" - spf_interval_exp_l2: "" - summary_address: - - - id: "87" - level: "level-1-2" - prefix: "" - summary_address6: - - - id: "91" - level: "level-1-2" - prefix6: "" - + adjacency_check: "enable" + adjacency_check6: "enable" + adv_passive_only: "enable" + adv_passive_only6: "enable" + auth_keychain_l1: " (source router.key-chain.name)" + auth_keychain_l2: " (source router.key-chain.name)" + auth_mode_l1: "password" + auth_mode_l2: "password" + auth_password_l1: "" + auth_password_l2: "" + auth_sendonly_l1: "enable" + auth_sendonly_l2: "enable" + default_originate: "enable" + default_originate6: "enable" + dynamic_hostname: "enable" + ignore_lsp_errors: "enable" + is_type: "level-1-2" + isis_interface: + - + auth_keychain_l1: " (source router.key-chain.name)" + auth_keychain_l2: " (source router.key-chain.name)" + auth_mode_l1: "md5" + auth_mode_l2: "md5" + auth_password_l1: "" + auth_password_l2: "" + auth_send_only_l1: "enable" + auth_send_only_l2: "enable" + circuit_type: "level-1-2" + csnp_interval_l1: "10" + csnp_interval_l2: "10" + hello_interval_l1: "10" + hello_interval_l2: "10" + hello_multiplier_l1: "3" + hello_multiplier_l2: "3" + hello_padding: "enable" + lsp_interval: "33" + lsp_retransmit_interval: "5" + mesh_group: "enable" + mesh_group_id: "0" + metric_l1: "10" + metric_l2: "10" + name: "default_name_43 (source system.interface.name)" + network_type: "broadcast" + priority_l1: "64" + priority_l2: "64" + status: "enable" + status6: "enable" + wide_metric_l1: "10" + wide_metric_l2: "10" + isis_net: + - + id: "52" + net: "" + lsp_gen_interval_l1: "30" + lsp_gen_interval_l2: "30" + lsp_refresh_interval: "900" + max_lsp_lifetime: "1200" + metric_style: "narrow" + overload_bit: "enable" + overload_bit_on_startup: "0" + overload_bit_suppress: "external" + redistribute: + - + level: "level-1-2" + metric: "0" + metric_type: "external" + protocol: "" + routemap: " (source router.route-map.name)" + status: "enable" + redistribute_l1: "enable" + redistribute_l1_list: " (source router.access-list.name)" + redistribute_l2: "enable" + redistribute_l2_list: " (source router.access-list.name)" + redistribute6: + - + level: "level-1-2" + metric: "0" + metric_type: "external" + protocol: "" + routemap: " (source router.route-map.name)" + status: "enable" + redistribute6_l1: "enable" + redistribute6_l1_list: " (source router.access-list6.name)" + redistribute6_l2: "enable" + redistribute6_l2_list: " (source router.access-list6.name)" + spf_interval_exp_l1: "" + spf_interval_exp_l2: "" + summary_address: + - + id: "87" + level: "level-1-2" + prefix: "" + summary_address6: + - + id: "91" + level: "level-1-2" + prefix6: "" """ RETURN = """ @@ -768,7 +757,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -911,7 +899,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "isis") if data["router_isis"]: resp = router_isis(data, fos) @@ -928,5304 +915,370 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "is_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "level-1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-2-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "level-1-2"}, + {"value": "level-1"}, + {"value": "level-2-only"}, ], }, "adv_passive_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "adv_passive_only6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_mode_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "password"}, {"value": "md5"}], }, "auth_mode_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_password_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_password_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_keychain_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_keychain_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "password"}, {"value": "md5"}], }, + "auth_password_l1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_password_l2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_keychain_l1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_keychain_l2": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_sendonly_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_sendonly_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ignore_lsp_errors": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "lsp_gen_interval_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "lsp_gen_interval_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "lsp_refresh_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_lsp_lifetime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "spf_interval_exp_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "spf_interval_exp_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "lsp_gen_interval_l1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "lsp_gen_interval_l2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "lsp_refresh_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_lsp_lifetime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "spf_interval_exp_l1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "spf_interval_exp_l2": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dynamic_hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "adjacency_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "adjacency_check6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "overload_bit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "overload_bit_suppress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "external", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "interlevel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "external"}, {"value": "interlevel"}], "multiple_values": True, "elements": "str", }, - "overload_bit_on_startup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "overload_bit_on_startup": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "default_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default_originate6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "metric_style": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "narrow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wide", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transition", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "narrow-transition", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "narrow-transition-l1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "narrow-transition-l2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wide-l1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wide-l2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wide-transition", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wide-transition-l1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wide-transition-l2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transition-l1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transition-l2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "narrow"}, + {"value": "wide"}, + {"value": "transition"}, + {"value": "narrow-transition"}, + {"value": "narrow-transition-l1"}, + {"value": "narrow-transition-l2"}, + {"value": "wide-l1"}, + {"value": "wide-l2"}, + {"value": "wide-transition"}, + {"value": "wide-transition-l1"}, + {"value": "wide-transition-l2"}, + {"value": "transition-l1"}, + {"value": "transition-l2"}, ], }, "redistribute_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "redistribute_l1_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "redistribute_l1_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "redistribute_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "redistribute_l2_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "redistribute_l2_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "redistribute6_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "redistribute6_l1_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "redistribute6_l1_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "redistribute6_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "redistribute6_l2_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "redistribute6_l2_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "isis_net": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "net": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "net": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "isis_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "network_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "broadcast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "point-to-point", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "loopback", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "broadcast"}, + {"value": "point-to-point"}, + {"value": "loopback"}, ], }, "circuit_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "level-1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "level-1-2"}, + {"value": "level-1"}, + {"value": "level-2"}, ], }, - "csnp_interval_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "csnp_interval_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_interval_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_interval_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_multiplier_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_multiplier_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "csnp_interval_l1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "csnp_interval_l2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_interval_l1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_interval_l2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_multiplier_l1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_multiplier_l2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "hello_padding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "lsp_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "lsp_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "lsp_retransmit_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "metric_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "metric_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "wide_metric_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "wide_metric_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "auth_password_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_password_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_keychain_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_keychain_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "metric_l1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "metric_l2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "wide_metric_l1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "wide_metric_l2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_password_l1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_password_l2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_keychain_l1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_keychain_l2": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_send_only_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_send_only_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_mode_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "md5"}, {"value": "password"}], }, "auth_mode_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "priority_l1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority_l2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "md5"}, {"value": "password"}], }, + "priority_l1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority_l2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "mesh_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mesh_group_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mesh_group_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "summary_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "level-1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "level-1-2"}, + {"value": "level-1"}, + {"value": "level-2"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "summary_address6": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "level-1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "level-1-2"}, + {"value": "level-1"}, + {"value": "level-2"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "redistribute": { "type": "list", "elements": "dict", "children": { "protocol": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "metric": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "metric_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "external", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "internal", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "external"}, {"value": "internal"}], }, "level": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "level-1-2", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-1", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-2", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "level-1-2"}, + {"value": "level-1"}, + {"value": "level-2"}, ], }, "routemap": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, "redistribute6": { "type": "list", "elements": "dict", "children": { "protocol": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "metric": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "metric_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "external", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "internal", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "external"}, {"value": "internal"}], }, "level": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "level-1-2", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-1", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "level-2", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "level-1-2"}, + {"value": "level-1"}, + {"value": "level-2"}, ], }, "routemap": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, } @@ -6261,6 +1314,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_key_chain.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_key_chain.py index fe4780c1a..0622d5bd5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_key_chain.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_key_chain.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -129,31 +129,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure key-chain. - fortios_router_key_chain: - vdom: "{{ vdom }}" +- name: Configure key-chain. + fortinet.fortios.fortios_router_key_chain: + vdom: "{{ vdom }}" state: "present" access_token: "" router_key_chain: - key: - - - accept_lifetime: "" - algorithm: "md5" - id: "6" - key_string: "" - send_lifetime: "" - name: "default_name_9" - + key: + - + accept_lifetime: "" + algorithm: "md5" + id: "6" + key_string: "" + send_lifetime: "" + name: "default_name_9" """ RETURN = """ @@ -212,7 +201,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,6 +228,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_key_chain_data(json): @@ -269,7 +260,6 @@ def underscore_to_hyphen(data): def router_key_chain(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -305,11 +295,16 @@ def router_key_chain(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -357,13 +352,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "key-chain") if data["router_key_chain"]: resp = router_key_chain(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_key_chain")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -378,333 +372,31 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "key": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "accept_lifetime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "send_lifetime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "key_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "accept_lifetime": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "send_lifetime": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "key_string": {"v_range": [["v6.0.0", ""]], "type": "string"}, "algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hmac-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hmac-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hmac-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hmac-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "md5"}, + {"value": "hmac-sha1"}, + {"value": "hmac-sha256"}, + {"value": "hmac-sha384"}, + {"value": "hmac-sha512"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -740,6 +432,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast.py index 1a0cf421d..acb75a009 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -377,7 +377,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int ip_address: @@ -421,91 +421,80 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure router multicast. - fortios_router_multicast: - vdom: "{{ vdom }}" +- name: Configure router multicast. + fortinet.fortios.fortios_router_multicast: + vdom: "{{ vdom }}" router_multicast: - interface: - - - bfd: "enable" - cisco_exclude_genid: "enable" - dr_priority: "1" - hello_holdtime: "" - hello_interval: "30" - igmp: - access_group: " (source router.access-list.name)" - immediate_leave_group: " (source router.access-list.name)" - last_member_query_count: "2" - last_member_query_interval: "1000" - query_interval: "125" - query_max_response_time: "10" - query_timeout: "255" - router_alert_check: "enable" - version: "3" - join_group: - - - address: "" - multicast_flow: " (source router.multicast-flow.name)" - name: "default_name_22 (source system.interface.name)" - neighbour_filter: " (source router.access-list.name)" - passive: "enable" - pim_mode: "sparse-mode" - propagation_delay: "500" - rp_candidate: "enable" - rp_candidate_group: " (source router.access-list.name)" - rp_candidate_interval: "60" - rp_candidate_priority: "192" - rpf_nbr_fail_back: "enable" - rpf_nbr_fail_back_filter: " (source router.access-list.name)" - state_refresh_interval: "60" - static_group: " (source router.multicast-flow.name)" - ttl_threshold: "1" - multicast_routing: "enable" - pim_sm_global: - accept_register_list: " (source router.access-list.name)" - accept_source_list: " (source router.access-list.name)" - bsr_allow_quick_refresh: "enable" - bsr_candidate: "enable" - bsr_hash: "10" - bsr_interface: " (source system.interface.name)" - bsr_priority: "0" - cisco_crp_prefix: "enable" - cisco_ignore_rp_set_priority: "enable" - cisco_register_checksum: "enable" - cisco_register_checksum_group: " (source router.access-list.name)" - join_prune_holdtime: "210" - message_interval: "60" - null_register_retries: "1" - pim_use_sdwan: "enable" - register_rate_limit: "0" - register_rp_reachability: "enable" - register_source: "disable" - register_source_interface: " (source system.interface.name)" - register_source_ip: "" - register_supression: "60" - rp_address: - - - group: " (source router.access-list.name)" - id: "61" - ip_address: "" - rp_register_keepalive: "185" - spt_threshold: "enable" - spt_threshold_group: " (source router.access-list.name)" - ssm: "enable" - ssm_range: " (source router.access-list.name)" - route_limit: "2147483647" - route_threshold: "" - + interface: + - + bfd: "enable" + cisco_exclude_genid: "enable" + dr_priority: "1" + hello_holdtime: "" + hello_interval: "30" + igmp: + access_group: " (source router.access-list.name)" + immediate_leave_group: " (source router.access-list.name)" + last_member_query_count: "2" + last_member_query_interval: "1000" + query_interval: "125" + query_max_response_time: "10" + query_timeout: "255" + router_alert_check: "enable" + version: "3" + join_group: + - + address: "" + multicast_flow: " (source router.multicast-flow.name)" + name: "default_name_22 (source system.interface.name)" + neighbour_filter: " (source router.access-list.name)" + passive: "enable" + pim_mode: "sparse-mode" + propagation_delay: "500" + rp_candidate: "enable" + rp_candidate_group: " (source router.access-list.name)" + rp_candidate_interval: "60" + rp_candidate_priority: "192" + rpf_nbr_fail_back: "enable" + rpf_nbr_fail_back_filter: " (source router.access-list.name)" + state_refresh_interval: "60" + static_group: " (source router.multicast-flow.name)" + ttl_threshold: "1" + multicast_routing: "enable" + pim_sm_global: + accept_register_list: " (source router.access-list.name)" + accept_source_list: " (source router.access-list.name)" + bsr_allow_quick_refresh: "enable" + bsr_candidate: "enable" + bsr_hash: "10" + bsr_interface: " (source system.interface.name)" + bsr_priority: "0" + cisco_crp_prefix: "enable" + cisco_ignore_rp_set_priority: "enable" + cisco_register_checksum: "enable" + cisco_register_checksum_group: " (source router.access-list.name)" + join_prune_holdtime: "210" + message_interval: "60" + null_register_retries: "1" + pim_use_sdwan: "enable" + register_rate_limit: "0" + register_rp_reachability: "enable" + register_source: "disable" + register_source_interface: " (source system.interface.name)" + register_source_ip: "" + register_supression: "60" + rp_address: + - + group: " (source router.access-list.name)" + id: "61" + ip_address: "" + rp_register_keepalive: "185" + spt_threshold: "enable" + spt_threshold_group: " (source router.access-list.name)" + ssm: "enable" + ssm_range: " (source router.access-list.name)" + route_limit: "2147483647" + route_threshold: "" """ RETURN = """ @@ -564,7 +553,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -643,7 +631,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "multicast") if data["router_multicast"]: resp = router_multicast(data, fos) @@ -660,1656 +647,115 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "route_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "route_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "route_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "route_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "multicast_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pim_sm_global": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "message_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "join_prune_holdtime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "accept_register_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "accept_source_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "message_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "join_prune_holdtime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "accept_register_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "accept_source_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "bsr_candidate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "bsr_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "bsr_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bsr_hash": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "bsr_interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "bsr_priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "bsr_hash": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bsr_allow_quick_refresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cisco_register_checksum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cisco_register_checksum_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "cisco_crp_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cisco_ignore_rp_set_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "register_rp_reachability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "register_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "interface", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip-address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "interface"}, + {"value": "ip-address"}, ], }, "register_source_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, - "register_source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "register_supression": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "register_source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "register_supression": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "null_register_retries": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "rp_register_keepalive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "spt_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "spt_threshold_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "spt_threshold_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ssm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssm_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "register_rate_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssm_range": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "register_rate_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "pim_use_sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rp_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "group": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, }, @@ -2318,938 +764,63 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "ttl_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ttl_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "pim_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "sparse-mode", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dense-mode", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "sparse-mode"}, {"value": "dense-mode"}], }, "passive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "neighbour_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hello_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_holdtime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "neighbour_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hello_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_holdtime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "cisco_exclude_genid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dr_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "propagation_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dr_priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "propagation_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "state_refresh_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "rp_candidate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "rp_candidate_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "rp_candidate_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rp_candidate_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "rp_candidate_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "multicast_flow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "static_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "multicast_flow": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "static_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rpf_nbr_fail_back": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rpf_nbr_fail_back_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", }, "join_group": { @@ -3257,531 +828,56 @@ versioned_schema = { "elements": "dict", "children": { "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "igmp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "access_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "access_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "3"}, {"value": "2"}, {"value": "1"}], }, "immediate_leave_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "last_member_query_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "last_member_query_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "query_max_response_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "query_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "query_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "router_alert_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -3817,6 +913,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast6.py index 717fb4a7f..f6f490dde 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -130,7 +130,7 @@ options: suboptions: id: description: - - ID of the entry. + - ID of the entry. see Notes. required: true type: int ip6_address: @@ -140,34 +140,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 multicast. - fortios_router_multicast6: - vdom: "{{ vdom }}" +- name: Configure IPv6 multicast. + fortinet.fortios.fortios_router_multicast6: + vdom: "{{ vdom }}" router_multicast6: - interface: - - - hello_holdtime: "" - hello_interval: "30" - name: "default_name_6 (source system.interface.name)" - multicast_pmtu: "enable" - multicast_routing: "enable" - pim_sm_global: - register_rate_limit: "0" - rp_address: - - - id: "12" - ip6_address: "" - + interface: + - + hello_holdtime: "" + hello_interval: "30" + name: "default_name_6 (source system.interface.name)" + multicast_pmtu: "enable" + multicast_routing: "enable" + pim_sm_global: + register_rate_limit: "0" + rp_address: + - + id: "12" + ip6_address: "" """ RETURN = """ @@ -226,7 +215,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -299,7 +287,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "multicast6") if data["router_multicast6"]: resp = router_multicast6(data, fos) @@ -316,480 +303,50 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "multicast_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_pmtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "hello_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_holdtime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "hello_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_holdtime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "pim_sm_global": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "register_rate_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "register_rate_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "rp_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip6_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip6_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, }, @@ -827,6 +384,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast_flow.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast_flow.py index 0672a1c7d..df238ec09 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast_flow.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_multicast_flow.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,7 +104,7 @@ options: type: str id: description: - - Flow ID. + - Flow ID. see Notes. required: true type: int source_addr: @@ -119,30 +119,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure multicast-flow. - fortios_router_multicast_flow: - vdom: "{{ vdom }}" +- name: Configure multicast-flow. + fortinet.fortios.fortios_router_multicast_flow: + vdom: "{{ vdom }}" state: "present" access_token: "" router_multicast_flow: - comments: "" - flows: - - - group_addr: "" - id: "6" - source_addr: "" - name: "default_name_8" - + comments: "" + flows: + - + group_addr: "" + id: "6" + source_addr: "" + name: "default_name_8" """ RETURN = """ @@ -201,7 +190,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -229,6 +217,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_multicast_flow_data(json): @@ -258,7 +249,6 @@ def underscore_to_hyphen(data): def router_multicast_flow(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -294,11 +284,16 @@ def router_multicast_flow(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -348,13 +343,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "multicast-flow") if data["router_multicast_flow"]: resp = router_multicast_flow(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_multicast_flow")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -369,212 +363,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "flows": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "group_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "group_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -611,6 +417,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf.py index 4cf732ee4..3d896d83b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -127,7 +127,7 @@ options: - 'out' id: description: - - Filter list entry ID. + - Filter list entry ID. see Notes. required: true type: int list: @@ -188,7 +188,7 @@ options: - 'enable' id: description: - - Range entry ID. + - Range entry ID. see Notes. required: true type: int prefix: @@ -276,7 +276,7 @@ options: suboptions: id: description: - - Key ID (1 - 255). + - Key ID (1 - 255). see Notes. required: true type: int key_string: @@ -381,7 +381,7 @@ options: type: str id: description: - - Distribute list entry ID. + - Distribute list entry ID. see Notes. required: true type: int protocol: @@ -419,7 +419,7 @@ options: type: int id: description: - - Neighbor entry ID. + - Neighbor entry ID. see Notes. required: true type: int ip: @@ -450,7 +450,7 @@ options: type: str id: description: - - Network entry ID. + - Network entry ID. see Notes. required: true type: int prefix: @@ -539,7 +539,7 @@ options: suboptions: id: description: - - Key ID (1 - 255). + - Key ID (1 - 255). see Notes. required: true type: int key_string: @@ -696,7 +696,7 @@ options: - 'enable' id: description: - - Summary address entry ID. + - Summary address entry ID. see Notes. required: true type: int prefix: @@ -710,153 +710,142 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure OSPF. - fortios_router_ospf: - vdom: "{{ vdom }}" +- name: Configure OSPF. + fortinet.fortios.fortios_router_ospf: + vdom: "{{ vdom }}" router_ospf: - abr_type: "cisco" - area: - - - authentication: "none" - comments: "" - default_cost: "10" - filter_list: - - - direction: "in" - id: "10" - list: " (source router.access-list.name router.prefix-list.name)" - id: "12" - nssa_default_information_originate: "enable" - nssa_default_information_originate_metric: "10" - nssa_default_information_originate_metric_type: "1" - nssa_redistribution: "enable" - nssa_translator_role: "candidate" - range: - - - advertise: "disable" - id: "20" - prefix: "" - substitute: "" - substitute_status: "enable" - shortcut: "disable" - stub_type: "no-summary" - type: "regular" - virtual_link: - - - authentication: "none" - authentication_key: "" - dead_interval: "40" - hello_interval: "10" - keychain: " (source router.key-chain.name)" - md5_key: "" - md5_keychain: " (source router.key-chain.name)" - md5_keys: - - - id: "36" - key_string: "" - name: "default_name_38" - peer: "" - retransmit_interval: "5" - transmit_delay: "1" - auto_cost_ref_bandwidth: "1000" - bfd: "enable" - database_overflow: "enable" - database_overflow_max_lsas: "10000" - database_overflow_time_to_recover: "300" - default_information_metric: "10" - default_information_metric_type: "1" - default_information_originate: "enable" - default_information_route_map: " (source router.route-map.name)" - default_metric: "10" - distance: "110" - distance_external: "110" - distance_inter_area: "110" - distance_intra_area: "110" - distribute_list: - - - access_list: " (source router.access-list.name)" - id: "58" - protocol: "connected" - distribute_list_in: " (source router.access-list.name router.prefix-list.name)" - distribute_route_map_in: " (source router.route-map.name)" - log_neighbour_changes: "enable" - neighbor: - - - cost: "0" - id: "65" - ip: "" - poll_interval: "10" - priority: "1" - network: - - - area: "" - comments: "" - id: "72" - prefix: "" - ospf_interface: - - - authentication: "none" - authentication_key: "" - bfd: "global" - comments: "" - cost: "0" - database_filter_out: "enable" - dead_interval: "0" - hello_interval: "0" - hello_multiplier: "0" - interface: " (source system.interface.name)" - ip: "" - keychain: " (source router.key-chain.name)" - md5_key: "" - md5_keychain: " (source router.key-chain.name)" - md5_keys: - - - id: "90" - key_string: "" - mtu: "0" - mtu_ignore: "enable" - name: "default_name_94" - network_type: "broadcast" - prefix_length: "0" - priority: "1" - resync_timeout: "40" - retransmit_interval: "5" - status: "disable" - transmit_delay: "1" - passive_interface: - - - name: "default_name_103 (source system.interface.name)" - redistribute: - - - metric: "0" - metric_type: "1" - name: "default_name_107" - routemap: " (source router.route-map.name)" - status: "enable" - tag: "0" - restart_mode: "none" - restart_on_topology_change: "enable" - restart_period: "120" - rfc1583_compatible: "enable" - router_id: "" - spf_timers: "" - summary_address: - - - advertise: "disable" - id: "119" - prefix: "" - tag: "0" - + abr_type: "cisco" + area: + - + authentication: "none" + comments: "" + default_cost: "10" + filter_list: + - + direction: "in" + id: "10" + list: " (source router.access-list.name router.prefix-list.name)" + id: "12" + nssa_default_information_originate: "enable" + nssa_default_information_originate_metric: "10" + nssa_default_information_originate_metric_type: "1" + nssa_redistribution: "enable" + nssa_translator_role: "candidate" + range: + - + advertise: "disable" + id: "20" + prefix: "" + substitute: "" + substitute_status: "enable" + shortcut: "disable" + stub_type: "no-summary" + type: "regular" + virtual_link: + - + authentication: "none" + authentication_key: "" + dead_interval: "40" + hello_interval: "10" + keychain: " (source router.key-chain.name)" + md5_key: "" + md5_keychain: " (source router.key-chain.name)" + md5_keys: + - + id: "36" + key_string: "" + name: "default_name_38" + peer: "" + retransmit_interval: "5" + transmit_delay: "1" + auto_cost_ref_bandwidth: "1000" + bfd: "enable" + database_overflow: "enable" + database_overflow_max_lsas: "10000" + database_overflow_time_to_recover: "300" + default_information_metric: "10" + default_information_metric_type: "1" + default_information_originate: "enable" + default_information_route_map: " (source router.route-map.name)" + default_metric: "10" + distance: "110" + distance_external: "110" + distance_inter_area: "110" + distance_intra_area: "110" + distribute_list: + - + access_list: " (source router.access-list.name)" + id: "58" + protocol: "connected" + distribute_list_in: " (source router.access-list.name router.prefix-list.name)" + distribute_route_map_in: " (source router.route-map.name)" + log_neighbour_changes: "enable" + neighbor: + - + cost: "0" + id: "65" + ip: "" + poll_interval: "10" + priority: "1" + network: + - + area: "" + comments: "" + id: "72" + prefix: "" + ospf_interface: + - + authentication: "none" + authentication_key: "" + bfd: "global" + comments: "" + cost: "0" + database_filter_out: "enable" + dead_interval: "0" + hello_interval: "0" + hello_multiplier: "0" + interface: " (source system.interface.name)" + ip: "" + keychain: " (source router.key-chain.name)" + md5_key: "" + md5_keychain: " (source router.key-chain.name)" + md5_keys: + - + id: "90" + key_string: "" + mtu: "0" + mtu_ignore: "enable" + name: "default_name_94" + network_type: "broadcast" + prefix_length: "0" + priority: "1" + resync_timeout: "40" + retransmit_interval: "5" + status: "disable" + transmit_delay: "1" + passive_interface: + - + name: "default_name_103 (source system.interface.name)" + redistribute: + - + metric: "0" + metric_type: "1" + name: "default_name_107" + routemap: " (source router.route-map.name)" + status: "enable" + tag: "0" + restart_mode: "none" + restart_on_topology_change: "enable" + restart_period: "120" + rfc1583_compatible: "enable" + router_id: "" + spf_timers: "" + summary_address: + - + advertise: "disable" + id: "119" + prefix: "" + tag: "0" """ RETURN = """ @@ -915,7 +904,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1019,7 +1007,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "ospf") if data["router_ospf"]: resp = router_ospf(data, fos) @@ -1036,5709 +1023,476 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "abr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "shortcut", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "cisco"}, + {"value": "ibm"}, + {"value": "shortcut"}, + {"value": "standard"}, ], }, - "auto_cost_ref_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance_external": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance_inter_area": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance_intra_area": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "auto_cost_ref_bandwidth": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance_external": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance_inter_area": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance_intra_area": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "database_overflow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "database_overflow_max_lsas": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "database_overflow_max_lsas": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "database_overflow_time_to_recover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "default_information_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "always", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "default_information_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "always"}, {"value": "disable"}], }, + "default_information_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "default_information_metric_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], }, "default_information_route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, - "default_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "default_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "rfc1583_compatible": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "router_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "spf_timers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "router_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "spf_timers": {"v_range": [["v6.0.0", ""]], "type": "string"}, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_neighbour_changes": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "distribute_list_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distribute_route_map_in": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "distribute_list_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distribute_route_map_in": {"v_range": [["v6.0.0", ""]], "type": "string"}, "restart_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "graceful-restart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "lls"}, + {"value": "graceful-restart"}, ], }, - "restart_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "restart_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "restart_on_topology_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "area": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "shortcut": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "default"}, ], }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "message-digest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "md5", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "message-digest", "v_range": [["v7.0.1", ""]]}, + {"value": "md5", "v_range": [["v6.0.0", "v7.0.0"]]}, ], }, - "default_cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "default_cost": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "nssa_translator_role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "candidate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "never", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "always", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "candidate"}, + {"value": "never"}, + {"value": "always"}, ], }, "stub_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "no-summary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "summary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "no-summary"}, {"value": "summary"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nssa", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "stub", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "regular"}, + {"value": "nssa"}, + {"value": "stub"}, ], }, "nssa_default_information_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "always", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "enable"}, + {"value": "always"}, + {"value": "disable"}, ], }, "nssa_default_information_originate_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "nssa_default_information_originate_metric_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], }, "nssa_redistribution": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v7.0.0", ""]], "type": "string"}, "range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, "advertise": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "substitute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "substitute": {"v_range": [["v6.0.0", ""]], "type": "string"}, "substitute_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "virtual_link": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, { "value": "message-digest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "md5", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], }, + {"value": "md5", "v_range": [["v6.0.0", "v7.0.0"]]}, ], }, "authentication_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "keychain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, + "keychain": {"v_range": [["v7.0.1", ""]], "type": "string"}, "dead_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "hello_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "retransmit_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "transmit_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "peer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "md5_keys": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "key_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "md5_keychain": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.0"]], "type": "string", }, "md5_key": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "filter_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "in", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "out", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "in"}, {"value": "out"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ospf_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "comments": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "message-digest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "md5", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "message-digest", "v_range": [["v7.0.1", ""]]}, + {"value": "md5", "v_range": [["v6.0.0", "v7.0.0"]]}, ], }, - "authentication_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "keychain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "prefix_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "retransmit_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "transmit_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dead_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_multiplier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "authentication_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "keychain": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "prefix_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "retransmit_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "transmit_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "cost": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dead_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_multiplier": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "database_filter_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mtu": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "mtu_ignore": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "network_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "broadcast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-broadcast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "point-to-point", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "point-to-multipoint", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "point-to-multipoint-non-broadcast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "broadcast"}, + {"value": "non-broadcast"}, + {"value": "point-to-point"}, + {"value": "point-to-multipoint"}, + {"value": "point-to-multipoint-non-broadcast"}, ], }, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "global"}, + {"value": "enable"}, + {"value": "disable"}, ], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "resync_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "resync_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "md5_keys": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "key_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "key_string": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, - "md5_keychain": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "md5_key": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "md5_keychain": {"v_range": [["v6.2.0", "v7.0.0"]], "type": "string"}, + "md5_key": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "network": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "area": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "area": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "neighbor": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "poll_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "poll_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "cost": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "passive_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "summary_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tag": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "advertise": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "distribute_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "access_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "access_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "connected", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "connected"}, + {"value": "static"}, + {"value": "rip"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "redistribute": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "metric": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "routemap": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "metric_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], }, "tag": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, } @@ -6774,6 +1528,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf6.py index 95428caf4..e61090a42 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ospf6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -148,7 +148,7 @@ options: type: str spi: description: - - Security Parameters Index. + - Security Parameters Index. see Notes. required: true type: int key_rollover_interval: @@ -203,7 +203,7 @@ options: - 'enable' id: description: - - Range entry ID. + - Range entry ID. see Notes. required: true type: int prefix6: @@ -285,7 +285,7 @@ options: type: str spi: description: - - Security Parameters Index. + - Security Parameters Index. see Notes. required: true type: int key_rollover_interval: @@ -434,7 +434,7 @@ options: type: str spi: description: - - Security Parameters Index. + - Security Parameters Index. see Notes. required: true type: int key_rollover_interval: @@ -594,7 +594,7 @@ options: - 'enable' id: description: - - Summary address entry ID. + - Summary address entry ID. see Notes. required: true type: int prefix6: @@ -608,124 +608,113 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 OSPF. - fortios_router_ospf6: - vdom: "{{ vdom }}" +- name: Configure IPv6 OSPF. + fortinet.fortios.fortios_router_ospf6: + vdom: "{{ vdom }}" router_ospf6: - abr_type: "cisco" - area: - - - authentication: "none" - default_cost: "10" - id: "7" - ipsec_auth_alg: "md5" - ipsec_enc_alg: "null" - ipsec_keys: - - - auth_key: "" - enc_key: "" - spi: "0" - key_rollover_interval: "300" - nssa_default_information_originate: "enable" - nssa_default_information_originate_metric: "10" - nssa_default_information_originate_metric_type: "1" - nssa_redistribution: "enable" - nssa_translator_role: "candidate" - range: - - - advertise: "disable" - id: "22" - prefix6: "" - stub_type: "no-summary" - type: "regular" - virtual_link: - - - authentication: "none" - dead_interval: "40" - hello_interval: "10" - ipsec_auth_alg: "md5" - ipsec_enc_alg: "null" - ipsec_keys: - - - auth_key: "" - enc_key: "" - spi: "0" - key_rollover_interval: "300" - name: "default_name_37" - peer: "" - retransmit_interval: "5" - transmit_delay: "1" - auto_cost_ref_bandwidth: "1000" - bfd: "enable" - default_information_metric: "10" - default_information_metric_type: "1" - default_information_originate: "enable" - default_information_route_map: " (source router.route-map.name)" - default_metric: "10" - log_neighbour_changes: "enable" - ospf6_interface: - - - area_id: "" - authentication: "none" - bfd: "global" - cost: "0" - dead_interval: "0" - hello_interval: "0" - interface: " (source system.interface.name)" - ipsec_auth_alg: "md5" - ipsec_enc_alg: "null" - ipsec_keys: - - - auth_key: "" - enc_key: "" - spi: "0" - key_rollover_interval: "300" - mtu: "0" - mtu_ignore: "enable" - name: "default_name_66" - neighbor: - - - cost: "0" - ip6: "" - poll_interval: "10" - priority: "1" - network_type: "broadcast" - priority: "1" - retransmit_interval: "5" - status: "disable" - transmit_delay: "1" - passive_interface: - - - name: "default_name_78 (source system.interface.name)" - redistribute: - - - metric: "0" - metric_type: "1" - name: "default_name_82" - routemap: " (source router.route-map.name)" - status: "enable" - restart_mode: "none" - restart_on_topology_change: "enable" - restart_period: "120" - router_id: "" - spf_timers: "" - summary_address: - - - advertise: "disable" - id: "92" - prefix6: "" - tag: "0" - + abr_type: "cisco" + area: + - + authentication: "none" + default_cost: "10" + id: "7" + ipsec_auth_alg: "md5" + ipsec_enc_alg: "null" + ipsec_keys: + - + auth_key: "" + enc_key: "" + spi: "" + key_rollover_interval: "300" + nssa_default_information_originate: "enable" + nssa_default_information_originate_metric: "10" + nssa_default_information_originate_metric_type: "1" + nssa_redistribution: "enable" + nssa_translator_role: "candidate" + range: + - + advertise: "disable" + id: "22" + prefix6: "" + stub_type: "no-summary" + type: "regular" + virtual_link: + - + authentication: "none" + dead_interval: "40" + hello_interval: "10" + ipsec_auth_alg: "md5" + ipsec_enc_alg: "null" + ipsec_keys: + - + auth_key: "" + enc_key: "" + spi: "" + key_rollover_interval: "300" + name: "default_name_37" + peer: "" + retransmit_interval: "5" + transmit_delay: "1" + auto_cost_ref_bandwidth: "1000" + bfd: "enable" + default_information_metric: "10" + default_information_metric_type: "1" + default_information_originate: "enable" + default_information_route_map: " (source router.route-map.name)" + default_metric: "10" + log_neighbour_changes: "enable" + ospf6_interface: + - + area_id: "" + authentication: "none" + bfd: "global" + cost: "0" + dead_interval: "0" + hello_interval: "0" + interface: " (source system.interface.name)" + ipsec_auth_alg: "md5" + ipsec_enc_alg: "null" + ipsec_keys: + - + auth_key: "" + enc_key: "" + spi: "" + key_rollover_interval: "300" + mtu: "0" + mtu_ignore: "enable" + name: "default_name_66" + neighbor: + - + cost: "0" + ip6: "" + poll_interval: "10" + priority: "1" + network_type: "broadcast" + priority: "1" + retransmit_interval: "5" + status: "disable" + transmit_delay: "1" + passive_interface: + - + name: "default_name_78 (source system.interface.name)" + redistribute: + - + metric: "0" + metric_type: "1" + name: "default_name_82" + routemap: " (source router.route-map.name)" + status: "enable" + restart_mode: "none" + restart_on_topology_change: "enable" + restart_period: "120" + router_id: "" + spf_timers: "" + summary_address: + - + advertise: "disable" + id: "92" + prefix6: "" + tag: "0" """ RETURN = """ @@ -784,7 +773,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -875,7 +863,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "ospf6") if data["router_ospf6"]: resp = router_ospf6(data, fos) @@ -892,2010 +879,132 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "abr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_cost_ref_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "cisco"}, {"value": "ibm"}, {"value": "standard"}], }, + "auto_cost_ref_bandwidth": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "default_information_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "always", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "always"}, {"value": "disable"}], }, "log_neighbour_changes": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "default_information_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "default_information_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "default_information_metric_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], }, "default_information_route_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "default_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "router_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "spf_timers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, + "default_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "router_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "spf_timers": {"v_range": [["v6.0.0", ""]], "type": "string"}, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "restart_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "graceful-restart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "restart_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "none"}, {"value": "graceful-restart"}], }, + "restart_period": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "restart_on_topology_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "area": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "default_cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "default_cost": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "nssa_translator_role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "candidate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "never", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "always", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "candidate"}, + {"value": "never"}, + {"value": "always"}, ], }, "stub_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "no-summary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "summary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "no-summary"}, {"value": "summary"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nssa", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "stub", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "regular"}, + {"value": "nssa"}, + {"value": "stub"}, ], }, "nssa_default_information_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nssa_default_information_originate_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "nssa_default_information_originate_metric_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], }, "nssa_redistribution": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ah", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "esp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "ah"}, {"value": "esp"}], }, "key_rollover_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "ipsec_auth_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "md5"}, + {"value": "sha1"}, + {"value": "sha256"}, + {"value": "sha384"}, + {"value": "sha512"}, ], }, "ipsec_enc_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "3des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "null"}, + {"value": "des"}, + {"value": "3des"}, + {"value": "aes128"}, + {"value": "aes192"}, + {"value": "aes256"}, ], }, "ipsec_keys": { @@ -2903,981 +1012,94 @@ versioned_schema = { "elements": "dict", "children": { "spi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "auth_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "enc_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "auth_key": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "enc_key": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "advertise": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "virtual_link": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "dead_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "hello_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "retransmit_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "transmit_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "peer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ah", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "esp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "area", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "ah"}, + {"value": "esp"}, + {"value": "area"}, ], }, "key_rollover_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "ipsec_auth_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "md5"}, + {"value": "sha1"}, + {"value": "sha256"}, + {"value": "sha384"}, + {"value": "sha512"}, ], }, "ipsec_enc_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "3des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "null"}, + {"value": "des"}, + {"value": "3des"}, + {"value": "aes128"}, + {"value": "aes192"}, + {"value": "aes256"}, ], }, "ipsec_keys": { @@ -3885,1445 +1107,110 @@ versioned_schema = { "elements": "dict", "children": { "spi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "auth_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", }, "enc_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ospf6_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "area_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "retransmit_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "transmit_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dead_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "area_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "retransmit_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "transmit_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "cost": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dead_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "network_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "broadcast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "point-to-point", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-broadcast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "point-to-multipoint", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "point-to-multipoint-non-broadcast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "broadcast"}, + {"value": "point-to-point"}, + {"value": "non-broadcast"}, + {"value": "point-to-multipoint"}, + {"value": "point-to-multipoint-non-broadcast"}, ], }, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "global"}, + {"value": "enable"}, + {"value": "disable"}, ], }, - "mtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "mtu": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "mtu_ignore": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ah", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "esp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "area", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "ah"}, + {"value": "esp"}, + {"value": "area"}, ], }, "key_rollover_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "ipsec_auth_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "md5"}, + {"value": "sha1"}, + {"value": "sha256"}, + {"value": "sha384"}, + {"value": "sha512"}, ], }, "ipsec_enc_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "3des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "null"}, + {"value": "des"}, + {"value": "3des"}, + {"value": "aes128"}, + {"value": "aes192"}, + {"value": "aes256"}, ], }, "ipsec_keys": { @@ -5331,787 +1218,96 @@ versioned_schema = { "elements": "dict", "children": { "spi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "auth_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "enc_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "auth_key": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "enc_key": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "neighbor": { "type": "list", "elements": "dict", "children": { "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "poll_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "cost": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "passive_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "summary_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "advertise": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "tag": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "redistribute": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "metric": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "routemap": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "metric_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, } @@ -6147,6 +1343,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy.py index 0e3224ec8..0531df11b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the seq_num instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -177,7 +179,7 @@ options: suboptions: id: description: - - Destination Internet Service ID. Source firewall.internet-service.id. + - Destination Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int output_device: @@ -190,7 +192,7 @@ options: type: int seq_num: description: - - Sequence number(1-65535). + - Sequence number(1-65535). see Notes. required: true type: int src: @@ -248,60 +250,49 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 routing policies. - fortios_router_policy: - vdom: "{{ vdom }}" +- name: Configure IPv4 routing policies. + fortinet.fortios.fortios_router_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" router_policy: - action: "deny" - comments: "" - dst: - - - subnet: "" - dst_negate: "enable" - dstaddr: - - - name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" - end_port: "65535" - end_source_port: "65535" - gateway: "" - input_device: - - - name: "default_name_14 (source system.interface.name)" - input_device_negate: "enable" - internet_service_custom: - - - name: "default_name_17 (source firewall.internet-service-custom.name)" - internet_service_id: - - - id: "19 (source firewall.internet-service.id)" - output_device: " (source system.interface.name)" - protocol: "0" - seq_num: "0" - src: - - - subnet: "" - src_negate: "enable" - srcaddr: - - - name: "default_name_27 (source firewall.address.name firewall.addrgrp.name)" - start_port: "0" - start_source_port: "0" - status: "enable" - tos: "" - tos_mask: "" - + action: "deny" + comments: "" + dst: + - + subnet: "" + dst_negate: "enable" + dstaddr: + - + name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" + end_port: "65535" + end_source_port: "65535" + gateway: "" + input_device: + - + name: "default_name_14 (source system.interface.name)" + input_device_negate: "enable" + internet_service_custom: + - + name: "default_name_17 (source firewall.internet-service-custom.name)" + internet_service_id: + - + id: "19 (source firewall.internet-service.id)" + output_device: " (source system.interface.name)" + protocol: "0" + seq_num: "" + src: + - + subnet: "" + src_negate: "enable" + srcaddr: + - + name: "default_name_27 (source firewall.address.name firewall.addrgrp.name)" + start_port: "0" + start_source_port: "0" + status: "enable" + tos: "" + tos_mask: "" """ RETURN = """ @@ -360,7 +351,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -388,6 +378,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_policy_data(json): @@ -441,7 +434,6 @@ def underscore_to_hyphen(data): def router_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -475,11 +467,16 @@ def router_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -527,13 +524,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "policy") if data["router_policy"]: resp = router_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -548,1220 +544,124 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "seq_num": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "input_device": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "input_device_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "src": { "type": "list", "elements": "dict", "children": { "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "src_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dst": { "type": "list", "elements": "dict", "children": { "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dst_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_source_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_source_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "output_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tos_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "deny"}, {"value": "permit"}], }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_source_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "end_source_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "output_device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tos": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tos_mask": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "internet_service_id": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.2.0", ""]], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1796,6 +696,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy6.py index 87d3a7a2b..5fe015159 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_policy6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the seq_num instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -132,6 +134,10 @@ options: description: - End destination port number (1 - 65535). type: int + end_source_port: + description: + - End source port number (1 - 65535). + type: int gateway: description: - IPv6 address of the gateway. @@ -173,7 +179,7 @@ options: suboptions: id: description: - - Destination Internet Service ID. Source firewall.internet-service.id. + - Destination Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int output_device: @@ -186,7 +192,7 @@ options: type: int seq_num: description: - - Sequence number(1-65535). + - Sequence number(1-65535). see Notes. required: true type: int src: @@ -222,6 +228,10 @@ options: description: - Start destination port number (1 - 65535). type: int + start_source_port: + description: + - Start source port number (1 - 65535). + type: int status: description: - Enable/disable this policy route. @@ -240,58 +250,49 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 routing policies. - fortios_router_policy6: - vdom: "{{ vdom }}" +- name: Configure IPv6 routing policies. + fortinet.fortios.fortios_router_policy6: + vdom: "{{ vdom }}" state: "present" access_token: "" router_policy6: - action: "deny" - comments: "" - dst: - - - addr6: "" - dst_negate: "enable" - dstaddr: - - - name: "default_name_9 (source firewall.address6.name firewall.addrgrp6.name)" - end_port: "65535" - gateway: "" - input_device: - - - name: "default_name_13 (source system.interface.name)" - input_device_negate: "enable" - internet_service_custom: - - - name: "default_name_16 (source firewall.internet-service-custom.name)" - internet_service_id: - - - id: "18 (source firewall.internet-service.id)" - output_device: " (source system.interface.name system.interface.name)" - protocol: "0" - seq_num: "0" - src: - - - addr6: "" - src_negate: "enable" - srcaddr: - - - name: "default_name_26 (source firewall.address6.name firewall.addrgrp6.name)" - start_port: "1" - status: "enable" - tos: "" - tos_mask: "" - + action: "deny" + comments: "" + dst: + - + addr6: "" + dst_negate: "enable" + dstaddr: + - + name: "default_name_9 (source firewall.address6.name firewall.addrgrp6.name)" + end_port: "65535" + end_source_port: "65535" + gateway: "" + input_device: + - + name: "default_name_14 (source system.interface.name)" + input_device_negate: "enable" + internet_service_custom: + - + name: "default_name_17 (source firewall.internet-service-custom.name)" + internet_service_id: + - + id: "19 (source firewall.internet-service.id)" + output_device: " (source system.interface.name system.interface.name)" + protocol: "0" + seq_num: "" + src: + - + addr6: "" + src_negate: "enable" + srcaddr: + - + name: "default_name_27 (source firewall.address6.name firewall.addrgrp6.name)" + start_port: "1" + start_source_port: "1" + status: "enable" + tos: "" + tos_mask: "" """ RETURN = """ @@ -350,7 +351,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -378,6 +378,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_policy6_data(json): @@ -388,6 +391,7 @@ def filter_router_policy6_data(json): "dst_negate", "dstaddr", "end_port", + "end_source_port", "gateway", "input_device", "input_device_negate", @@ -400,6 +404,7 @@ def filter_router_policy6_data(json): "src_negate", "srcaddr", "start_port", + "start_source_port", "status", "tos", "tos_mask", @@ -429,7 +434,6 @@ def underscore_to_hyphen(data): def router_policy6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -465,11 +469,16 @@ def router_policy6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -517,13 +526,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "policy6") if data["router_policy6"]: resp = router_policy6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_policy6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -538,934 +546,124 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "seq_num": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "input_device": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "input_device_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "src": { "type": "list", "elements": "dict", "children": { "addr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "src_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dst": { "type": "list", "elements": "dict", "children": { "addr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "dst_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "output_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tos_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "deny"}, {"value": "permit"}], }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_source_port": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "end_source_port": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "output_device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tos": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tos_mask": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "internet_service_id": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "id": {"v_range": [["v7.2.1", ""]], "type": "integer", "required": True} }, + "v_range": [["v7.2.1", ""]], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1500,6 +698,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list.py index 9f4cda967..58a0d9e2a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -120,7 +120,7 @@ options: type: int id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int le: @@ -134,33 +134,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 prefix lists. - fortios_router_prefix_list: - vdom: "{{ vdom }}" +- name: Configure IPv4 prefix lists. + fortinet.fortios.fortios_router_prefix_list: + vdom: "{{ vdom }}" state: "present" access_token: "" router_prefix_list: - comments: "" - name: "default_name_4" - rule: - - - action: "permit" - flags: "2147483647" - ge: "" - id: "9" - le: "" - prefix: "" - + comments: "" + name: "default_name_4" + rule: + - + action: "permit" + flags: "2147483647" + ge: "" + id: "9" + le: "" + prefix: "" """ RETURN = """ @@ -219,7 +208,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -247,6 +235,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_prefix_list_data(json): @@ -276,7 +267,6 @@ def underscore_to_hyphen(data): def router_prefix_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -312,11 +302,16 @@ def router_prefix_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -366,13 +361,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "prefix-list") if data["router_prefix_list"]: resp = router_prefix_list(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_prefix_list")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -387,345 +381,31 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "permit"}, {"value": "deny"}], }, - "ge": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "le": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "flags": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ge": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "le": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "flags": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -760,6 +440,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list6.py index 61248da39..5943ff3ba 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_prefix_list6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -120,7 +120,7 @@ options: type: int id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int le: @@ -134,33 +134,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 prefix lists. - fortios_router_prefix_list6: - vdom: "{{ vdom }}" +- name: Configure IPv6 prefix lists. + fortinet.fortios.fortios_router_prefix_list6: + vdom: "{{ vdom }}" state: "present" access_token: "" router_prefix_list6: - comments: "" - name: "default_name_4" - rule: - - - action: "permit" - flags: "0" - ge: "" - id: "9" - le: "" - prefix6: "" - + comments: "" + name: "default_name_4" + rule: + - + action: "permit" + flags: "0" + ge: "" + id: "9" + le: "" + prefix6: "" """ RETURN = """ @@ -219,7 +208,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -247,6 +235,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_prefix_list6_data(json): @@ -276,7 +267,6 @@ def underscore_to_hyphen(data): def router_prefix_list6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -312,11 +302,16 @@ def router_prefix_list6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -366,13 +361,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "prefix-list6") if data["router_prefix_list6"]: resp = router_prefix_list6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_prefix_list6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -387,352 +381,34 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "permit"}, {"value": "deny"}], }, - "ge": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "le": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ge": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "le": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "flags": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -767,6 +443,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_rip.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_rip.py index 55cb57a70..416cbc629 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_rip.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_rip.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +107,7 @@ options: type: int id: description: - - Distance ID. + - Distance ID. see Notes. required: true type: int prefix: @@ -129,7 +129,7 @@ options: - 'out' id: description: - - Distribute list ID. + - Distribute list ID. see Notes. required: true type: int interface: @@ -231,7 +231,7 @@ options: suboptions: id: description: - - Neighbor entry ID. + - Neighbor entry ID. see Notes. required: true type: int ip: @@ -246,7 +246,7 @@ options: suboptions: id: description: - - Network entry ID. + - Network entry ID. see Notes. required: true type: int prefix: @@ -272,7 +272,7 @@ options: - 'out' id: description: - - Offset-list ID. + - Offset-list ID. see Notes. required: true type: int interface: @@ -349,79 +349,68 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure RIP. - fortios_router_rip: - vdom: "{{ vdom }}" +- name: Configure RIP. + fortinet.fortios.fortios_router_rip: + vdom: "{{ vdom }}" router_rip: - default_information_originate: "enable" - default_metric: "1" - distance: - - - access_list: " (source router.access-list.name)" - distance: "0" - id: "8" - prefix: "" - distribute_list: - - - direction: "in" - id: "12" - interface: " (source system.interface.name)" - listname: " (source router.access-list.name router.prefix-list.name)" - status: "enable" - garbage_timer: "120" - interface: - - - auth_keychain: " (source router.key-chain.name)" - auth_mode: "none" - auth_string: "" - flags: "8" - name: "default_name_22 (source system.interface.name)" - receive_version: "1" - send_version: "1" - send_version2_broadcast: "disable" - split_horizon: "poisoned" - split_horizon_status: "enable" - max_out_metric: "0" - neighbor: - - - id: "30" - ip: "" - network: - - - id: "33" - prefix: "" - offset_list: - - - access_list: " (source router.access-list.name)" - direction: "in" - id: "38" - interface: " (source system.interface.name)" - offset: "0" - status: "enable" - passive_interface: - - - name: "default_name_43 (source system.interface.name)" - recv_buffer_size: "655360" - redistribute: - - - metric: "0" - name: "default_name_47" - routemap: " (source router.route-map.name)" - status: "enable" - timeout_timer: "180" - update_timer: "30" - version: "1" - + default_information_originate: "enable" + default_metric: "1" + distance: + - + access_list: " (source router.access-list.name)" + distance: "0" + id: "8" + prefix: "" + distribute_list: + - + direction: "in" + id: "12" + interface: " (source system.interface.name)" + listname: " (source router.access-list.name router.prefix-list.name)" + status: "enable" + garbage_timer: "120" + interface: + - + auth_keychain: " (source router.key-chain.name)" + auth_mode: "none" + auth_string: "" + flags: "8" + name: "default_name_22 (source system.interface.name)" + receive_version: "1" + send_version: "1" + send_version2_broadcast: "disable" + split_horizon: "poisoned" + split_horizon_status: "enable" + max_out_metric: "0" + neighbor: + - + id: "30" + ip: "" + network: + - + id: "33" + prefix: "" + offset_list: + - + access_list: " (source router.access-list.name)" + direction: "in" + id: "38" + interface: " (source system.interface.name)" + offset: "0" + status: "enable" + passive_interface: + - + name: "default_name_43 (source system.interface.name)" + recv_buffer_size: "655360" + redistribute: + - + metric: "0" + name: "default_name_47" + routemap: " (source router.route-map.name)" + status: "enable" + timeout_timer: "180" + update_timer: "30" + version: "1" """ RETURN = """ @@ -480,7 +469,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -599,7 +587,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "rip") if data["router_rip"]: resp = router_rip(data, fos) @@ -616,2261 +603,204 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "default_information_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "default_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_out_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "default_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_out_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "distance": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "access_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "access_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "distribute_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "in", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "out", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "listname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "in"}, {"value": "out"}], }, + "listname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "neighbor": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "network": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "offset_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "in", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "out", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "access_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "offset": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "in"}, {"value": "out"}], }, + "access_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "offset": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "passive_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "update_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "timeout_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "garbage_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "update_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "timeout_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "garbage_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], }, "interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "auth_keychain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "auth_keychain": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "text"}, {"value": "md5"}], }, + "auth_string": {"v_range": [["v6.0.0", ""]], "type": "string"}, "receive_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], "multiple_values": True, "elements": "str", }, "send_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "1"}, {"value": "2"}], "multiple_values": True, "elements": "str", }, "send_version2_broadcast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "split_horizon_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_horizon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "poisoned", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "poisoned"}, {"value": "regular"}], }, "flags": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "redistribute": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "metric": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "routemap": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "recv_buffer_size": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, + "recv_buffer_size": {"v_range": [["v6.0.0", "v7.0.1"]], "type": "integer"}, }, } @@ -2905,6 +835,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ripng.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ripng.py index 4ef0d185e..4fcc98607 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ripng.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_ripng.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -88,7 +88,7 @@ options: suboptions: id: description: - - Aggregate address entry ID. + - Aggregate address entry ID. see Notes. required: true type: int prefix6: @@ -122,7 +122,7 @@ options: type: int id: description: - - Distance ID. + - Distance ID. see Notes. required: true type: int prefix6: @@ -144,7 +144,7 @@ options: - 'out' id: description: - - Distribute list ID. + - Distribute list ID. see Notes. required: true type: int interface: @@ -207,7 +207,7 @@ options: suboptions: id: description: - - Neighbor entry ID. + - Neighbor entry ID. see Notes. required: true type: int interface: @@ -226,7 +226,7 @@ options: suboptions: id: description: - - Network entry ID. + - Network entry ID. see Notes. required: true type: int prefix: @@ -252,7 +252,7 @@ options: - 'out' id: description: - - Offset-list ID. + - Offset-list ID. see Notes. required: true type: int interface: @@ -318,76 +318,65 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure RIPng. - fortios_router_ripng: - vdom: "{{ vdom }}" +- name: Configure RIPng. + fortinet.fortios.fortios_router_ripng: + vdom: "{{ vdom }}" router_ripng: - aggregate_address: - - - id: "4" - prefix6: "" - default_information_originate: "enable" - default_metric: "1" - distance: - - - access_list6: " (source router.access-list6.name)" - distance: "0" - id: "11" - prefix6: "" - distribute_list: - - - direction: "in" - id: "15" - interface: " (source system.interface.name)" - listname: " (source router.access-list6.name router.prefix-list6.name)" - status: "enable" - garbage_timer: "120" - interface: - - - flags: "8" - name: "default_name_22 (source system.interface.name)" - split_horizon: "poisoned" - split_horizon_status: "enable" - max_out_metric: "0" - neighbor: - - - id: "27" - interface: " (source system.interface.name)" - ip6: "" - network: - - - id: "31" - prefix: "" - offset_list: - - - access_list6: " (source router.access-list6.name)" - direction: "in" - id: "36" - interface: " (source system.interface.name)" - offset: "0" - status: "enable" - passive_interface: - - - name: "default_name_41 (source system.interface.name)" - redistribute: - - - metric: "0" - name: "default_name_44" - routemap: " (source router.route-map.name)" - status: "enable" - timeout_timer: "180" - update_timer: "30" - + aggregate_address: + - + id: "4" + prefix6: "" + default_information_originate: "enable" + default_metric: "1" + distance: + - + access_list6: " (source router.access-list6.name)" + distance: "0" + id: "11" + prefix6: "" + distribute_list: + - + direction: "in" + id: "15" + interface: " (source system.interface.name)" + listname: " (source router.access-list6.name router.prefix-list6.name)" + status: "enable" + garbage_timer: "120" + interface: + - + flags: "8" + name: "default_name_22 (source system.interface.name)" + split_horizon: "poisoned" + split_horizon_status: "enable" + max_out_metric: "0" + neighbor: + - + id: "27" + interface: " (source system.interface.name)" + ip6: "" + network: + - + id: "31" + prefix: "" + offset_list: + - + access_list6: " (source router.access-list6.name)" + direction: "in" + id: "36" + interface: " (source system.interface.name)" + offset: "0" + status: "enable" + passive_interface: + - + name: "default_name_41 (source system.interface.name)" + redistribute: + - + metric: "0" + name: "default_name_44" + routemap: " (source router.route-map.name)" + status: "enable" + timeout_timer: "180" + update_timer: "30" """ RETURN = """ @@ -446,7 +435,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -533,7 +521,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "ripng") if data["router_ripng"]: resp = router_ripng(data, fos) @@ -550,1827 +537,185 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "default_information_originate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "default_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_out_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "default_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_out_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "distance": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "access_list6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "access_list6": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "distribute_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "in", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "out", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "listname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "in"}, {"value": "out"}], }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "listname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "neighbor": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "network": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "aggregate_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "prefix6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "prefix6": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "offset_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "in", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "out", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "access_list6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "in"}, {"value": "out"}], }, - "offset": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "access_list6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "offset": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "passive_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "update_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "timeout_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "garbage_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "update_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "timeout_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "garbage_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "split_horizon_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_horizon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "poisoned", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "poisoned"}, {"value": "regular"}], }, "flags": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "redistribute": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "metric": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "routemap": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, } @@ -2406,6 +751,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_route_map.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_route_map.py index 4c553e815..71e4f7e28 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_route_map.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_route_map.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,7 +112,7 @@ options: - 'deny' id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int match_as_path: @@ -356,6 +356,10 @@ options: description: - Tag value. type: int + set_vpnv4_nexthop: + description: + - IP address of VPNv4 next-hop. + type: str set_weight: description: - BGP weight for routing table. @@ -363,82 +367,72 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure route maps. - fortios_router_route_map: - vdom: "{{ vdom }}" +- name: Configure route maps. + fortinet.fortios.fortios_router_route_map: + vdom: "{{ vdom }}" state: "present" access_token: "" router_route_map: - comments: "" - name: "default_name_4" - rule: - - - action: "permit" - id: "7" - match_as_path: " (source router.aspath-list.name)" - match_community: " (source router.community-list.name)" - match_community_exact: "enable" - match_extcommunity: " (source router.extcommunity-list.name)" - match_extcommunity_exact: "enable" - match_flags: "32767" - match_interface: " (source system.interface.name)" - match_ip_address: " (source router.access-list.name router.prefix-list.name)" - match_ip_nexthop: " (source router.access-list.name router.prefix-list.name)" - match_ip6_address: " (source router.access-list6.name router.prefix-list6.name)" - match_ip6_nexthop: " (source router.access-list6.name router.prefix-list6.name)" - match_metric: "" - match_origin: "none" - match_route_type: "external-type1" - match_tag: "" - match_vrf: "" - set_aggregator_as: "0" - set_aggregator_ip: "" - set_aspath: - - - as: "" - set_aspath_action: "prepend" - set_atomic_aggregate: "enable" - set_community: - - - community: "" - set_community_additive: "enable" - set_community_delete: " (source router.community-list.name)" - set_dampening_max_suppress: "0" - set_dampening_reachability_half_life: "0" - set_dampening_reuse: "0" - set_dampening_suppress: "0" - set_dampening_unreachability_half_life: "0" - set_extcommunity_rt: - - - community: "" - set_extcommunity_soo: - - - community: "" - set_flags: "32767" - set_ip_nexthop: "" - set_ip_prefsrc: "" - set_ip6_nexthop: "" - set_ip6_nexthop_local: "" - set_local_preference: "" - set_metric: "" - set_metric_type: "external-type1" - set_origin: "none" - set_originator_id: "" - set_priority: "" - set_route_tag: "" - set_tag: "" - set_weight: "" - + comments: "" + name: "default_name_4" + rule: + - + action: "permit" + id: "7" + match_as_path: " (source router.aspath-list.name)" + match_community: " (source router.community-list.name)" + match_community_exact: "enable" + match_extcommunity: " (source router.extcommunity-list.name)" + match_extcommunity_exact: "enable" + match_flags: "32767" + match_interface: " (source system.interface.name)" + match_ip_address: " (source router.access-list.name router.prefix-list.name)" + match_ip_nexthop: " (source router.access-list.name router.prefix-list.name)" + match_ip6_address: " (source router.access-list6.name router.prefix-list6.name)" + match_ip6_nexthop: " (source router.access-list6.name router.prefix-list6.name)" + match_metric: "" + match_origin: "none" + match_route_type: "external-type1" + match_tag: "" + match_vrf: "" + set_aggregator_as: "0" + set_aggregator_ip: "" + set_aspath: + - + as: "" + set_aspath_action: "prepend" + set_atomic_aggregate: "enable" + set_community: + - + community: "" + set_community_additive: "enable" + set_community_delete: " (source router.community-list.name)" + set_dampening_max_suppress: "0" + set_dampening_reachability_half_life: "0" + set_dampening_reuse: "0" + set_dampening_suppress: "0" + set_dampening_unreachability_half_life: "0" + set_extcommunity_rt: + - + community: "" + set_extcommunity_soo: + - + community: "" + set_flags: "32767" + set_ip_nexthop: "" + set_ip_prefsrc: "" + set_ip6_nexthop: "" + set_ip6_nexthop_local: "" + set_local_preference: "" + set_metric: "" + set_metric_type: "external-type1" + set_origin: "none" + set_originator_id: "" + set_priority: "" + set_route_tag: "" + set_tag: "" + set_vpnv4_nexthop: "" + set_weight: "" """ RETURN = """ @@ -497,7 +491,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -525,6 +518,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_route_map_data(json): @@ -554,7 +550,6 @@ def underscore_to_hyphen(data): def router_route_map(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -590,11 +585,16 @@ def router_route_map(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -642,13 +642,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "route-map") if data["router_route_map"]: resp = router_route_map(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_route_map")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -663,1551 +662,121 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "match_as_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "match_community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "match_extcommunity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "permit"}, {"value": "deny"}], }, + "match_as_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match_community": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match_extcommunity": {"v_range": [["v7.2.4", ""]], "type": "string"}, "match_community_exact": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "match_extcommunity_exact": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "match_origin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "egp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "igp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "incomplete", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "egp"}, + {"value": "igp"}, + {"value": "incomplete"}, ], }, - "match_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "match_ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "match_ip6_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "match_ip_nexthop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "match_ip6_nexthop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "match_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "match_interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match_ip_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match_ip6_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match_ip_nexthop": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match_ip6_nexthop": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "match_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "match_route_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "external-type1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "external-type2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "external-type1", "v_range": [["v7.0.0", ""]]}, + {"value": "external-type2", "v_range": [["v7.0.0", ""]]}, + {"value": "none"}, + {"value": "1", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "2", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, - "match_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "match_vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "set_aggregator_as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "set_aggregator_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "match_tag": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "match_vrf": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "set_aggregator_as": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "set_aggregator_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "set_aspath_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "prepend", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "replace", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "prepend"}, {"value": "replace"}], }, "set_aspath": { "type": "list", "elements": "dict", "children": { "as": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "set_atomic_aggregate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "set_community_delete": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "set_community_delete": {"v_range": [["v6.0.0", ""]], "type": "string"}, "set_community": { "type": "list", "elements": "dict", "children": { "community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "set_community_additive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "set_dampening_reachability_half_life": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "set_dampening_reuse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "set_dampening_reuse": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "set_dampening_suppress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "set_dampening_max_suppress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "set_dampening_unreachability_half_life": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "set_extcommunity_rt": { @@ -2215,824 +784,71 @@ versioned_schema = { "elements": "dict", "children": { "community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "set_extcommunity_soo": { "type": "list", "elements": "dict", "children": { "community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "set_ip_nexthop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "set_ip_prefsrc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "set_ip6_nexthop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "set_ip_nexthop": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "set_ip_prefsrc": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "set_vpnv4_nexthop": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "set_ip6_nexthop": {"v_range": [["v6.0.0", ""]], "type": "string"}, "set_ip6_nexthop_local": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "set_local_preference": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "set_metric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "set_metric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "set_metric_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "external-type1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "external-type2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "external-type1", "v_range": [["v7.0.0", ""]]}, + {"value": "external-type2", "v_range": [["v7.0.0", ""]]}, + {"value": "none"}, + {"value": "1", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "2", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, - "set_originator_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "set_originator_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "set_origin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "egp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "igp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "incomplete", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "egp"}, + {"value": "igp"}, + {"value": "incomplete"}, ], }, - "set_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "set_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "set_route_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "set_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "set_flags": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "match_flags": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "set_tag": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "set_weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "set_route_tag": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "set_priority": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "set_flags": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, + "match_flags": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3067,6 +883,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_setting.py index e72f48132..72153d238 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -187,47 +187,36 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure router settings. - fortios_router_setting: - vdom: "{{ vdom }}" +- name: Configure router settings. + fortinet.fortios.fortios_router_setting: + vdom: "{{ vdom }}" router_setting: - bgp_debug_flags: "" - hostname: "myhostname" - igmp_debug_flags: "" - imi_debug_flags: "" - isis_debug_flags: "" - ospf_debug_events_flags: "" - ospf_debug_ifsm_flags: "" - ospf_debug_lsa_flags: "" - ospf_debug_nfsm_flags: "" - ospf_debug_nsm_flags: "" - ospf_debug_packet_flags: "" - ospf_debug_route_flags: "" - ospf6_debug_events_flags: "" - ospf6_debug_ifsm_flags: "" - ospf6_debug_lsa_flags: "" - ospf6_debug_nfsm_flags: "" - ospf6_debug_nsm_flags: "" - ospf6_debug_packet_flags: "" - ospf6_debug_route_flags: "" - pimdm_debug_flags: "" - pimsm_debug_joinprune_flags: "" - pimsm_debug_simple_flags: "" - pimsm_debug_timer_flags: "" - rip_debug_flags: "" - ripng_debug_flags: "" - show_filter: " (source router.prefix-list.name)" - + bgp_debug_flags: "" + hostname: "myhostname" + igmp_debug_flags: "" + imi_debug_flags: "" + isis_debug_flags: "" + ospf_debug_events_flags: "" + ospf_debug_ifsm_flags: "" + ospf_debug_lsa_flags: "" + ospf_debug_nfsm_flags: "" + ospf_debug_nsm_flags: "" + ospf_debug_packet_flags: "" + ospf_debug_route_flags: "" + ospf6_debug_events_flags: "" + ospf6_debug_ifsm_flags: "" + ospf6_debug_lsa_flags: "" + ospf6_debug_nfsm_flags: "" + ospf6_debug_nsm_flags: "" + ospf6_debug_packet_flags: "" + ospf6_debug_route_flags: "" + pimdm_debug_flags: "" + pimsm_debug_joinprune_flags: "" + pimsm_debug_simple_flags: "" + pimsm_debug_timer_flags: "" + rip_debug_flags: "" + ripng_debug_flags: "" + show_filter: " (source router.prefix-list.name)" """ RETURN = """ @@ -286,7 +275,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -386,7 +374,6 @@ def is_successful_status(resp): def fortios_router(data, fos): - fos.do_member_operation("router", "setting") if data["router_setting"]: resp = router_setting(data, fos) @@ -403,332 +390,59 @@ def fortios_router(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "show_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ospf_debug_lsa_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf_debug_nfsm_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "show_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ospf_debug_lsa_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "ospf_debug_nfsm_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, "ospf_debug_packet_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "ospf_debug_events_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf_debug_route_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf_debug_ifsm_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf_debug_nsm_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "rip_debug_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "bgp_debug_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "igmp_debug_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "pimdm_debug_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, + "ospf_debug_route_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "ospf_debug_ifsm_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "ospf_debug_nsm_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "rip_debug_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "bgp_debug_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "igmp_debug_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "pimdm_debug_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, "pimsm_debug_simple_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "pimsm_debug_timer_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "pimsm_debug_joinprune_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "imi_debug_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "isis_debug_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf6_debug_lsa_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf6_debug_nfsm_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, + "imi_debug_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "isis_debug_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "ospf6_debug_lsa_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "ospf6_debug_nfsm_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, "ospf6_debug_packet_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "ospf6_debug_events_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "ospf6_debug_route_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf6_debug_ifsm_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ospf6_debug_nsm_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ripng_debug_flags": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, + "ospf6_debug_ifsm_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "ospf6_debug_nsm_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "ripng_debug_flags": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, }, } @@ -763,6 +477,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static.py index 92462fb73..1f8f121ef 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the seq_num instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -176,7 +178,7 @@ options: type: str seq_num: description: - - Sequence number. Starting from 1 + - Sequence number. see Notes. required: true type: int src: @@ -212,48 +214,37 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv4 static routing tables. - fortios_router_static: - vdom: "{{ vdom }}" +- name: Configure IPv4 static routing tables. + fortinet.fortios.fortios_router_static: + vdom: "{{ vdom }}" state: "present" access_token: "" router_static: - bfd: "enable" - blackhole: "enable" - comment: "Optional comments." - device: " (source system.interface.name)" - distance: "10" - dst: "" - dstaddr: " (source firewall.address.name firewall.addrgrp.name)" - dynamic_gateway: "enable" - gateway: "" - internet_service: "0" - internet_service_custom: " (source firewall.internet-service-custom.name)" - link_monitor_exempt: "enable" - preferred_source: "" - priority: "1" - sdwan: "enable" - sdwan_zone: - - - name: "default_name_19 (source system.sdwan.zone.name)" - seq_num: "2147483647" - src: "" - status: "enable" - tag: "0" - virtual_wan_link: "enable" - vrf: "unspecified" - weight: "0" - + bfd: "enable" + blackhole: "enable" + comment: "Optional comments." + device: " (source system.interface.name)" + distance: "10" + dst: "" + dstaddr: " (source firewall.address.name firewall.addrgrp.name)" + dynamic_gateway: "enable" + gateway: "" + internet_service: "0" + internet_service_custom: " (source firewall.internet-service-custom.name)" + link_monitor_exempt: "enable" + preferred_source: "" + priority: "1" + sdwan: "enable" + sdwan_zone: + - + name: "default_name_19 (source system.sdwan.zone.name)" + seq_num: "" + src: "" + status: "enable" + tag: "0" + virtual_wan_link: "enable" + vrf: "unspecified" + weight: "0" """ RETURN = """ @@ -312,7 +303,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -340,6 +330,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_static_data(json): @@ -393,7 +386,6 @@ def underscore_to_hyphen(data): def router_static(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -427,11 +419,16 @@ def router_static(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -479,13 +476,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "static") if data["router_static"]: resp = router_static(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_static")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -500,1039 +496,70 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "seq_num": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "preferred_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dst": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "preferred_source": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "blackhole": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dynamic_gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdwan_zone": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "dstaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "internet_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "internet_service_custom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.1", ""]], }, + "dstaddr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "internet_service": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "internet_service_custom": {"v_range": [["v6.0.0", ""]], "type": "string"}, "link_monitor_exempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "tag": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "vrf": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdwan": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "virtual_wan_link": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1567,6 +594,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static6.py index d3dd6d13f..12f9514e6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_router_static6.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the seq_num instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -168,7 +170,7 @@ options: type: str seq_num: description: - - Sequence number. + - Sequence number. see Notes. required: true type: int status: @@ -196,44 +198,33 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 static routing tables. - fortios_router_static6: - vdom: "{{ vdom }}" +- name: Configure IPv6 static routing tables. + fortinet.fortios.fortios_router_static6: + vdom: "{{ vdom }}" state: "present" access_token: "" router_static6: - bfd: "enable" - blackhole: "enable" - comment: "Optional comments." - device: " (source system.interface.name)" - devindex: "0" - distance: "10" - dst: "" - dstaddr: " (source firewall.address6.name firewall.addrgrp6.name)" - dynamic_gateway: "enable" - gateway: "" - link_monitor_exempt: "enable" - priority: "1024" - sdwan: "enable" - sdwan_zone: - - - name: "default_name_17 (source system.sdwan.zone.name)" - seq_num: "0" - status: "enable" - virtual_wan_link: "enable" - vrf: "0" - weight: "0" - + bfd: "enable" + blackhole: "enable" + comment: "Optional comments." + device: " (source system.interface.name)" + devindex: "0" + distance: "10" + dst: "" + dstaddr: " (source firewall.address6.name firewall.addrgrp6.name)" + dynamic_gateway: "enable" + gateway: "" + link_monitor_exempt: "enable" + priority: "1024" + sdwan: "enable" + sdwan_zone: + - + name: "default_name_17 (source system.sdwan.zone.name)" + seq_num: "" + status: "enable" + virtual_wan_link: "enable" + vrf: "unspecified" + weight: "0" """ RETURN = """ @@ -292,7 +283,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -320,6 +310,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_router_static6_data(json): @@ -369,7 +362,6 @@ def underscore_to_hyphen(data): def router_static6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -405,11 +397,16 @@ def router_static6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -457,13 +454,12 @@ def is_successful_status(resp): def fortios_router(data, fos, check_mode): - fos.do_member_operation("router", "static6") if data["router_static6"]: resp = router_static6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("router_static6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -478,897 +474,66 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "seq_num": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "devindex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dst": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "devindex": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "weight": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "blackhole": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dynamic_gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdwan_zone": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "dstaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v7.0.1", ""]], }, + "dstaddr": {"v_range": [["v7.2.1", ""]], "type": "string"}, "link_monitor_exempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vrf": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdwan": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "virtual_wan_link": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1403,6 +568,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_sctp_filter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_sctp_filter_profile.py index 7b5748299..842bfaafc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_sctp_filter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_sctp_filter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,7 +117,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int ppid: @@ -127,31 +127,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SCTP filter profiles. - fortios_sctp_filter_profile: - vdom: "{{ vdom }}" +- name: Configure SCTP filter profiles. + fortinet.fortios.fortios_sctp_filter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" sctp_filter_profile: - comment: "Comment." - name: "default_name_4" - ppid_filters: - - - action: "pass" - comment: "Comment." - id: "8" - ppid: "" - + comment: "Comment." + name: "default_name_4" + ppid_filters: + - + action: "pass" + comment: "Comment." + id: "8" + ppid: "" """ RETURN = """ @@ -210,7 +199,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -294,7 +282,6 @@ def is_successful_status(resp): def fortios_sctp_filter(data, fos): - fos.do_member_operation("sctp-filter", "profile") if data["sctp_filter_profile"]: resp = sctp_filter_profile(data, fos) @@ -314,209 +301,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.1", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.0.1", ""]], "type": "string"}, "ppid_filters": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, - "ppid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, + "ppid": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "reset", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "replace", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "pass"}, + {"value": "reset"}, + {"value": "replace"}, ], }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, + "comment": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, + "v_range": [["v7.0.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], } @@ -551,6 +362,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bwl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bwl.py index 58d4e00da..1bb9aa9d1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bwl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bwl.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,7 +121,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int ip4_subnet: @@ -153,7 +155,7 @@ options: - 'email' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -163,37 +165,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure anti-spam black/white list. - fortios_spamfilter_bwl: - vdom: "{{ vdom }}" +- name: Configure anti-spam black/white list. + fortinet.fortios.fortios_spamfilter_bwl: + vdom: "{{ vdom }}" state: "present" access_token: "" spamfilter_bwl: - comment: "Optional comments." - entries: - - - action: "reject" - addr_type: "ipv4" - email_pattern: "" - id: "8" - ip4_subnet: "" - ip6_subnet: "" - pattern_type: "wildcard" - status: "enable" - type: "ip" - id: "14" - name: "default_name_15" - + comment: "Optional comments." + entries: + - + action: "reject" + addr_type: "ipv4" + email_pattern: "" + id: "8" + ip4_subnet: "" + ip6_subnet: "" + pattern_type: "wildcard" + status: "enable" + type: "ip" + id: "14" + name: "default_name_15" """ RETURN = """ @@ -252,7 +243,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -280,6 +270,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_spamfilter_bwl_data(json): @@ -309,7 +302,6 @@ def underscore_to_hyphen(data): def spamfilter_bwl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -345,11 +337,16 @@ def spamfilter_bwl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -397,13 +394,12 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos, check_mode): - fos.do_member_operation("spamfilter", "bwl") if data["spamfilter_bwl"]: resp = spamfilter_bwl(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("spamfilter_bwl")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -418,163 +414,55 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - "required": True, - }, - "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "comment": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, "type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "email", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ip"}, {"value": "email"}], }, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "reject", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clear", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "reject"}, + {"value": "spam"}, + {"value": "clear"}, ], }, "addr_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ip4_subnet": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "ip6_subnet": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "ip4_subnet": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "ip6_subnet": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "pattern_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "email_pattern": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, + "email_pattern": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -609,6 +497,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bword.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bword.py index b997c276c..470f9c4d0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bword.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_bword.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'clear' id: description: - - Banned word entry ID. + - Banned word entry ID. see Notes. required: true type: int language: @@ -155,7 +157,7 @@ options: - 'all' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -165,36 +167,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam banned word list. - fortios_spamfilter_bword: - vdom: "{{ vdom }}" +- name: Configure AntiSpam banned word list. + fortinet.fortios.fortios_spamfilter_bword: + vdom: "{{ vdom }}" state: "present" access_token: "" spamfilter_bword: - comment: "Optional comments." - entries: - - - action: "spam" - id: "6" - language: "western" - pattern: "" - pattern_type: "wildcard" - score: "49999" - status: "enable" - where: "subject" - id: "13" - name: "default_name_14" - + comment: "Optional comments." + entries: + - + action: "spam" + id: "6" + language: "western" + pattern: "" + pattern_type: "wildcard" + score: "49999" + status: "enable" + where: "subject" + id: "13" + name: "default_name_14" """ RETURN = """ @@ -253,7 +244,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -281,6 +271,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_spamfilter_bword_data(json): @@ -310,7 +303,6 @@ def underscore_to_hyphen(data): def spamfilter_bword(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -346,11 +338,16 @@ def spamfilter_bword(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -398,13 +395,12 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos, check_mode): - fos.do_member_operation("spamfilter", "bword") if data["spamfilter_bword"]: resp = spamfilter_bword(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("spamfilter_bword")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -419,207 +415,63 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - "required": True, - }, - "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "comment": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, - "pattern": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "pattern": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "pattern_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "spam", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clear", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "spam"}, {"value": "clear"}], }, "where": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "subject", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "body", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "all", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subject"}, + {"value": "body"}, + {"value": "all"}, ], }, "language": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "western", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "simch", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trach", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "japanese", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "korean", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "french", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thai", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spanish", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "western"}, + {"value": "simch"}, + {"value": "trach"}, + {"value": "japanese"}, + {"value": "korean"}, + {"value": "french"}, + {"value": "thai"}, + {"value": "spanish"}, ], }, - "score": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, + "score": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -654,6 +506,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_dnsbl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_dnsbl.py index 53febc194..eda06eb82 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_dnsbl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_dnsbl.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'spam' id: description: - - DNSBL/ORBL entry ID. + - DNSBL/ORBL entry ID. see Notes. required: true type: int server: @@ -123,7 +125,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -133,32 +135,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam DNSBL/ORBL. - fortios_spamfilter_dnsbl: - vdom: "{{ vdom }}" +- name: Configure AntiSpam DNSBL/ORBL. + fortinet.fortios.fortios_spamfilter_dnsbl: + vdom: "{{ vdom }}" state: "present" access_token: "" spamfilter_dnsbl: - comment: "Optional comments." - entries: - - - action: "reject" - id: "6" - server: "192.168.100.40" - status: "enable" - id: "9" - name: "default_name_10" - + comment: "Optional comments." + entries: + - + action: "reject" + id: "6" + server: "192.168.100.40" + status: "enable" + id: "9" + name: "default_name_10" """ RETURN = """ @@ -217,7 +208,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -245,6 +235,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_spamfilter_dnsbl_data(json): @@ -274,7 +267,6 @@ def underscore_to_hyphen(data): def spamfilter_dnsbl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -310,11 +302,16 @@ def spamfilter_dnsbl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -362,13 +359,12 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos, check_mode): - fos.do_member_operation("spamfilter", "dnsbl") if data["spamfilter_dnsbl"]: resp = spamfilter_dnsbl(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("spamfilter_dnsbl")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -383,81 +379,34 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - "required": True, - }, - "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "comment": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, - "server": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "server": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "reject", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spam", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "reject"}, {"value": "spam"}], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -492,6 +441,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_fortishield.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_fortishield.py index 0aab88aef..4ffbc6364 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_fortishield.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_fortishield.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,24 +101,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGuard - AntiSpam. - fortios_spamfilter_fortishield: - vdom: "{{ vdom }}" +- name: Configure FortiGuard - AntiSpam. + fortinet.fortios.fortios_spamfilter_fortishield: + vdom: "{{ vdom }}" spamfilter_fortishield: - spam_submit_force: "enable" - spam_submit_srv: "" - spam_submit_txt2htm: "enable" - + spam_submit_force: "enable" + spam_submit_srv: "" + spam_submit_txt2htm: "enable" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,7 +238,6 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos): - fos.do_member_operation("spamfilter", "fortishield") if data["spamfilter_fortishield"]: resp = spamfilter_fortishield(data, fos) @@ -267,40 +254,19 @@ def fortios_spamfilter(data, fos): versioned_schema = { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { - "spam_submit_srv": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "spam_submit_srv": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "spam_submit_force": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "spam_submit_txt2htm": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -338,6 +304,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_iptrust.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_iptrust.py index aed44c080..4667c9b44 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_iptrust.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_iptrust.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: - 'ipv6' id: description: - - Trusted IP entry ID. + - Trusted IP entry ID. see Notes. required: true type: int ip4_subnet: @@ -127,7 +129,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -137,33 +139,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam IP trust. - fortios_spamfilter_iptrust: - vdom: "{{ vdom }}" +- name: Configure AntiSpam IP trust. + fortinet.fortios.fortios_spamfilter_iptrust: + vdom: "{{ vdom }}" state: "present" access_token: "" spamfilter_iptrust: - comment: "Optional comments." - entries: - - - addr_type: "ipv4" - id: "6" - ip4_subnet: "" - ip6_subnet: "" - status: "enable" - id: "10" - name: "default_name_11" - + comment: "Optional comments." + entries: + - + addr_type: "ipv4" + id: "6" + ip4_subnet: "" + ip6_subnet: "" + status: "enable" + id: "10" + name: "default_name_11" """ RETURN = """ @@ -222,7 +213,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,6 +240,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_spamfilter_iptrust_data(json): @@ -279,7 +272,6 @@ def underscore_to_hyphen(data): def spamfilter_iptrust(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -315,11 +307,16 @@ def spamfilter_iptrust(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -367,13 +364,12 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos, check_mode): - fos.do_member_operation("spamfilter", "iptrust") if data["spamfilter_iptrust"]: resp = spamfilter_iptrust(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("spamfilter_iptrust")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -388,85 +384,35 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - "required": True, - }, - "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "comment": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, "addr_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ip4_subnet": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "ip6_subnet": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "ip4_subnet": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "ip6_subnet": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -501,6 +447,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_mheader.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_mheader.py index 99e024aa4..d7e57b847 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_mheader.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_mheader.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,7 +117,7 @@ options: type: str id: description: - - Mime header entry ID. + - Mime header entry ID. see Notes. required: true type: int pattern_type: @@ -134,7 +136,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -144,34 +146,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam MIME header. - fortios_spamfilter_mheader: - vdom: "{{ vdom }}" +- name: Configure AntiSpam MIME header. + fortinet.fortios.fortios_spamfilter_mheader: + vdom: "{{ vdom }}" state: "present" access_token: "" spamfilter_mheader: - comment: "Optional comments." - entries: - - - action: "spam" - fieldbody: "" - fieldname: "" - id: "8" - pattern_type: "wildcard" - status: "enable" - id: "11" - name: "default_name_12" - + comment: "Optional comments." + entries: + - + action: "spam" + fieldbody: "" + fieldname: "" + id: "8" + pattern_type: "wildcard" + status: "enable" + id: "11" + name: "default_name_12" """ RETURN = """ @@ -230,7 +221,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,6 +248,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_spamfilter_mheader_data(json): @@ -287,7 +280,6 @@ def underscore_to_hyphen(data): def spamfilter_mheader(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -323,11 +315,16 @@ def spamfilter_mheader(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -375,13 +372,12 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos, check_mode): - fos.do_member_operation("spamfilter", "mheader") if data["spamfilter_mheader"]: resp = spamfilter_mheader(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("spamfilter_mheader")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -396,107 +392,40 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - "required": True, - }, - "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "comment": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, - "fieldname": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "fieldbody": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "fieldname": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "fieldbody": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "pattern_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "spam", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "clear", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "spam"}, {"value": "clear"}], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -531,6 +460,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_options.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_options.py index 285dbe738..8d286d03c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_options.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_options.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam options. - fortios_spamfilter_options: - vdom: "{{ vdom }}" +- name: Configure AntiSpam options. + fortinet.fortios.fortios_spamfilter_options: + vdom: "{{ vdom }}" spamfilter_options: - dns_timeout: "15" - + dns_timeout: "15" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -234,7 +222,6 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos): - fos.do_member_operation("spamfilter", "options") if data["spamfilter_options"]: resp = spamfilter_options(data, fos) @@ -251,13 +238,10 @@ def fortios_spamfilter(data, fos): versioned_schema = { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { - "dns_timeout": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - } + "dns_timeout": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"} }, } @@ -292,6 +276,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_profile.py index bbe3bc6e3..ecb7ecb08 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_spamfilter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -346,64 +346,53 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AntiSpam profiles. - fortios_spamfilter_profile: - vdom: "{{ vdom }}" +- name: Configure AntiSpam profiles. + fortinet.fortios.fortios_spamfilter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" spamfilter_profile: - comment: "Comment." - external: "enable" - flow_based: "enable" - gmail: - log: "enable" - imap: - action: "pass" - log: "enable" - tag_msg: "" - tag_type: "subject" - mapi: - action: "pass" - log: "enable" - msn_hotmail: - log: "enable" - name: "default_name_18" - options: "bannedword" - pop3: - action: "pass" - log: "enable" - tag_msg: "" - tag_type: "subject" - replacemsg_group: " (source system.replacemsg-group.name)" - smtp: - action: "pass" - hdrip: "disable" - local_override: "disable" - log: "enable" - tag_msg: "" - tag_type: "subject" - spam_bwl_table: "2147483647" - spam_bword_table: "2147483647" - spam_bword_threshold: "1073741823" - spam_filtering: "enable" - spam_iptrust_table: "2147483647" - spam_log: "disable" - spam_log_fortiguard_response: "disable" - spam_mheader_table: "2147483647" - spam_rbl_table: "2147483647" - yahoo_mail: - log: "enable" - + comment: "Comment." + external: "enable" + flow_based: "enable" + gmail: + log: "enable" + imap: + action: "pass" + log: "enable" + tag_msg: "" + tag_type: "subject" + mapi: + action: "pass" + log: "enable" + msn_hotmail: + log: "enable" + name: "default_name_18" + options: "bannedword" + pop3: + action: "pass" + log: "enable" + tag_msg: "" + tag_type: "subject" + replacemsg_group: " (source system.replacemsg-group.name)" + smtp: + action: "pass" + hdrip: "disable" + local_override: "disable" + log: "enable" + tag_msg: "" + tag_type: "subject" + spam_bwl_table: "2147483647" + spam_bword_table: "2147483647" + spam_bword_threshold: "1073741823" + spam_filtering: "enable" + spam_iptrust_table: "2147483647" + spam_log: "disable" + spam_log_fortiguard_response: "disable" + spam_mheader_table: "2147483647" + spam_rbl_table: "2147483647" + yahoo_mail: + log: "enable" """ RETURN = """ @@ -462,7 +451,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -490,6 +478,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_spamfilter_profile_data(json): @@ -574,7 +565,6 @@ def underscore_to_hyphen(data): def spamfilter_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -611,11 +601,16 @@ def spamfilter_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -665,13 +660,12 @@ def is_successful_status(resp): def fortios_spamfilter(data, fos, check_mode): - fos.do_member_operation("spamfilter", "profile") if data["spamfilter_profile"]: resp = spamfilter_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("spamfilter_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -687,610 +681,211 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, - "comment": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "comment": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "flow_based": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "replacemsg_group": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "replacemsg_group": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "spam_log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "spam_log_fortiguard_response": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "spam_filtering": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "external": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "options": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "list", "options": [ - { - "value": "bannedword", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spambwl", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamfsip", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamfssubmit", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamfschksum", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamfsurl", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamhelodns", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamraddrdns", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamrbl", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamhdrcheck", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "spamfsphish", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "bannedword"}, + {"value": "spambwl"}, + {"value": "spamfsip"}, + {"value": "spamfssubmit"}, + {"value": "spamfschksum"}, + {"value": "spamfsurl"}, + {"value": "spamhelodns"}, + {"value": "spamraddrdns"}, + {"value": "spamrbl"}, + {"value": "spamhdrcheck"}, + {"value": "spamfsphish"}, ], "multiple_values": True, "elements": "str", }, "imap": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tag", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "tag"}], }, "tag_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "list", "options": [ - { - "value": "subject", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spaminfo", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subject"}, + {"value": "header"}, + {"value": "spaminfo"}, ], "multiple_values": True, "elements": "str", }, - "tag_msg": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "tag_msg": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, }, "pop3": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tag", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "tag"}], }, "tag_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "list", "options": [ - { - "value": "subject", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spaminfo", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subject"}, + {"value": "header"}, + {"value": "spaminfo"}, ], "multiple_values": True, "elements": "str", }, - "tag_msg": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "tag_msg": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, }, "smtp": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tag", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "discard", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pass"}, + {"value": "tag"}, + {"value": "discard"}, ], }, "tag_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "list", "options": [ - { - "value": "subject", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spaminfo", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subject"}, + {"value": "header"}, + {"value": "spaminfo"}, ], "multiple_values": True, "elements": "str", }, - "tag_msg": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "tag_msg": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "hdrip": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "local_override": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "mapi": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "discard", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "discard"}], }, }, }, "msn_hotmail": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], } }, }, "yahoo_mail": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], } }, }, "gmail": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { "log": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], } }, }, - "spam_bword_threshold": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "spam_bword_table": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "spam_bwl_table": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "spam_mheader_table": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "spam_rbl_table": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - "spam_iptrust_table": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, + "spam_bword_threshold": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "spam_bword_table": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "spam_bwl_table": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "spam_mheader_table": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "spam_rbl_table": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, + "spam_iptrust_table": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -1325,6 +920,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ssh_filter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ssh_filter_profile.py index 0fbc7bf04..a30e505aa 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_ssh_filter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_ssh_filter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -231,7 +231,7 @@ options: - 'disable' id: description: - - Id. + - Id. see Notes. required: true type: int log: @@ -264,51 +264,40 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SSH filter profile. - fortios_ssh_filter_profile: - vdom: "{{ vdom }}" +- name: Configure SSH filter profile. + fortinet.fortios.fortios_ssh_filter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" ssh_filter_profile: - block: "x11" - default_command_log: "enable" - file_filter: - entries: - - - action: "log" - comment: "Comment." - direction: "incoming" - file_type: - - - name: "default_name_11 (source antivirus.filetype.name)" - filter: "" - password_protected: "yes" - protocol: "ssh" - log: "enable" - scan_archive_contents: "enable" - status: "enable" - log: "x11" - name: "default_name_19" - shell_commands: - - - action: "block" - alert: "enable" - id: "23" - log: "enable" - pattern: "" - severity: "low" - type: "simple" - + block: "x11" + default_command_log: "enable" + file_filter: + entries: + - + action: "log" + comment: "Comment." + direction: "incoming" + file_type: + - + name: "default_name_11 (source antivirus.filetype.name)" + filter: "" + password_protected: "yes" + protocol: "ssh" + log: "enable" + scan_archive_contents: "enable" + status: "enable" + log: "x11" + name: "default_name_19" + shell_commands: + - + action: "block" + alert: "enable" + id: "23" + log: "enable" + pattern: "" + severity: "low" + type: "simple" """ RETURN = """ @@ -367,7 +356,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -395,6 +383,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_ssh_filter_profile_data(json): @@ -462,7 +453,6 @@ def underscore_to_hyphen(data): def ssh_filter_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -499,11 +489,16 @@ def ssh_filter_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -553,13 +548,12 @@ def is_successful_status(resp): def fortios_ssh_filter(data, fos, check_mode): - fos.do_member_operation("ssh-filter", "profile") if data["ssh_filter_profile"]: resp = ssh_filter_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("ssh_filter_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -574,1535 +568,164 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "x11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "shell", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exec", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "port-forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "x11"}, + {"value": "shell"}, + {"value": "exec"}, + {"value": "port-forward"}, + {"value": "tun-forward"}, + {"value": "sftp"}, + {"value": "scp", "v_range": [["v6.2.0", ""]]}, + {"value": "unknown"}, ], "multiple_values": True, "elements": "str", }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "x11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "shell", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exec", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "port-forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "x11"}, + {"value": "shell"}, + {"value": "exec"}, + {"value": "port-forward"}, + {"value": "tun-forward"}, + {"value": "sftp"}, + {"value": "scp", "v_range": [["v6.2.0", ""]]}, + {"value": "unknown"}, ], "multiple_values": True, "elements": "str", }, "default_command_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "shell_commands": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "simple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "simple"}, {"value": "regex"}], }, + "pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "allow"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "alert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "file_filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "dict", "children": { "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "scan_archive_contents": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "entries": { "type": "list", "elements": "dict", "children": { "filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, }, "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", }, "action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "log"}, {"value": "block"}], }, "direction": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "incoming", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "outgoing", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "incoming"}, + {"value": "outgoing"}, + {"value": "any"}, ], }, "password_protected": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "yes"}, {"value": "any"}], }, "file_type": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "protocol": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "list", - "options": [ - {"value": "ssh", "revisions": {"v6.2.3": True}} - ], + "options": [{"value": "ssh"}], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2137,6 +760,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_802_1x_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_802_1x_settings.py index 9cc20c05e..f4b2ef197 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_802_1x_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_802_1x_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -109,26 +109,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure global 802.1X settings. - fortios_switch_controller_802_1x_settings: - vdom: "{{ vdom }}" +- name: Configure global 802.1X settings. + fortinet.fortios.fortios_switch_controller_802_1x_settings: + vdom: "{{ vdom }}" switch_controller_802_1x_settings: - link_down_auth: "set-unauth" - mab_reauth: "disable" - max_reauth_attempt: "3" - reauth_period: "60" - tx_period: "30" - + link_down_auth: "set-unauth" + mab_reauth: "disable" + max_reauth_attempt: "3" + reauth_period: "60" + tx_period: "30" """ RETURN = """ @@ -187,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -270,7 +258,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "802-1X-settings") if data["switch_controller_802_1x_settings"]: resp = switch_controller_802_1x_settings(data, fos) @@ -289,260 +276,21 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "link_down_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "set-unauth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no-action", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "reauth_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_reauth_attempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tx_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "set-unauth"}, {"value": "no-action"}], }, + "reauth_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_reauth_attempt": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tx_period": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "mab_reauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, } @@ -580,6 +328,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_group.py index f8be63979..3e473bc4f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: suboptions: id: description: - - ACL ID. Source switch-controller.acl.ingress.id. + - ACL ID. see Notes. Source switch-controller.acl.ingress.id. required: true type: int name: @@ -107,27 +107,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure ACL groups to be applied on managed FortiSwitch ports. - fortios_switch_controller_acl_group: - vdom: "{{ vdom }}" +- name: Configure ACL groups to be applied on managed FortiSwitch ports. + fortinet.fortios.fortios_switch_controller_acl_group: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_acl_group: - ingress: - - - id: "4 (source switch-controller.acl.ingress.id)" - name: "default_name_5" - + ingress: + - + id: "4 (source switch-controller.acl.ingress.id)" + name: "default_name_5" """ RETURN = """ @@ -186,7 +175,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -270,7 +258,6 @@ def is_successful_status(resp): def fortios_switch_controller_acl(data, fos): - fos.do_member_operation("switch-controller.acl", "group") if data["switch_controller_acl_group"]: resp = switch_controller_acl_group(data, fos) @@ -292,21 +279,17 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": {"revisions": {"v7.4.0": True}, "type": "string", "required": True}, + "name": {"v_range": [["v7.4.0", ""]], "type": "string", "required": True}, "ingress": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v7.4.0": True}, - "type": "integer", - "required": True, - } + "id": {"v_range": [["v7.4.0", ""]], "type": "integer", "required": True} }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], } @@ -343,6 +326,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_ingress.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_ingress.py index 8b864988c..5b6798d08 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_ingress.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_acl_ingress.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -138,40 +140,29 @@ options: type: str id: description: - - ACL ID. + - ACL ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure ingress ACL policies to be applied on managed FortiSwitch ports. - fortios_switch_controller_acl_ingress: - vdom: "{{ vdom }}" +- name: Configure ingress ACL policies to be applied on managed FortiSwitch ports. + fortinet.fortios.fortios_switch_controller_acl_ingress: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_acl_ingress: - action: - count: "enable" - drop: "enable" - classifier: - dst_ip_prefix: "" - dst_mac: "" - src_ip_prefix: "" - src_mac: "" - vlan: "0" - description: "" - id: "13" - + action: + count: "enable" + drop: "enable" + classifier: + dst_ip_prefix: "" + dst_mac: "" + src_ip_prefix: "" + src_mac: "" + vlan: "0" + description: "" + id: "13" """ RETURN = """ @@ -230,7 +221,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -316,7 +306,6 @@ def is_successful_status(resp): def fortios_switch_controller_acl(data, fos): - fos.do_member_operation("switch-controller.acl", "ingress") if data["switch_controller_acl_ingress"]: resp = switch_controller_acl_ingress(data, fos) @@ -338,43 +327,37 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": {"revisions": {"v7.4.0": True}, "type": "integer", "required": True}, - "description": {"revisions": {"v7.4.0": True}, "type": "string"}, + "id": {"v_range": [["v7.4.0", ""]], "type": "integer", "required": True}, + "description": {"v_range": [["v7.4.0", ""]], "type": "string"}, "action": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "dict", "children": { "drop": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "count": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "classifier": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "dict", "children": { - "dst_ip_prefix": {"revisions": {"v7.4.0": True}, "type": "string"}, - "dst_mac": {"revisions": {"v7.4.0": True}, "type": "string"}, - "src_ip_prefix": {"revisions": {"v7.4.0": True}, "type": "string"}, - "src_mac": {"revisions": {"v7.4.0": True}, "type": "string"}, - "vlan": {"revisions": {"v7.4.0": True}, "type": "integer"}, + "dst_ip_prefix": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "dst_mac": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "src_ip_prefix": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "src_mac": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "vlan": {"v_range": [["v7.4.0", ""]], "type": "integer"}, }, }, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], } @@ -411,6 +394,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_custom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_custom.py index 5c81e9b79..b469bd463 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_custom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_custom.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Policies which can override the 'default' for specific ISL/ICL/FortiLink interface. - fortios_switch_controller_auto_config_custom: - vdom: "{{ vdom }}" +- name: Policies which can override the 'default' for specific ISL/ICL/FortiLink interface. + fortinet.fortios.fortios_switch_controller_auto_config_custom: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_auto_config_custom: - name: "default_name_3" - switch_binding: - - - policy: " (source switch-controller.auto-config.policy.name)" - switch_id: "" - + name: "default_name_3" + switch_binding: + - + policy: " (source switch-controller.auto-config.policy.name)" + switch_id: "" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +207,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_auto_config_custom_data(json): @@ -248,7 +239,6 @@ def underscore_to_hyphen(data): def switch_controller_auto_config_custom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -292,11 +282,16 @@ def switch_controller_auto_config_custom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -351,7 +346,6 @@ def is_successful_status(resp): def fortios_switch_controller_auto_config(data, fos, check_mode): - fos.do_member_operation("switch-controller.auto-config", "custom") if data["switch_controller_auto_config_custom"]: resp = switch_controller_auto_config_custom(data, fos, check_mode) @@ -359,7 +353,7 @@ def fortios_switch_controller_auto_config(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_auto_config_custom") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -374,139 +368,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "switch_binding": { "type": "list", "elements": "dict", "children": { "switch_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, - "policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -543,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_default.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_default.py index 2e9a0e516..5075f7804 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_default.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_default.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -95,24 +95,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Policies which are applied automatically to all ISL/ICL/FortiLink interfaces. - fortios_switch_controller_auto_config_default: - vdom: "{{ vdom }}" +- name: Policies which are applied automatically to all ISL/ICL/FortiLink interfaces. + fortinet.fortios.fortios_switch_controller_auto_config_default: + vdom: "{{ vdom }}" switch_controller_auto_config_default: - fgt_policy: " (source switch-controller.auto-config.policy.name)" - icl_policy: " (source switch-controller.auto-config.policy.name)" - isl_policy: " (source switch-controller.auto-config.policy.name)" - + fgt_policy: " (source switch-controller.auto-config.policy.name)" + icl_policy: " (source switch-controller.auto-config.policy.name)" + isl_policy: " (source switch-controller.auto-config.policy.name)" """ RETURN = """ @@ -171,7 +160,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,7 +238,6 @@ def is_successful_status(resp): def fortios_switch_controller_auto_config(data, fos): - fos.do_member_operation("switch-controller.auto-config", "default") if data["switch_controller_auto_config_default"]: resp = switch_controller_auto_config_default(data, fos) @@ -269,109 +256,12 @@ def fortios_switch_controller_auto_config(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "fgt_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "isl_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "icl_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "fgt_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "isl_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "icl_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, } @@ -408,6 +298,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_policy.py index eee7cff96..5f1575ea4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_auto_config_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -125,29 +125,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Policy definitions which can define the behavior on auto configured interfaces. - fortios_switch_controller_auto_config_policy: - vdom: "{{ vdom }}" +- name: Policy definitions which can define the behavior on auto configured interfaces. + fortinet.fortios.fortios_switch_controller_auto_config_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_auto_config_policy: - igmp_flood_report: "enable" - igmp_flood_traffic: "enable" - name: "default_name_5" - poe_status: "enable" - qos_policy: " (source switch-controller.qos.qos-policy.name)" - storm_control_policy: " (source switch-controller.storm-control-policy.name)" - + igmp_flood_report: "enable" + igmp_flood_traffic: "enable" + name: "default_name_5" + poe_status: "enable" + qos_policy: " (source switch-controller.qos.qos-policy.name)" + storm_control_policy: " (source switch-controller.storm-control-policy.name)" """ RETURN = """ @@ -206,7 +195,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -234,6 +222,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_auto_config_policy_data(json): @@ -270,7 +261,6 @@ def underscore_to_hyphen(data): def switch_controller_auto_config_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -314,11 +304,16 @@ def switch_controller_auto_config_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -373,7 +368,6 @@ def is_successful_status(resp): def fortios_switch_controller_auto_config(data, fos, check_mode): - fos.do_member_operation("switch-controller.auto-config", "policy") if data["switch_controller_auto_config_policy"]: resp = switch_controller_auto_config_policy(data, fos, check_mode) @@ -381,7 +375,7 @@ def fortios_switch_controller_auto_config(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_auto_config_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -396,349 +390,26 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "qos_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "storm_control_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "qos_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "storm_control_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, "poe_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "igmp_flood_report": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "igmp_flood_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -775,6 +446,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_custom_command.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_custom_command.py index 4c54c9c83..a85aea787 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_custom_command.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_custom_command.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -105,26 +105,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure the FortiGate switch controller to send custom commands to managed FortiSwitch devices. - fortios_switch_controller_custom_command: - vdom: "{{ vdom }}" +- name: Configure the FortiGate switch controller to send custom commands to managed FortiSwitch devices. + fortinet.fortios.fortios_switch_controller_custom_command: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_custom_command: - command: "" - command_name: "" - description: "" - + command: "" + command_name: "" + description: "" """ RETURN = """ @@ -183,7 +172,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -211,6 +199,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_custom_command_data(json): @@ -240,7 +231,6 @@ def underscore_to_hyphen(data): def switch_controller_custom_command(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -282,11 +272,16 @@ def switch_controller_custom_command(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -341,7 +336,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "custom-command") if data["switch_controller_custom_command"]: resp = switch_controller_custom_command(data, fos, check_mode) @@ -349,7 +343,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_custom_command") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,120 +359,14 @@ versioned_schema = { "elements": "dict", "children": { "command_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "command": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "command": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -515,6 +403,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_dynamic_port_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_dynamic_port_policy.py index c44bdbeb1..00c8c6a36 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_dynamic_port_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_dynamic_port_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -189,45 +189,34 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Dynamic port policy to be applied on the managed FortiSwitch ports through DPP device. - fortios_switch_controller_dynamic_port_policy: - vdom: "{{ vdom }}" +- name: Configure Dynamic port policy to be applied on the managed FortiSwitch ports through DPP device. + fortinet.fortios.fortios_switch_controller_dynamic_port_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_dynamic_port_policy: - description: "" - fortilink: " (source system.interface.name)" - name: "default_name_5" - policy: - - - set_802_1x: " (source switch-controller.security-policy.802-1X.name switch-controller.security-policy.captive-portal.name)" - bounce_port_link: "disable" - category: "device" - description: "" - family: "" - host: "myhostname" - hw_vendor: "" - interface_tags: - - - tag_name: " (source switch-controller.switch-interface-tag.name)" - lldp_profile: " (source switch-controller.lldp-profile.name)" - mac: "" - name: "default_name_18" - qos_policy: " (source switch-controller.qos.qos-policy.name)" - status: "enable" - type: "" - vlan_policy: " (source switch-controller.vlan-policy.name)" - + description: "" + fortilink: " (source system.interface.name)" + name: "default_name_5" + policy: + - + set_802_1x: " (source switch-controller.security-policy.802-1X.name switch-controller.security-policy.captive-portal.name)" + bounce_port_link: "disable" + category: "device" + description: "" + family: "" + host: "myhostname" + hw_vendor: "" + interface_tags: + - + tag_name: " (source switch-controller.switch-interface-tag.name)" + lldp_profile: " (source switch-controller.lldp-profile.name)" + mac: "" + name: "default_name_18" + qos_policy: " (source switch-controller.qos.qos-policy.name)" + status: "enable" + type: "" + vlan_policy: " (source switch-controller.vlan-policy.name)" """ RETURN = """ @@ -286,7 +275,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -403,7 +391,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "dynamic-port-policy") if data["switch_controller_dynamic_port_policy"]: resp = switch_controller_dynamic_port_policy(data, fos) @@ -425,532 +412,60 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "fortilink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "fortilink": {"v_range": [["v7.0.0", ""]], "type": "string"}, "policy": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v7.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "device", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "interface-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "device"}, {"value": "interface-tag"}], }, "interface_tags": { "type": "list", "elements": "dict", "children": { "tag_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "hw_vendor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, - "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "family": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "lldp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "qos_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "vlan_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.0", ""]], }, + "mac": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "hw_vendor": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "type": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "family": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "host": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "lldp_profile": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "qos_policy": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "vlan_policy": {"v_range": [["v7.0.0", ""]], "type": "string"}, "bounce_port_link": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "set_802_1x": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, + "set_802_1x": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, + "v_range": [["v7.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -987,6 +502,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_flow_tracking.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_flow_tracking.py index 0748f5c0f..8701a1206 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_flow_tracking.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_flow_tracking.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -88,7 +88,7 @@ options: suboptions: id: description: - - Aggregate id. + - Aggregate id. see Notes. required: true type: int ip: @@ -208,47 +208,36 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch flow tracking and export via ipfix/netflow. - fortios_switch_controller_flow_tracking: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch flow tracking and export via ipfix/netflow. + fortinet.fortios.fortios_switch_controller_flow_tracking: + vdom: "{{ vdom }}" switch_controller_flow_tracking: - aggregates: - - - id: "4" - ip: "" - collector_ip: "" - collector_port: "0" - collectors: - - - ip: "" - name: "default_name_10" - port: "0" - transport: "udp" - format: "netflow1" - level: "vlan" - max_export_pkt_size: "512" - sample_mode: "local" - sample_rate: "512" - template_export_period: "5" - timeout_general: "3600" - timeout_icmp: "300" - timeout_max: "604800" - timeout_tcp: "3600" - timeout_tcp_fin: "300" - timeout_tcp_rst: "120" - timeout_udp: "300" - transport: "udp" - + aggregates: + - + id: "4" + ip: "" + collector_ip: "" + collector_port: "0" + collectors: + - + ip: "" + name: "default_name_10" + port: "0" + transport: "udp" + format: "netflow1" + level: "vlan" + max_export_pkt_size: "512" + sample_mode: "local" + sample_rate: "512" + template_export_period: "5" + timeout_general: "3600" + timeout_icmp: "300" + timeout_max: "604800" + timeout_tcp: "3600" + timeout_tcp_fin: "300" + timeout_tcp_rst: "120" + timeout_udp: "300" + transport: "udp" """ RETURN = """ @@ -307,7 +296,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -401,7 +389,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "flow-tracking") if data["switch_controller_flow_tracking"]: resp = switch_controller_flow_tracking(data, fos) @@ -420,293 +407,27 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "sample_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "perimeter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "device-ingress", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "local"}, + {"value": "perimeter"}, + {"value": "device-ingress"}, ], }, - "sample_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "sample_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "netflow1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "netflow5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "netflow9", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ipfix", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "netflow1"}, + {"value": "netflow5"}, + {"value": "netflow9"}, + {"value": "ipfix"}, ], }, "collectors": { @@ -714,704 +435,59 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, + "ip": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "port": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "transport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "sctp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "udp"}, {"value": "tcp"}, {"value": "sctp"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "port", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "proto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "vlan"}, + {"value": "ip"}, + {"value": "port"}, + {"value": "proto"}, + {"value": "mac"}, ], }, - "max_export_pkt_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "template_export_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - "timeout_general": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "timeout_icmp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "timeout_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "timeout_tcp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "timeout_tcp_fin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "timeout_tcp_rst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "timeout_udp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "max_export_pkt_size": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "template_export_period": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "timeout_general": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "timeout_icmp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "timeout_max": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "timeout_tcp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "timeout_tcp_fin": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "timeout_tcp_rst": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "timeout_udp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "aggregates": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - "collector_ip": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "collector_port": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, - "type": "integer", + "v_range": [["v6.2.0", ""]], }, + "collector_ip": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "string"}, + "collector_port": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "integer"}, "transport": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "udp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sctp", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "udp"}, {"value": "tcp"}, {"value": "sctp"}], }, }, } @@ -1449,6 +525,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_fortilink_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_fortilink_settings.py index 3d333a21f..a9b8df6ce 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_fortilink_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_fortilink_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -88,6 +88,14 @@ options: default: null type: dict suboptions: + access_vlan_mode: + description: + - Intra VLAN traffic behavior with loss of connection to the FortiGate. + type: str + choices: + - 'legacy' + - 'fail-open' + - 'fail-close' fortilink: description: - FortiLink interface to which this fortilink-setting belongs. Source system.interface.name. @@ -158,37 +166,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure integrated FortiLink settings for FortiSwitch. - fortios_switch_controller_fortilink_settings: - vdom: "{{ vdom }}" +- name: Configure integrated FortiLink settings for FortiSwitch. + fortinet.fortios.fortios_switch_controller_fortilink_settings: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_fortilink_settings: - fortilink: " (source system.interface.name)" - inactive_timer: "15" - link_down_flush: "disable" - nac_ports: - bounce_nac_port: "disable" - lan_segment: "enabled" - member_change: "0" - nac_lan_interface: " (source system.interface.name)" - nac_segment_vlans: - - - vlan_name: " (source system.interface.name)" - onboarding_vlan: " (source system.interface.name)" - parent_key: "" - name: "default_name_15" - + access_vlan_mode: "legacy" + fortilink: " (source system.interface.name)" + inactive_timer: "15" + link_down_flush: "disable" + nac_ports: + bounce_nac_port: "disable" + lan_segment: "enabled" + member_change: "0" + nac_lan_interface: " (source system.interface.name)" + nac_segment_vlans: + - + vlan_name: " (source system.interface.name)" + onboarding_vlan: " (source system.interface.name)" + parent_key: "" + name: "default_name_16" """ RETURN = """ @@ -247,7 +245,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -273,6 +270,7 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post def filter_switch_controller_fortilink_settings_data(json): option_list = [ + "access_vlan_mode", "fortilink", "inactive_timer", "link_down_flush", @@ -346,7 +344,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "fortilink-settings") if data["switch_controller_fortilink_settings"]: resp = switch_controller_fortilink_settings(data, fos) @@ -368,350 +365,63 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "fortilink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "fortilink": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "inactive_timer": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "link_down_flush": { + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "inactive_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "link_down_flush": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "access_vlan_mode": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "legacy"}, + {"value": "fail-open"}, + {"value": "fail-close"}, ], }, "nac_ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { - "onboarding_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "onboarding_vlan": {"v_range": [["v7.0.0", ""]], "type": "string"}, "lan_segment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "nac_lan_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enabled"}, {"value": "disabled"}], }, + "nac_lan_interface": {"v_range": [["v7.0.1", ""]], "type": "string"}, "nac_segment_vlans": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", ""]], }, "parent_key": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "member_change": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "bounce_nac_port": { - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.3"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -748,6 +458,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_global.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_global.py index d7a1e2221..d5e837e5a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_global.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_global.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -253,6 +253,13 @@ options: choices: - 'all' - 'defined' + vlan_identity: + description: + - Identity of the VLAN. Commonly used for RADIUS Tunnel-Private-Group-Id. + type: str + choices: + - 'description' + - 'name' vlan_optimization: description: - FortiLink VLAN optimization. @@ -263,51 +270,41 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch global settings. - fortios_switch_controller_global: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch global settings. + fortinet.fortios.fortios_switch_controller_global: + vdom: "{{ vdom }}" switch_controller_global: - allow_multiple_interfaces: "enable" - bounce_quarantined_link: "disable" - custom_command: - - - command_entry: "" - command_name: " (source switch-controller.custom-command.command-name)" - default_virtual_switch_vlan: " (source system.interface.name)" - dhcp_option82_circuit_id: "intfname" - dhcp_option82_format: "ascii" - dhcp_option82_remote_id: "mac" - dhcp_server_access_list: "enable" - dhcp_snoop_client_db_exp: "86400" - dhcp_snoop_client_req: "drop-untrusted" - dhcp_snoop_db_per_port_learn_limit: "64" - disable_discovery: - - - name: "default_name_17" - fips_enforce: "disable" - firmware_provision_on_authorization: "enable" - https_image_push: "enable" - log_mac_limit_violations: "enable" - mac_aging_interval: "300" - mac_event_logging: "enable" - mac_retention_period: "24" - mac_violation_timer: "0" - quarantine_mode: "by-vlan" - sn_dns_resolution: "enable" - update_user_device: "mac-cache" - vlan_all_mode: "all" - vlan_optimization: "enable" - + allow_multiple_interfaces: "enable" + bounce_quarantined_link: "disable" + custom_command: + - + command_entry: "" + command_name: " (source switch-controller.custom-command.command-name)" + default_virtual_switch_vlan: " (source system.interface.name)" + dhcp_option82_circuit_id: "intfname" + dhcp_option82_format: "ascii" + dhcp_option82_remote_id: "mac" + dhcp_server_access_list: "enable" + dhcp_snoop_client_db_exp: "86400" + dhcp_snoop_client_req: "drop-untrusted" + dhcp_snoop_db_per_port_learn_limit: "64" + disable_discovery: + - + name: "default_name_17" + fips_enforce: "disable" + firmware_provision_on_authorization: "enable" + https_image_push: "enable" + log_mac_limit_violations: "enable" + mac_aging_interval: "300" + mac_event_logging: "enable" + mac_retention_period: "24" + mac_violation_timer: "0" + quarantine_mode: "by-vlan" + sn_dns_resolution: "enable" + update_user_device: "mac-cache" + vlan_all_mode: "all" + vlan_identity: "description" + vlan_optimization: "enable" """ RETURN = """ @@ -366,7 +363,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -416,6 +412,7 @@ def filter_switch_controller_global_data(json): "sn_dns_resolution", "update_user_device", "vlan_all_mode", + "vlan_identity", "vlan_optimization", ] @@ -499,7 +496,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "global") if data["switch_controller_global"]: resp = switch_controller_global(data, fos) @@ -518,1279 +514,119 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "mac_aging_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "mac_aging_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "https_image_push": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vlan_all_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "defined", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "defined"}], }, "vlan_optimization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "vlan_identity": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "description"}, {"value": "name"}], }, "disable_discovery": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "mac_retention_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "default_virtual_switch_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "mac_retention_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "default_virtual_switch_vlan": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dhcp_server_access_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_option82_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "ascii", "revisions": {"v7.4.0": True}}, - {"value": "legacy", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "ascii"}, {"value": "legacy"}], }, "dhcp_option82_circuit_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "list", "options": [ - {"value": "intfname", "revisions": {"v7.4.0": True}}, - {"value": "vlan", "revisions": {"v7.4.0": True}}, - {"value": "hostname", "revisions": {"v7.4.0": True}}, - {"value": "mode", "revisions": {"v7.4.0": True}}, - {"value": "description", "revisions": {"v7.4.0": True}}, + {"value": "intfname"}, + {"value": "vlan"}, + {"value": "hostname"}, + {"value": "mode"}, + {"value": "description"}, ], "multiple_values": True, "elements": "str", }, "dhcp_option82_remote_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "list", - "options": [ - {"value": "mac", "revisions": {"v7.4.0": True}}, - {"value": "hostname", "revisions": {"v7.4.0": True}}, - {"value": "ip", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "mac"}, {"value": "hostname"}, {"value": "ip"}], "multiple_values": True, "elements": "str", }, "dhcp_snoop_client_req": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "drop-untrusted", "revisions": {"v7.4.0": True}}, - {"value": "forward-untrusted", "revisions": {"v7.4.0": True}}, - ], - }, - "dhcp_snoop_client_db_exp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "drop-untrusted"}, {"value": "forward-untrusted"}], }, + "dhcp_snoop_client_db_exp": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "dhcp_snoop_db_per_port_learn_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "integer", }, "log_mac_limit_violations": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mac_violation_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mac_violation_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "sn_dns_resolution": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mac_event_logging": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bounce_quarantined_link": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "quarantine_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "by-vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "by-redirect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "by-vlan"}, {"value": "by-redirect"}], }, "update_user_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "list", "options": [ - { - "value": "mac-cache", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "lldp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "dhcp-snooping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "l2-db", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "l3-db", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "mac-cache"}, + {"value": "lldp"}, + {"value": "dhcp-snooping"}, + {"value": "l2-db"}, + {"value": "l3-db"}, ], "multiple_values": True, "elements": "str", @@ -1800,257 +636,28 @@ versioned_schema = { "elements": "dict", "children": { "command_entry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, - "command_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "command_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "fips_enforce": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "firmware_provision_on_authorization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_multiple_interfaces": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -2088,6 +695,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_igmp_snooping.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_igmp_snooping.py index c5d98d720..ac5ef6436 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_igmp_snooping.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_igmp_snooping.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -98,24 +98,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch IGMP snooping global settings. - fortios_switch_controller_igmp_snooping: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch IGMP snooping global settings. + fortinet.fortios.fortios_switch_controller_igmp_snooping: + vdom: "{{ vdom }}" switch_controller_igmp_snooping: - aging_time: "300" - flood_unknown_multicast: "enable" - query_interval: "125" - + aging_time: "300" + flood_unknown_multicast: "enable" + query_interval: "125" """ RETURN = """ @@ -174,7 +163,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -249,7 +237,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "igmp-snooping") if data["switch_controller_igmp_snooping"]: resp = switch_controller_igmp_snooping(data, fos) @@ -268,179 +255,17 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "aging_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "aging_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "flood_unknown_multicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "query_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "integer", }, }, @@ -479,6 +304,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_template.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_template.py index f9a1a958d..10a586a4b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_template.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_template.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -135,29 +135,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure template for auto-generated VLANs. - fortios_switch_controller_initial_config_template: - vdom: "{{ vdom }}" +- name: Configure template for auto-generated VLANs. + fortinet.fortios.fortios_switch_controller_initial_config_template: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_initial_config_template: - allowaccess: "ping" - auto_ip: "enable" - dhcp_server: "enable" - ip: "" - name: "default_name_7" - vlanid: "0" - + allowaccess: "ping" + auto_ip: "enable" + dhcp_server: "enable" + ip: "" + name: "default_name_7" + vlanid: "0" """ RETURN = """ @@ -216,7 +205,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -244,6 +232,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_initial_config_template_data(json): @@ -302,7 +293,6 @@ def underscore_to_hyphen(data): def switch_controller_initial_config_template(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -349,11 +339,16 @@ def switch_controller_initial_config_template(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -411,7 +406,6 @@ def is_successful_status(resp): def fortios_switch_controller_initial_config(data, fos, check_mode): - fos.do_member_operation("switch-controller.initial-config", "template") if data["switch_controller_initial_config_template"]: resp = switch_controller_initial_config_template(data, fos, check_mode) @@ -419,7 +413,7 @@ def fortios_switch_controller_initial_config(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_initial_config_template") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -434,497 +428,40 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "vlanid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "vlanid": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, "allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "fgfm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "radius-acct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "probe-response", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "fabric", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ftm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "ping"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, + {"value": "http"}, + {"value": "telnet"}, + {"value": "fgfm"}, + {"value": "radius-acct"}, + {"value": "probe-response"}, + {"value": "fabric"}, + {"value": "ftm"}, ], "multiple_values": True, "elements": "str", }, "auto_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -961,6 +498,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_vlans.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_vlans.py index 68f2b57c7..ef91f4419 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_vlans.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_initial_config_vlans.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure initial template for auto-generated VLAN interfaces. - fortios_switch_controller_initial_config_vlans: - vdom: "{{ vdom }}" +- name: Configure initial template for auto-generated VLAN interfaces. + fortinet.fortios.fortios_switch_controller_initial_config_vlans: + vdom: "{{ vdom }}" switch_controller_initial_config_vlans: - default_vlan: " (source switch-controller.initial-config.template.name)" - nac: " (source switch-controller.initial-config.template.name)" - nac_segment: " (source switch-controller.initial-config.template.name)" - quarantine: " (source switch-controller.initial-config.template.name)" - rspan: " (source switch-controller.initial-config.template.name)" - video: " (source switch-controller.initial-config.template.name)" - voice: " (source switch-controller.initial-config.template.name)" - + default_vlan: " (source switch-controller.initial-config.template.name)" + nac: " (source switch-controller.initial-config.template.name)" + nac_segment: " (source switch-controller.initial-config.template.name)" + quarantine: " (source switch-controller.initial-config.template.name)" + rspan: " (source switch-controller.initial-config.template.name)" + video: " (source switch-controller.initial-config.template.name)" + voice: " (source switch-controller.initial-config.template.name)" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,7 +266,6 @@ def is_successful_status(resp): def fortios_switch_controller_initial_config(data, fos): - fos.do_member_operation("switch-controller.initial-config", "vlans") if data["switch_controller_initial_config_vlans"]: resp = switch_controller_initial_config_vlans(data, fos) @@ -297,181 +284,16 @@ def fortios_switch_controller_initial_config(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "dict", "children": { - "default_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "rspan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "voice": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "video": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "nac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "nac_segment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - }, + "default_vlan": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "quarantine": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "rspan": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "voice": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "video": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "nac": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "nac_segment": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, } @@ -508,6 +330,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_profile.py index a79387d1e..6ddfed159 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -110,6 +110,38 @@ options: choices: - 'disable' - 'enable' + auto_isl_auth: + description: + - Auto inter-switch LAG authentication mode. + type: str + choices: + - 'legacy' + - 'strict' + - 'relax' + auto_isl_auth_encrypt: + description: + - Auto inter-switch LAG encryption mode. + type: str + choices: + - 'none' + - 'mixed' + - 'must' + auto_isl_auth_identity: + description: + - Auto inter-switch LAG authentication identity. + type: str + auto_isl_auth_macsec_profile: + description: + - Auto inter-switch LAG macsec profile for encryption. + type: str + auto_isl_auth_reauth: + description: + - Auto inter-switch LAG authentication reauth period in seconds(10 - 3600). + type: int + auto_isl_auth_user: + description: + - Auto inter-switch LAG authentication user certificate. + type: str auto_isl_hello_timer: description: - Auto inter-switch LAG hello timer duration (1 - 30 sec). @@ -234,52 +266,47 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch LLDP profiles. - fortios_switch_controller_lldp_profile: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch LLDP profiles. + fortinet.fortios.fortios_switch_controller_lldp_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_lldp_profile: - tlvs_802dot1: "port-vlan-id" - tlvs_802dot3: "max-frame-size" - auto_isl: "disable" - auto_isl_hello_timer: "3" - auto_isl_port_group: "0" - auto_isl_receive_timeout: "60" - auto_mclag_icl: "disable" - custom_tlvs: - - - information_string: "" - name: "default_name_12" - oui: "" - subtype: "0" - med_location_service: - - - name: "default_name_16" - status: "disable" - sys_location_id: " (source switch-controller.location.name)" - med_network_policy: - - - assign_vlan: "disable" - dscp: "0" - name: "default_name_22" - priority: "0" - status: "disable" - vlan: "2047" - vlan_intf: " (source system.interface.name)" - med_tlvs: "inventory-management" - name: "default_name_28" - + tlvs_802dot1: "port-vlan-id" + tlvs_802dot3: "max-frame-size" + auto_isl: "disable" + auto_isl_auth: "legacy" + auto_isl_auth_encrypt: "none" + auto_isl_auth_identity: "" + auto_isl_auth_macsec_profile: "" + auto_isl_auth_reauth: "3600" + auto_isl_auth_user: "" + auto_isl_hello_timer: "3" + auto_isl_port_group: "0" + auto_isl_receive_timeout: "60" + auto_mclag_icl: "disable" + custom_tlvs: + - + information_string: "" + name: "default_name_18" + oui: "" + subtype: "0" + med_location_service: + - + name: "default_name_22" + status: "disable" + sys_location_id: " (source switch-controller.location.name)" + med_network_policy: + - + assign_vlan: "disable" + dscp: "0" + name: "default_name_28" + priority: "0" + status: "disable" + vlan: "2047" + vlan_intf: " (source system.interface.name)" + med_tlvs: "inventory-management" + name: "default_name_34" """ RETURN = """ @@ -338,7 +365,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -366,6 +392,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_lldp_profile_data(json): @@ -373,6 +402,12 @@ def filter_switch_controller_lldp_profile_data(json): "tlvs_802dot1", "tlvs_802dot3", "auto_isl", + "auto_isl_auth", + "auto_isl_auth_encrypt", + "auto_isl_auth_identity", + "auto_isl_auth_macsec_profile", + "auto_isl_auth_reauth", + "auto_isl_auth_user", "auto_isl_hello_timer", "auto_isl_port_group", "auto_isl_receive_timeout", @@ -462,7 +497,6 @@ def valid_attr_to_invalid_attrs(data): def switch_controller_lldp_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -506,11 +540,16 @@ def switch_controller_lldp_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -562,7 +601,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "lldp-profile") if data["switch_controller_lldp_profile"]: resp = switch_controller_lldp_profile(data, fos, check_mode) @@ -570,7 +608,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_lldp_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -585,1261 +623,127 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "med_tlvs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "inventory-management", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "network-policy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "power-management", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "location-identification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "inventory-management"}, + {"value": "network-policy"}, + {"value": "power-management", "v_range": [["v6.2.0", ""]]}, + {"value": "location-identification", "v_range": [["v6.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "auto_isl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "auto_isl_hello_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_isl_receive_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "auto_isl_hello_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_isl_receive_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_isl_port_group": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_mclag_icl": { + "v_range": [["v6.4.0", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "auto_isl_port_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "auto_isl_auth": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "legacy"}, {"value": "strict"}, {"value": "relax"}], }, - "auto_mclag_icl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "auto_isl_auth_user": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "auto_isl_auth_identity": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "auto_isl_auth_reauth": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "auto_isl_auth_encrypt": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "mixed"}, {"value": "must"}], }, + "auto_isl_auth_macsec_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, "med_network_policy": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vlan_intf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "vlan_intf": {"v_range": [["v6.2.0", ""]], "type": "string"}, "assign_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "vlan": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "med_location_service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "sys_location_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "sys_location_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "custom_tlvs": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "oui": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subtype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "information_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "oui": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subtype": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "information_string": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "tlvs_802dot1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "port-vlan-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "port-vlan-id"}], "multiple_values": True, "elements": "str", }, "tlvs_802dot3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "max-frame-size", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "power-negotiation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "max-frame-size"}, + {"value": "power-negotiation", "v_range": [["v6.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1876,6 +780,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_settings.py index 85ddd1b03..87e592664 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_lldp_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -116,27 +116,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch LLDP settings. - fortios_switch_controller_lldp_settings: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch LLDP settings. + fortinet.fortios.fortios_switch_controller_lldp_settings: + vdom: "{{ vdom }}" switch_controller_lldp_settings: - device_detection: "disable" - fast_start_interval: "2" - management_interface: "internal" - status: "enable" - tx_hold: "4" - tx_interval: "30" - + device_detection: "disable" + fast_start_interval: "2" + management_interface: "internal" + status: "enable" + tx_hold: "4" + tx_interval: "30" """ RETURN = """ @@ -195,7 +184,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -277,7 +265,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "lldp-settings") if data["switch_controller_lldp_settings"]: resp = switch_controller_lldp_settings(data, fos) @@ -296,298 +283,26 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "tx_hold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tx_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fast_start_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "tx_hold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tx_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fast_start_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "management_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "internal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mgmt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "internal"}, {"value": "mgmt"}], }, "device_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -625,6 +340,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_location.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_location.py index c32444d38..29911a7ab 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_location.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_location.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -286,69 +286,58 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch location services. - fortios_switch_controller_location: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch location services. + fortinet.fortios.fortios_switch_controller_location: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_location: - address_civic: - additional: "" - additional_code: "" - block: "" - branch_road: "" - building: "" - city: "" - city_division: "" - country: "" - country_subdivision: "" - county: "" - direction: "" - floor: "" - landmark: "" - language: "" - name: "default_name_18" - number: "" - number_suffix: "" - parent_key: "" - place_type: "" - post_office_box: "" - postal_community: "" - primary_road: "" - road_section: "" - room: "" - script: "" - seat: "" - street: "" - street_name_post_mod: "" - street_name_pre_mod: "" - street_suffix: "" - sub_branch_road: "" - trailing_str_suffix: "" - unit: "" - zip: "" - coordinates: - altitude: "" - altitude_unit: "m" - datum: "WGS84" - latitude: "" - longitude: "" - parent_key: "" - elin_number: - elin_num: "" - parent_key: "" - name: "default_name_48" - + address_civic: + additional: "" + additional_code: "" + block: "" + branch_road: "" + building: "" + city: "" + city_division: "" + country: "" + country_subdivision: "" + county: "" + direction: "" + floor: "" + landmark: "" + language: "" + name: "default_name_18" + number: "" + number_suffix: "" + parent_key: "" + place_type: "" + post_office_box: "" + postal_community: "" + primary_road: "" + road_section: "" + room: "" + script: "" + seat: "" + street: "" + street_name_post_mod: "" + street_name_pre_mod: "" + street_suffix: "" + sub_branch_road: "" + trailing_str_suffix: "" + unit: "" + zip: "" + coordinates: + altitude: "" + altitude_unit: "m" + datum: "WGS84" + latitude: "" + longitude: "" + parent_key: "" + elin_number: + elin_num: "" + parent_key: "" + name: "default_name_48" """ RETURN = """ @@ -407,7 +396,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -435,6 +423,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_location_data(json): @@ -464,7 +455,6 @@ def underscore_to_hyphen(data): def switch_controller_location(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -500,11 +490,16 @@ def switch_controller_location(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -554,7 +549,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "location") if data["switch_controller_location"]: resp = switch_controller_location(data, fos, check_mode) @@ -562,7 +556,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_location") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -577,1346 +571,102 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "address_civic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "additional": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "additional_code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "branch_road": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "building": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "city": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "city_division": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "country": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "country_subdivision": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "county": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "floor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "landmark": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "language": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "number_suffix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "place_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "post_office_box": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "postal_community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "primary_road": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "road_section": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "room": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "script": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "seat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "street": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "street_name_post_mod": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "street_name_pre_mod": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "street_suffix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "sub_branch_road": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "trailing_str_suffix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "unit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "zip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "additional": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "additional_code": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "block": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "branch_road": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "building": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "city": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "city_division": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "country": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "country_subdivision": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "county": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "direction": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "floor": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "landmark": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "language": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "number": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "number_suffix": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "place_type": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "post_office_box": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "postal_community": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "primary_road": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "road_section": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "room": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "script": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "seat": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "street": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "street_name_post_mod": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "street_name_pre_mod": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "street_suffix": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "sub_branch_road": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "trailing_str_suffix": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "unit": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "zip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "parent_key": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [ + ["v6.2.7", "v6.2.7"], + ["v6.4.4", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, }, "coordinates": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "altitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "altitude": {"v_range": [["v6.2.0", ""]], "type": "string"}, "altitude_unit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "m", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "f", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "m"}, {"value": "f"}], }, "datum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "WGS84", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "NAD83", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "NAD83/MLLW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "WGS84"}, + {"value": "NAD83"}, + {"value": "NAD83/MLLW"}, ], }, - "latitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "longitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "latitude": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "longitude": {"v_range": [["v6.2.0", ""]], "type": "string"}, "parent_key": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [ + ["v6.2.7", "v6.2.7"], + ["v6.4.4", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, }, "elin_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "elin_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "elin_num": {"v_range": [["v6.2.0", ""]], "type": "string"}, "parent_key": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [ + ["v6.2.7", "v6.2.7"], + ["v6.4.4", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1953,6 +703,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_policy.py index 3e9bd8c5c..a54d3465f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,31 +133,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device. - fortios_switch_controller_mac_policy: - vdom: "{{ vdom }}" +- name: Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device. + fortinet.fortios.fortios_switch_controller_mac_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_mac_policy: - bounce_port_link: "disable" - count: "disable" - description: "" - drop: "disable" - fortilink: " (source system.interface.name)" - name: "default_name_8" - traffic_policy: " (source switch-controller.traffic-policy.name)" - vlan: " (source system.interface.name)" - + bounce_port_link: "disable" + count: "disable" + description: "" + drop: "disable" + fortilink: " (source system.interface.name)" + name: "default_name_8" + traffic_policy: " (source switch-controller.traffic-policy.name)" + vlan: " (source system.interface.name)" """ RETURN = """ @@ -216,7 +205,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -244,6 +232,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_mac_policy_data(json): @@ -282,7 +273,6 @@ def underscore_to_hyphen(data): def switch_controller_mac_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -318,11 +308,16 @@ def switch_controller_mac_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -372,7 +367,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "mac-policy") if data["switch_controller_mac_policy"]: resp = switch_controller_mac_policy(data, fos, check_mode) @@ -380,7 +374,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_mac_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -395,275 +389,28 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "fortilink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "traffic_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "fortilink": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "vlan": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "traffic_policy": {"v_range": [["v6.4.0", ""]], "type": "string"}, "count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "bounce_port_link": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "drop": { - "revisions": {"v6.4.1": True, "v6.4.0": False}, + "v_range": [["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v6.4.1": True}}, - {"value": "enable", "revisions": {"v6.4.1": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -700,6 +447,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_sync_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_sync_settings.py index f0de85a26..4a5109d1e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_sync_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_mac_sync_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure global MAC synchronization settings. - fortios_switch_controller_mac_sync_settings: - vdom: "{{ vdom }}" +- name: Configure global MAC synchronization settings. + fortinet.fortios.fortios_switch_controller_mac_sync_settings: + vdom: "{{ vdom }}" switch_controller_mac_sync_settings: - mac_sync_interval: "900" - + mac_sync_interval: "900" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,7 +228,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "mac-sync-settings") if data["switch_controller_mac_sync_settings"]: resp = switch_controller_mac_sync_settings(data, fos) @@ -259,13 +246,10 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "dict", "children": { - "mac_sync_interval": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - } + "mac_sync_interval": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"} }, } @@ -302,6 +286,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_managed_switch.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_managed_switch.py index ed535c196..371802cc2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_managed_switch.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_managed_switch.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -668,7 +668,7 @@ options: suboptions: id: description: - - ACL ID. + - ACL ID. see Notes. required: true type: int igmp_snooping: @@ -954,8 +954,15 @@ options: - 'src-dst-ip' ptp_policy: description: - - PTP policy configuration. Source switch-controller.ptp.policy.name. + - PTP policy configuration. Source switch-controller.ptp.interface-policy.name. type: str + ptp_status: + description: + - Enable/disable PTP policy on this FortiSwitch port. + type: str + choices: + - 'disable' + - 'enable' qos_policy: description: - Switch controller QoS policy from available options. Source switch-controller.qos.qos-policy.name. @@ -1115,6 +1122,17 @@ options: description: - Pre-provisioned managed switch. type: int + ptp_profile: + description: + - PTP profile configuration. Source switch-controller.ptp.profile.name. + type: str + ptp_status: + description: + - Enable/disable PTP profile on this FortiSwitch. + type: str + choices: + - 'disable' + - 'enable' qos_drop_policy: description: - Set QoS drop-policy. @@ -1201,6 +1219,35 @@ options: choices: - 'enable' - 'disable' + route_offload: + description: + - Enable/disable route offload on this FortiSwitch. + type: str + choices: + - 'disable' + - 'enable' + route_offload_mclag: + description: + - Enable/disable route offload MCLAG on this FortiSwitch. + type: str + choices: + - 'disable' + - 'enable' + route_offload_router: + description: + - Configure route offload MCLAG IP address. + type: list + elements: dict + suboptions: + router_ip: + description: + - Router IP address. + type: str + vlan_name: + description: + - VLAN name. Source system.interface.name. + required: true + type: str sn: description: - Managed-switch serial number. @@ -1230,7 +1277,7 @@ options: suboptions: id: description: - - Host entry ID. + - Host entry ID. see Notes. required: true type: int ip: @@ -1239,7 +1286,7 @@ options: type: str id: description: - - SNMP community ID. + - SNMP community ID. see Notes. required: true type: int name: @@ -1428,7 +1475,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int interface: @@ -1645,315 +1692,313 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch devices that are managed by this FortiGate. - fortios_switch_controller_managed_switch: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch devices that are managed by this FortiGate. + fortinet.fortios.fortios_switch_controller_managed_switch: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_managed_switch: - settings_802_1X: - link_down_auth: "set-unauth" - local_override: "enable" - mab_reauth: "disable" - max_reauth_attempt: "3" - reauth_period: "60" - tx_period: "30" - access_profile: " (source switch-controller.security-policy.local-access.name)" - custom_command: - - - command_entry: "" - command_name: " (source switch-controller.custom-command.command-name)" - delayed_restart_trigger: "0" - description: "" - dhcp_server_access_list: "global" - dhcp_snooping_static_client: - - - ip: "" - mac: "" - name: "default_name_20" - port: "" - vlan: " (source system.interface.name)" - directly_connected: "0" - dynamic_capability: "" - dynamically_discovered: "0" - firmware_provision: "enable" - firmware_provision_latest: "disable" - firmware_provision_version: "" - flow_identity: "" - fsw_wan1_admin: "discovered" - fsw_wan1_peer: " (source system.interface.name)" - fsw_wan2_admin: "discovered" - fsw_wan2_peer: "" - igmp_snooping: - aging_time: "300" - flood_unknown_multicast: "enable" - local_override: "enable" - vlans: - - - proxy: "disable" - querier: "disable" - querier_addr: "" - version: "2" - vlan_name: " (source system.interface.name)" - ip_source_guard: - - - binding_entry: - - - entry_name: "" - ip: "" - mac: "" - description: "" - port: "" - l3_discovered: "0" - max_allowed_trunk_members: "0" - mclag_igmp_snooping_aware: "enable" - mirror: - - - dst: "" - name: "default_name_56" - src_egress: - - - name: "default_name_58" - src_ingress: - - - name: "default_name_60" - status: "active" - switching_packet: "enable" - name: "default_name_63" - override_snmp_community: "enable" - override_snmp_sysinfo: "disable" - override_snmp_trap_threshold: "enable" - override_snmp_user: "enable" - owner_vdom: "" - poe_detection_type: "0" - poe_lldp_detection: "enable" - poe_pre_standard_detection: "enable" - ports: - - - access_mode: "dynamic" - acl_group: - - - name: "default_name_75 (source switch-controller.acl.group.name)" - aggregator_mode: "bandwidth" - allowed_vlans: - - - vlan_name: " (source system.interface.name)" - allowed_vlans_all: "enable" - arp_inspection_trust: "untrusted" - bundle: "enable" - description: "" - dhcp_snoop_option82_override: - - - circuit_id: "" - remote_id: "" - vlan_name: " (source system.interface.name)" - dhcp_snoop_option82_trust: "enable" - dhcp_snooping: "untrusted" - discard_mode: "none" - edge_port: "enable" - export_tags: - - - tag_name: " (source switch-controller.switch-interface-tag.name)" - export_to: " (source system.vdom.name)" - export_to_pool: " (source switch-controller.virtual-port-pool.name)" - export_to_pool_flag: "0" - fec_capable: "0" - fec_state: "disabled" - fgt_peer_device_name: "" - fgt_peer_port_name: "" - fiber_port: "0" - flags: "0" - flap_duration: "30" - flap_rate: "5" - flap_timeout: "0" - flapguard: "enable" - flow_control: "disable" - fortilink_port: "0" - fortiswitch_acls: - - - id: "109" - igmp_snooping: "enable" - igmp_snooping_flood_reports: "enable" - igmps_flood_reports: "enable" - igmps_flood_traffic: "enable" - interface_tags: - - - tag_name: " (source switch-controller.switch-interface-tag.name)" - ip_source_guard: "disable" - isl_local_trunk_name: "" - isl_peer_device_name: "" - isl_peer_port_name: "" - lacp_speed: "slow" - learning_limit: "0" - lldp_profile: " (source switch-controller.lldp-profile.name)" - lldp_status: "disable" - loop_guard: "enabled" - loop_guard_timeout: "45" - mac_addr: "" - matched_dpp_intf_tags: "" - matched_dpp_policy: "" - max_bundle: "24" - mcast_snooping_flood_traffic: "enable" - mclag: "enable" - mclag_icl_port: "0" - media_type: "" - member_withdrawal_behavior: "forward" - members: - - - member_name: "" - min_bundle: "1" - mode: "static" - p2p_port: "0" - packet_sample_rate: "512" - packet_sampler: "enabled" - pause_meter: "0" - pause_meter_resume: "75%" - poe_capable: "0" - poe_max_power: "" - poe_mode_bt_cabable: "0" - poe_port_mode: "ieee802-3af" - poe_port_power: "normal" - poe_port_priority: "critical-priority" - poe_pre_standard_detection: "enable" - poe_standard: "" - poe_status: "enable" - port_name: "" - port_number: "0" - port_owner: "" - port_policy: " (source switch-controller.dynamic-port-policy.name)" - port_prefix_type: "0" - port_security_policy: " (source switch-controller.security-policy.802-1X.name)" - port_selection_criteria: "src-mac" - ptp_policy: " (source switch-controller.ptp.policy.name)" - qos_policy: " (source switch-controller.qos.qos-policy.name)" - rpvst_port: "disabled" - sample_direction: "tx" - sflow_counter_interval: "0" - sflow_sample_rate: "49999" - sflow_sampler: "enabled" - speed: "10half" - speed_mask: "2147483647" - stacking_port: "0" - status: "up" - sticky_mac: "enable" - storm_control_policy: " (source switch-controller.storm-control-policy.name)" - stp_bpdu_guard: "enabled" - stp_bpdu_guard_timeout: "5" - stp_root_guard: "enabled" - stp_state: "enabled" - switch_id: "" - type: "physical" - untagged_vlans: - - - vlan_name: " (source system.interface.name)" - virtual_port: "0" - vlan: " (source system.interface.name)" - pre_provisioned: "0" - qos_drop_policy: "taildrop" - qos_red_probability: "12" - remote_log: - - - csv: "enable" - facility: "kernel" - name: "default_name_189" - port: "514" - server: "192.168.100.40" - severity: "emergency" - status: "enable" - sn: "" - snmp_community: - - - events: "cpu-high" - hosts: - - - id: "198" - ip: "" - id: "200" - name: "default_name_201" - query_v1_port: "161" - query_v1_status: "disable" - query_v2c_port: "161" - query_v2c_status: "disable" - status: "disable" - trap_v1_lport: "162" - trap_v1_rport: "162" - trap_v1_status: "disable" - trap_v2c_lport: "162" - trap_v2c_rport: "162" - trap_v2c_status: "disable" - snmp_sysinfo: - contact_info: "" - description: "" - engine_id: "" - location: "" - status: "disable" - snmp_trap_threshold: - trap_high_cpu_threshold: "80" - trap_log_full_threshold: "90" - trap_low_memory_threshold: "80" - snmp_user: - - - auth_proto: "md5" - auth_pwd: "" - name: "default_name_226" - priv_proto: "aes128" - priv_pwd: "" - queries: "disable" - query_port: "161" - security_level: "no-auth-no-priv" - staged_image_version: "" - static_mac: - - - description: "" - id: "235" - interface: "" - mac: "" - type: "static" - vlan: " (source system.interface.name)" - storm_control: - broadcast: "enable" - local_override: "enable" - rate: "500" - unknown_multicast: "enable" - unknown_unicast: "enable" - stp_instance: - - - id: "247" - priority: "0" - stp_settings: - forward_time: "15" - hello_time: "2" - local_override: "enable" - max_age: "20" - max_hops: "20" - name: "default_name_255" - pending_timer: "4" - revision: "0" - status: "enable" - switch_device_tag: "" - switch_dhcp_opt43_key: "" - switch_id: "" - switch_log: - local_override: "enable" - severity: "emergency" - status: "enable" - switch_profile: " (source switch-controller.switch-profile.name)" - switch_stp_settings: - status: "enable" - tdr_supported: "" - type: "virtual" - version: "0" - + settings_802_1X: + link_down_auth: "set-unauth" + local_override: "enable" + mab_reauth: "disable" + max_reauth_attempt: "3" + reauth_period: "60" + tx_period: "30" + access_profile: " (source switch-controller.security-policy.local-access.name)" + custom_command: + - + command_entry: "" + command_name: " (source switch-controller.custom-command.command-name)" + delayed_restart_trigger: "0" + description: "" + dhcp_server_access_list: "global" + dhcp_snooping_static_client: + - + ip: "" + mac: "" + name: "default_name_20" + port: "" + vlan: " (source system.interface.name)" + directly_connected: "0" + dynamic_capability: "" + dynamically_discovered: "0" + firmware_provision: "enable" + firmware_provision_latest: "disable" + firmware_provision_version: "" + flow_identity: "" + fsw_wan1_admin: "discovered" + fsw_wan1_peer: " (source system.interface.name)" + fsw_wan2_admin: "discovered" + fsw_wan2_peer: "" + igmp_snooping: + aging_time: "300" + flood_unknown_multicast: "enable" + local_override: "enable" + vlans: + - + proxy: "disable" + querier: "disable" + querier_addr: "" + version: "2" + vlan_name: " (source system.interface.name)" + ip_source_guard: + - + binding_entry: + - + entry_name: "" + ip: "" + mac: "" + description: "" + port: "" + l3_discovered: "0" + max_allowed_trunk_members: "0" + mclag_igmp_snooping_aware: "enable" + mirror: + - + dst: "" + name: "default_name_56" + src_egress: + - + name: "default_name_58" + src_ingress: + - + name: "default_name_60" + status: "active" + switching_packet: "enable" + name: "default_name_63" + override_snmp_community: "enable" + override_snmp_sysinfo: "disable" + override_snmp_trap_threshold: "enable" + override_snmp_user: "enable" + owner_vdom: "" + poe_detection_type: "0" + poe_lldp_detection: "enable" + poe_pre_standard_detection: "enable" + ports: + - + access_mode: "dynamic" + acl_group: + - + name: "default_name_75 (source switch-controller.acl.group.name)" + aggregator_mode: "bandwidth" + allowed_vlans: + - + vlan_name: " (source system.interface.name)" + allowed_vlans_all: "enable" + arp_inspection_trust: "untrusted" + bundle: "enable" + description: "" + dhcp_snoop_option82_override: + - + circuit_id: "" + remote_id: "" + vlan_name: " (source system.interface.name)" + dhcp_snoop_option82_trust: "enable" + dhcp_snooping: "untrusted" + discard_mode: "none" + edge_port: "enable" + export_tags: + - + tag_name: " (source switch-controller.switch-interface-tag.name)" + export_to: " (source system.vdom.name)" + export_to_pool: " (source switch-controller.virtual-port-pool.name)" + export_to_pool_flag: "0" + fec_capable: "0" + fec_state: "disabled" + fgt_peer_device_name: "" + fgt_peer_port_name: "" + fiber_port: "0" + flags: "0" + flap_duration: "30" + flap_rate: "5" + flap_timeout: "0" + flapguard: "enable" + flow_control: "disable" + fortilink_port: "0" + fortiswitch_acls: + - + id: "109" + igmp_snooping: "enable" + igmp_snooping_flood_reports: "enable" + igmps_flood_reports: "enable" + igmps_flood_traffic: "enable" + interface_tags: + - + tag_name: " (source switch-controller.switch-interface-tag.name)" + ip_source_guard: "disable" + isl_local_trunk_name: "" + isl_peer_device_name: "" + isl_peer_port_name: "" + lacp_speed: "slow" + learning_limit: "0" + lldp_profile: " (source switch-controller.lldp-profile.name)" + lldp_status: "disable" + loop_guard: "enabled" + loop_guard_timeout: "45" + mac_addr: "" + matched_dpp_intf_tags: "" + matched_dpp_policy: "" + max_bundle: "24" + mcast_snooping_flood_traffic: "enable" + mclag: "enable" + mclag_icl_port: "0" + media_type: "" + member_withdrawal_behavior: "forward" + members: + - + member_name: "" + min_bundle: "1" + mode: "static" + p2p_port: "0" + packet_sample_rate: "512" + packet_sampler: "enabled" + pause_meter: "0" + pause_meter_resume: "75%" + poe_capable: "0" + poe_max_power: "" + poe_mode_bt_cabable: "0" + poe_port_mode: "ieee802-3af" + poe_port_power: "normal" + poe_port_priority: "critical-priority" + poe_pre_standard_detection: "enable" + poe_standard: "" + poe_status: "enable" + port_name: "" + port_number: "0" + port_owner: "" + port_policy: " (source switch-controller.dynamic-port-policy.name)" + port_prefix_type: "0" + port_security_policy: " (source switch-controller.security-policy.802-1X.name)" + port_selection_criteria: "src-mac" + ptp_policy: " (source switch-controller.ptp.interface-policy.name)" + ptp_status: "disable" + qos_policy: " (source switch-controller.qos.qos-policy.name)" + rpvst_port: "disabled" + sample_direction: "tx" + sflow_counter_interval: "0" + sflow_sample_rate: "49999" + sflow_sampler: "enabled" + speed: "10half" + speed_mask: "2147483647" + stacking_port: "0" + status: "up" + sticky_mac: "enable" + storm_control_policy: " (source switch-controller.storm-control-policy.name)" + stp_bpdu_guard: "enabled" + stp_bpdu_guard_timeout: "5" + stp_root_guard: "enabled" + stp_state: "enabled" + switch_id: "" + type: "physical" + untagged_vlans: + - + vlan_name: " (source system.interface.name)" + virtual_port: "0" + vlan: " (source system.interface.name)" + pre_provisioned: "0" + ptp_profile: " (source switch-controller.ptp.profile.name)" + ptp_status: "disable" + qos_drop_policy: "taildrop" + qos_red_probability: "12" + remote_log: + - + csv: "enable" + facility: "kernel" + name: "default_name_192" + port: "514" + server: "192.168.100.40" + severity: "emergency" + status: "enable" + route_offload: "disable" + route_offload_mclag: "disable" + route_offload_router: + - + router_ip: "" + vlan_name: " (source system.interface.name)" + sn: "" + snmp_community: + - + events: "cpu-high" + hosts: + - + id: "206" + ip: "" + id: "208" + name: "default_name_209" + query_v1_port: "161" + query_v1_status: "disable" + query_v2c_port: "161" + query_v2c_status: "disable" + status: "disable" + trap_v1_lport: "162" + trap_v1_rport: "162" + trap_v1_status: "disable" + trap_v2c_lport: "162" + trap_v2c_rport: "162" + trap_v2c_status: "disable" + snmp_sysinfo: + contact_info: "" + description: "" + engine_id: "" + location: "" + status: "disable" + snmp_trap_threshold: + trap_high_cpu_threshold: "80" + trap_log_full_threshold: "90" + trap_low_memory_threshold: "80" + snmp_user: + - + auth_proto: "md5" + auth_pwd: "" + name: "default_name_234" + priv_proto: "aes128" + priv_pwd: "" + queries: "disable" + query_port: "161" + security_level: "no-auth-no-priv" + staged_image_version: "" + static_mac: + - + description: "" + id: "243" + interface: "" + mac: "" + type: "static" + vlan: " (source system.interface.name)" + storm_control: + broadcast: "enable" + local_override: "enable" + rate: "500" + unknown_multicast: "enable" + unknown_unicast: "enable" + stp_instance: + - + id: "255" + priority: "0" + stp_settings: + forward_time: "15" + hello_time: "2" + local_override: "enable" + max_age: "20" + max_hops: "20" + name: "default_name_263" + pending_timer: "4" + revision: "0" + status: "enable" + switch_device_tag: "" + switch_dhcp_opt43_key: "" + switch_id: "" + switch_log: + local_override: "enable" + severity: "emergency" + status: "enable" + switch_profile: " (source switch-controller.switch-profile.name)" + switch_stp_settings: + status: "enable" + tdr_supported: "" + type: "virtual" + version: "0" """ RETURN = """ @@ -2012,7 +2057,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -2040,6 +2084,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_managed_switch_data(json): @@ -2079,9 +2126,14 @@ def filter_switch_controller_managed_switch_data(json): "poe_pre_standard_detection", "ports", "pre_provisioned", + "ptp_profile", + "ptp_status", "qos_drop_policy", "qos_red_probability", "remote_log", + "route_offload", + "route_offload_mclag", + "route_offload_router", "sn", "snmp_community", "snmp_sysinfo", @@ -2179,7 +2231,6 @@ def valid_attr_to_invalid_attrs(data): def switch_controller_managed_switch(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -2225,11 +2276,16 @@ def switch_controller_managed_switch(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -2284,7 +2340,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "managed-switch") if data["switch_controller_managed_switch"]: resp = switch_controller_managed_switch(data, fos, check_mode) @@ -2292,7 +2347,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_managed_switch") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -2307,3539 +2362,354 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "switch_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "sn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "switch_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "access_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "fsw_wan1_peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "switch_id": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "sn": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "switch_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "access_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "fsw_wan1_peer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "fsw_wan1_admin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discovered", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discovered"}, + {"value": "disable"}, + {"value": "enable"}, ], }, "poe_pre_standard_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_server_access_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "poe_detection_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "enable"}, {"value": "disable"}], }, + "poe_detection_type": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "version": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "max_allowed_trunk_members": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "pre_provisioned": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ["v6.4.0", "v6.4.0"], + ["v6.4.4", ""], + ], "type": "integer", }, - "dynamic_capability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "pre_provisioned": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dynamic_capability": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "switch_device_tag": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "switch_dhcp_opt43_key": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "mclag_igmp_snooping_aware": { + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "switch_device_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ptp_status": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "switch_dhcp_opt43_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "ptp_profile": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "route_offload": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "mclag_igmp_snooping_aware": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "route_offload_mclag": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "virtual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "physical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "route_offload_router": { + "type": "list", + "elements": "dict", + "children": { + "vlan_name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, }, - ], - }, - "owner_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "router_ip": {"v_range": [["v7.4.1", ""]], "type": "string"}, }, - "type": "string", - }, - "flow_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v7.4.1", ""]], }, - "staged_image_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "type": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "virtual"}, {"value": "physical"}], }, - "delayed_restart_trigger": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "owner_vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "flow_identity": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "staged_image_version": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "delayed_restart_trigger": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "firmware_provision": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "firmware_provision_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "firmware_provision_version": {"v_range": [["v7.0.0", ""]], "type": "string"}, "firmware_provision_latest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "once", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "once"}], }, "ports": { "type": "list", "elements": "dict", "children": { "port_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "port_owner": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port_owner": {"v_range": [["v6.0.0", ""]], "type": "string"}, "speed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "10half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "10half"}, + {"value": "10full"}, + {"value": "100half"}, + {"value": "100full"}, + {"value": "1000full"}, { "value": "10000full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, + {"value": "auto"}, + {"value": "1000auto"}, { "value": "1000full-fiber", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "40000full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "auto-module", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100FX-half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100FX-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100000full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, + {"value": "auto-module"}, + {"value": "100FX-half"}, + {"value": "100FX-full"}, + {"value": "100000full"}, { "value": "2500auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "25000full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "50000full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, + {"value": "25000full"}, + {"value": "50000full"}, { "value": "10000cr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "10000sr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "100000sr4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "100000cr4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "40000sr4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "40000cr4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "25000cr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "25000sr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "50000cr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "50000sr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "5000auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], }, { "value": "1000fiber", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.7"], ["v7.2.0", "v7.2.2"]], }, { "value": "10000", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.7"], ["v7.2.0", "v7.2.2"]], }, { "value": "40000", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.7"], ["v7.2.0", "v7.2.2"]], }, { "value": "25000cr4", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v7.0.7"], + ["v7.2.0", "v7.2.2"], + ], }, { "value": "25000sr4", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v7.0.7"], + ["v7.2.0", "v7.2.2"], + ], }, { "value": "5000full", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v7.0.7"], + ["v7.2.0", "v7.2.2"], + ], }, { "value": "2500full", - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, ], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "up"}, {"value": "down"}], }, "poe_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_source_guard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "ptp_status": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, "ptp_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "aggregator_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "bandwidth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "count", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "bandwidth"}, {"value": "count"}], }, "flapguard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "flap_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "flap_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "flap_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "flap_rate": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "flap_duration": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "flap_timeout": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "rpvst_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disabled"}, {"value": "enabled"}], }, "poe_pre_standard_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "poe_capable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "poe_mode_bt_cabable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "poe_capable": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "poe_mode_bt_cabable": {"v_range": [["v7.2.4", ""]], "type": "integer"}, "poe_port_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "ieee802-3af", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "ieee802-3at", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "ieee802-3bt", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "ieee802-3af"}, + {"value": "ieee802-3at"}, + {"value": "ieee802-3bt"}, ], }, "poe_port_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "critical-priority", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "high-priority", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "low-priority", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "medium-priority", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "critical-priority"}, + {"value": "high-priority"}, + {"value": "low-priority"}, + {"value": "medium-priority"}, ], }, "poe_port_power": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "normal", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "perpetual", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "perpetual-fast", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "normal"}, + {"value": "perpetual"}, + {"value": "perpetual-fast"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "vlan": {"v_range": [["v6.0.0", ""]], "type": "string"}, "allowed_vlans_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowed_vlans": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "untagged_vlans": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "physical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trunk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "physical"}, {"value": "trunk"}], }, "access_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "nac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "normal", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "dynamic", "v_range": [["v7.0.0", ""]]}, + {"value": "nac"}, + {"value": "static", "v_range": [["v7.0.0", ""]]}, + {"value": "normal", "v_range": [["v6.4.0", "v6.4.4"]]}, ], }, - "matched_dpp_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "matched_dpp_policy": {"v_range": [["v7.0.0", ""]], "type": "string"}, "matched_dpp_intf_tags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", }, "acl_group": { @@ -5847,4283 +2717,402 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "fortiswitch_acls": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "dhcp_snooping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "untrusted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trusted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "untrusted"}, {"value": "trusted"}], }, "dhcp_snoop_option82_trust": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_snoop_option82_override": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, }, - "circuit_id": {"revisions": {"v7.4.0": True}, "type": "string"}, - "remote_id": {"revisions": {"v7.4.0": True}, "type": "string"}, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "circuit_id": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "remote_id": {"v_range": [["v7.4.0", ""]], "type": "string"}, }, + "v_range": [["v7.4.0", ""]], }, "arp_inspection_trust": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "untrusted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trusted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "untrusted"}, {"value": "trusted"}], }, "igmp_snooping_flood_reports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mcast_snooping_flood_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "stp_state": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enabled"}, {"value": "disabled"}], }, "stp_root_guard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enabled"}, {"value": "disabled"}], }, "stp_bpdu_guard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enabled"}, {"value": "disabled"}], }, "stp_bpdu_guard_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "edge_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "discard_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "all-untagged", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "all-tagged", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "all-untagged"}, + {"value": "all-tagged"}, ], }, "packet_sampler": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "packet_sample_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enabled"}, {"value": "disabled"}], }, + "packet_sample_rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "sflow_counter_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "sample_direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "tx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "fec_capable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "tx"}, {"value": "rx"}, {"value": "both"}], }, + "fec_capable": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "fec_state": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "cl74", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "cl91", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disabled"}, + {"value": "cl74"}, + {"value": "cl91"}, ], }, "flow_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "tx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "rx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "disable"}, + {"value": "tx"}, + {"value": "rx"}, + {"value": "both"}, ], }, - "pause_meter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "pause_meter": {"v_range": [["v6.4.4", ""]], "type": "integer"}, "pause_meter_resume": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "75%", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "50%", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "25%", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "75%"}, {"value": "50%"}, {"value": "25%"}], }, "loop_guard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "loop_guard_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "port_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "qos_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "storm_control_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "port_security_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "export_to_pool": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enabled"}, {"value": "disabled"}], }, + "loop_guard_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "port_policy": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "qos_policy": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "storm_control_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "port_security_policy": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "export_to_pool": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_tags": { "type": "list", "elements": "dict", "children": { "tag_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "learning_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v7.0.2", ""]], }, + "learning_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "sticky_mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "lldp_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rx-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tx-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tx-rx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "rx-only"}, + {"value": "tx-only"}, + {"value": "tx-rx"}, ], }, - "lldp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "export_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mac_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "lldp_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "export_to": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mac_addr": {"v_range": [["v6.2.0", ""]], "type": "string"}, "port_selection_criteria": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "src-mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dst-mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "src-dst-mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dst-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "src-dst-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "src-mac"}, + {"value": "dst-mac"}, + {"value": "src-dst-mac"}, + {"value": "src-ip"}, + {"value": "dst-ip"}, + {"value": "src-dst-ip"}, ], }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "lacp_speed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "slow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "slow"}, {"value": "fast"}], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lacp-passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lacp-active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "static"}, + {"value": "lacp-passive"}, + {"value": "lacp-active"}, ], }, "bundle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "member_withdrawal_behavior": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "forward"}, {"value": "block"}], }, "mclag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "min_bundle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_bundle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "min_bundle": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_bundle": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "members": { "type": "list", "elements": "dict", "children": { "member_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "switch_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "port_number": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "port_prefix_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "fortilink_port": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "stacking_port": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "p2p_port": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "mclag_icl_port": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "fiber_port": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "media_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "poe_standard": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "poe_max_power": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "flags": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "isl_local_trunk_name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "isl_peer_port_name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "isl_peer_device_name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "fgt_peer_port_name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "fgt_peer_device_name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "igmps_flood_reports": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "igmps_flood_traffic": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "export_tags": { "type": "list", "elements": "dict", "children": { "tag_name": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], }, "igmp_snooping": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "speed_mask": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "virtual_port": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "export_to_pool_flag": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "sflow_sampler": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enabled", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enabled"}, {"value": "disabled"}], }, "sflow_sample_rate": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ip_source_guard": { "type": "list", "elements": "dict", "children": { "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.4.0", ""]], "type": "string"}, "binding_entry": { "type": "list", "elements": "dict", "children": { "entry_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, + "ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "mac": {"v_range": [["v6.4.0", ""]], "type": "string"}, }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], }, "stp_settings": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "local_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "revision": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "forward_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_hops": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "pending_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "revision": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "forward_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_hops": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "pending_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "status": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, @@ -10131,3331 +3120,242 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "8192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "12288", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "16384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "20480", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "24576", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "28672", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "32768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "36864", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "40960", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "45056", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "49152", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "53248", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "57344", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "61440", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "0"}, + {"value": "4096"}, + {"value": "8192"}, + {"value": "12288"}, + {"value": "16384"}, + {"value": "20480"}, + {"value": "24576"}, + {"value": "28672"}, + {"value": "32768"}, + {"value": "36864"}, + {"value": "40960"}, + {"value": "45056"}, + {"value": "49152"}, + {"value": "53248"}, + {"value": "57344"}, + {"value": "61440"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "override_snmp_sysinfo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "snmp_sysinfo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "engine_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "contact_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "engine_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "contact_info": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "location": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, }, "override_snmp_trap_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "snmp_trap_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "trap_high_cpu_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "trap_low_memory_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, "trap_log_full_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", }, }, }, "override_snmp_community": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "snmp_community": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "hosts": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "query_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "query_v1_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "query_v1_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "query_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "query_v2c_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "query_v2c_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "trap_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "trap_v1_lport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "trap_v1_rport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "trap_v1_lport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "trap_v1_rport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "trap_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "trap_v2c_lport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "trap_v2c_rport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "trap_v2c_lport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "trap_v2c_rport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "events": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "cpu-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mem-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "log-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "intf-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ent-conf-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "cpu-high"}, + {"value": "mem-low"}, + {"value": "log-full"}, + {"value": "intf-ip"}, + {"value": "ent-conf-change"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "override_snmp_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "snmp_user": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, "queries": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "query_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "query_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "security_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "no-auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "no-auth-no-priv"}, + {"value": "auth-no-priv"}, + {"value": "auth-priv"}, ], }, "auth_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha224", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "md5"}, + {"value": "sha1", "v_range": [["v7.0.0", ""]]}, + {"value": "sha224", "v_range": [["v7.0.0", ""]]}, + {"value": "sha256", "v_range": [["v7.0.0", ""]]}, + {"value": "sha384", "v_range": [["v7.0.0", ""]]}, + {"value": "sha512", "v_range": [["v7.0.0", ""]]}, + {"value": "sha", "v_range": [["v6.2.0", "v6.4.4"]]}, ], }, - "auth_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "auth_pwd": {"v_range": [["v6.2.0", ""]], "type": "string"}, "priv_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "aes128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes192c", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes256c", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "aes128", "v_range": [["v7.0.0", ""]]}, + {"value": "aes192", "v_range": [["v7.0.0", ""]]}, + {"value": "aes192c", "v_range": [["v7.0.0", ""]]}, + {"value": "aes256", "v_range": [["v7.0.0", ""]]}, + {"value": "aes256c", "v_range": [["v7.0.0", ""]]}, + {"value": "des"}, + {"value": "aes", "v_range": [["v6.2.0", "v6.4.4"]]}, ], }, - "priv_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "priv_pwd": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "qos_drop_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "taildrop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "random-early-detection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "qos_red_probability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "taildrop"}, {"value": "random-early-detection"}], }, + "qos_red_probability": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "switch_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "local_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, }, @@ -13465,1573 +3365,93 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, - "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "status": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "csv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [ + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, + ], + }, + }, + "v_range": [["v6.2.0", ""]], }, "storm_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "local_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "unknown_unicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unknown_multicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "broadcast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, @@ -15040,1835 +3460,215 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inactive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "active"}, {"value": "inactive"}], }, "switching_packet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dst": {"v_range": [["v6.0.0", ""]], "type": "string"}, "src_ingress": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "src_egress": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "static_mac": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sticky", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "static"}, {"value": "sticky"}], }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "mac": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "custom_command": { "type": "list", "elements": "dict", "children": { "command_entry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "command_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "command_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "dhcp_snooping_static_client": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, }, - "vlan": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "ip": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, - "mac": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "port": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "vlan": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "ip": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "mac": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "port": {"v_range": [["v7.2.4", ""]], "type": "string"}, }, + "v_range": [["v7.2.4", ""]], }, "igmp_snooping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "local_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "aging_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "aging_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "flood_unknown_multicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vlans": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "required": True, }, "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "global"}, ], }, "querier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "querier_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "querier_addr": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "version": {"v_range": [["v7.0.2", ""]], "type": "integer"}, }, + "v_range": [["v7.0.2", ""]], }, }, }, - "name": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v7.2.4"]], "type": "string"}, "directly_connected": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "l3_discovered": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "tdr_supported": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "dynamically_discovered": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "poe_lldp_detection": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fsw_wan2_peer": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "fsw_wan2_admin": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - { - "value": "discovered", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discovered"}, + {"value": "disable"}, + {"value": "enable"}, ], }, "switch_stp_settings": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "dict", "children": { "status": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], } }, }, "settings_802_1X": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "local_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "link_down_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "set-unauth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no-action", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "reauth_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_reauth_attempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tx_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "set-unauth"}, {"value": "no-action"}], }, + "reauth_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_reauth_attempt": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tx_period": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "mab_reauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -16905,6 +3705,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_device.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_device.py index 846d56aaa..e713a3b8a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_device.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_device.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +96,7 @@ options: type: str id: description: - - Device ID. + - Device ID. see Notes. required: true type: int last_known_port: @@ -135,33 +137,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure/list NAC devices learned on the managed FortiSwitch ports which matches NAC policy. - fortios_switch_controller_nac_device: - vdom: "{{ vdom }}" +- name: Configure/list NAC devices learned on the managed FortiSwitch ports which matches NAC policy. + fortinet.fortios.fortios_switch_controller_nac_device: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_nac_device: - description: "" - id: "4" - last_known_port: "" - last_known_switch: " (source switch-controller.managed-switch.switch-id)" - last_seen: "2147483647" - mac: "" - mac_policy: " (source switch-controller.mac-policy.name)" - matched_nac_policy: " (source user.nac-policy.name)" - port_policy: " (source switch-controller.port-policy.name)" - status: "enable" - + description: "" + id: "4" + last_known_port: "" + last_known_switch: " (source switch-controller.managed-switch.switch-id)" + last_seen: "2147483647" + mac: "" + mac_policy: " (source switch-controller.mac-policy.name)" + matched_nac_policy: " (source user.nac-policy.name)" + port_policy: " (source switch-controller.port-policy.name)" + status: "enable" """ RETURN = """ @@ -220,7 +211,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -315,7 +305,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "nac-device") if data["switch_controller_nac_device"]: resp = switch_controller_nac_device(data, fos) @@ -337,59 +326,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "integer", - "required": True, - }, - "description": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, + "id": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "integer", "required": True}, + "description": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, "status": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - ], - }, - "mac": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "last_known_switch": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "last_known_port": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "matched_nac_policy": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "port_policy": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "mac_policy": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "last_seen": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "integer", - }, + "mac": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "last_known_switch": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "last_known_port": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "matched_nac_policy": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "port_policy": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "mac_policy": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "last_seen": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "integer"}, }, - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], } @@ -426,6 +378,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_settings.py index cee349fb4..8712ab0e3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_nac_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -134,30 +134,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure integrated NAC settings for FortiSwitch. - fortios_switch_controller_nac_settings: - vdom: "{{ vdom }}" +- name: Configure integrated NAC settings for FortiSwitch. + fortinet.fortios.fortios_switch_controller_nac_settings: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_nac_settings: - auto_auth: "disable" - bounce_nac_port: "disable" - inactive_timer: "720" - link_down_flush: "disable" - mode: "local" - name: "default_name_8" - onboarding_vlan: " (source system.interface.name)" - + auto_auth: "disable" + bounce_nac_port: "disable" + inactive_timer: "720" + link_down_flush: "disable" + mode: "local" + name: "default_name_8" + onboarding_vlan: " (source system.interface.name)" """ RETURN = """ @@ -216,7 +205,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -244,6 +232,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_nac_settings_data(json): @@ -281,7 +272,6 @@ def underscore_to_hyphen(data): def switch_controller_nac_settings(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -321,11 +311,16 @@ def switch_controller_nac_settings(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -377,7 +372,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "nac-settings") if data["switch_controller_nac_settings"]: resp = switch_controller_nac_settings(data, fos, check_mode) @@ -385,7 +379,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_nac_settings") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -400,77 +394,31 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string", "required": True}, "mode": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - "options": [ - { - "value": "local", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "global", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - ], - }, - "inactive_timer": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "integer", - }, - "onboarding_vlan": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", + "options": [{"value": "local"}, {"value": "global"}], }, + "inactive_timer": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "integer"}, + "onboarding_vlan": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, "auto_auth": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "bounce_nac_port": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "link_down_flush": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], } @@ -507,6 +455,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_network_monitor_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_network_monitor_settings.py index 88988bdaf..f44991fd4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_network_monitor_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_network_monitor_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,22 +90,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure network monitor settings. - fortios_switch_controller_network_monitor_settings: - vdom: "{{ vdom }}" +- name: Configure network monitor settings. + fortinet.fortios.fortios_switch_controller_network_monitor_settings: + vdom: "{{ vdom }}" switch_controller_network_monitor_settings: - network_monitoring: "enable" - + network_monitoring: "enable" """ RETURN = """ @@ -164,7 +153,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -243,7 +231,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "network-monitor-settings") if data["switch_controller_network_monitor_settings"]: resp = switch_controller_network_monitor_settings(data, fos) @@ -262,122 +249,13 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "network_monitoring": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], } }, } @@ -415,6 +293,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_poe.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_poe.py index 33703deb0..2ae26feca 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_poe.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_poe.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: List PoE end-points status. - fortios_switch_controller_poe: - vdom: "{{ vdom }}" +- name: List PoE end-points status. + fortinet.fortios.fortios_switch_controller_poe: + vdom: "{{ vdom }}" switch_controller_poe: - fortiswitch_id: "" - + fortiswitch_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "poe") if data["switch_controller_poe"]: resp = switch_controller_poe(data, fos) @@ -275,16 +262,15 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": {"v6.4.1": True, "v6.2.7": True, "v6.2.5": True, "v6.2.0": True}, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "dict", "children": { "fortiswitch_id": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.2.7"], + ["v6.4.1", "v6.4.1"], + ], "type": "string", } }, @@ -323,6 +309,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_port_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_port_policy.py index 5f8680e1b..f29345bd9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_port_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_port_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -129,31 +129,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure port policy to be applied on the managed FortiSwitch ports through NAC device. - fortios_switch_controller_port_policy: - vdom: "{{ vdom }}" +- name: Configure port policy to be applied on the managed FortiSwitch ports through NAC device. + fortinet.fortios.fortios_switch_controller_port_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_port_policy: - set_802_1x: " (source switch-controller.security-policy.802-1X.name switch-controller.security-policy.captive-portal.name)" - bounce_port_link: "disable" - description: "" - fortilink: " (source system.interface.name)" - lldp_profile: " (source switch-controller.lldp-profile.name)" - name: "default_name_8" - qos_policy: " (source switch-controller.qos.qos-policy.name)" - vlan_policy: " (source switch-controller.vlan-policy.name)" - + set_802_1x: " (source switch-controller.security-policy.802-1X.name switch-controller.security-policy.captive-portal.name)" + bounce_port_link: "disable" + description: "" + fortilink: " (source system.interface.name)" + lldp_profile: " (source switch-controller.lldp-profile.name)" + name: "default_name_8" + qos_policy: " (source switch-controller.qos.qos-policy.name)" + vlan_policy: " (source switch-controller.vlan-policy.name)" """ RETURN = """ @@ -212,7 +201,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,6 +228,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_port_policy_data(json): @@ -301,7 +292,6 @@ def valid_attr_to_invalid_attrs(data): def switch_controller_port_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -340,11 +330,16 @@ def switch_controller_port_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -396,7 +391,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "port-policy") if data["switch_controller_port_policy"]: resp = switch_controller_port_policy(data, fos, check_mode) @@ -404,7 +398,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_port_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -419,51 +413,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - "required": True, - }, - "description": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "fortilink": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "lldp_profile": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "qos_policy": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, - "vlan_policy": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string", "required": True}, + "description": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "fortilink": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "lldp_profile": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "qos_policy": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, + "vlan_policy": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, "bounce_port_link": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - ], - }, - "set_802_1x": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "set_802_1x": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, }, - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], } @@ -500,6 +463,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_interface_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_interface_policy.py new file mode 100644 index 000000000..7dca2d320 --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_interface_policy.py @@ -0,0 +1,388 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_switch_controller_ptp_interface_policy +short_description: PTP interface-policy configuration in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify switch_controller_ptp feature and interface_policy category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + state: + description: + - Indicates whether to create or remove the object. + type: str + required: true + choices: + - 'present' + - 'absent' + switch_controller_ptp_interface_policy: + description: + - PTP interface-policy configuration. + default: null + type: dict + suboptions: + description: + description: + - Description. + type: str + name: + description: + - Policy name. + required: true + type: str + vlan: + description: + - PTP VLAN. Source system.interface.name. + type: str + vlan_pri: + description: + - Configure PTP VLAN priority (0 - 7). + type: int +""" + +EXAMPLES = """ +- name: PTP interface-policy configuration. + fortinet.fortios.fortios_switch_controller_ptp_interface_policy: + vdom: "{{ vdom }}" + state: "present" + access_token: "" + switch_controller_ptp_interface_policy: + description: "" + name: "default_name_4" + vlan: " (source system.interface.name)" + vlan_pri: "4" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_switch_controller_ptp_interface_policy_data(json): + option_list = ["description", "name", "vlan", "vlan_pri"] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def switch_controller_ptp_interface_policy(data, fos): + vdom = data["vdom"] + + state = data["state"] + + switch_controller_ptp_interface_policy_data = data[ + "switch_controller_ptp_interface_policy" + ] + filtered_data = underscore_to_hyphen( + filter_switch_controller_ptp_interface_policy_data( + switch_controller_ptp_interface_policy_data + ) + ) + + if state == "present" or state is True: + return fos.set( + "switch-controller.ptp", "interface-policy", data=filtered_data, vdom=vdom + ) + + elif state == "absent": + return fos.delete( + "switch-controller.ptp", + "interface-policy", + mkey=filtered_data["name"], + vdom=vdom, + ) + else: + fos._module.fail_json(msg="state must be present or absent!") + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_switch_controller_ptp(data, fos): + fos.do_member_operation("switch-controller.ptp", "interface-policy") + if data["switch_controller_ptp_interface_policy"]: + resp = switch_controller_ptp_interface_policy(data, fos) + else: + fos._module.fail_json( + msg="missing task body: %s" % ("switch_controller_ptp_interface_policy") + ) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "type": "list", + "elements": "dict", + "children": { + "name": {"v_range": [["v7.4.1", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "vlan": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "vlan_pri": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + }, + "v_range": [["v7.4.1", ""]], +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = "name" + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "state": {"required": True, "type": "str", "choices": ["present", "absent"]}, + "switch_controller_ptp_interface_policy": { + "required": False, + "type": "dict", + "default": None, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["switch_controller_ptp_interface_policy"]["options"][ + attribute_name + ] = module_spec["options"][attribute_name] + if mkeyname and mkeyname == attribute_name: + fields["switch_controller_ptp_interface_policy"]["options"][attribute_name][ + "required" + ] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "switch_controller_ptp_interface_policy" + ) + + is_error, has_changed, result, diff = fortios_switch_controller_ptp( + module.params, fos + ) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_policy.py index 353916aeb..826ae004d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,25 +103,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: PTP policy configuration. - fortios_switch_controller_ptp_policy: - vdom: "{{ vdom }}" +- name: PTP policy configuration. + fortinet.fortios.fortios_switch_controller_ptp_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_ptp_policy: - name: "default_name_3" - status: "disable" - + name: "default_name_3" + status: "disable" """ RETURN = """ @@ -180,7 +169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -208,6 +196,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_ptp_policy_data(json): @@ -237,7 +228,6 @@ def underscore_to_hyphen(data): def switch_controller_ptp_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -273,11 +263,16 @@ def switch_controller_ptp_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -327,7 +322,6 @@ def is_successful_status(resp): def fortios_switch_controller_ptp(data, fos, check_mode): - fos.do_member_operation("switch-controller.ptp", "policy") if data["switch_controller_ptp_policy"]: resp = switch_controller_ptp_policy(data, fos, check_mode) @@ -335,7 +329,7 @@ def fortios_switch_controller_ptp(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_ptp_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -351,111 +345,17 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.4.0"]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.4.0"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.4.0"]], } @@ -492,6 +392,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_profile.py new file mode 100644 index 000000000..f8ac99a13 --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_profile.py @@ -0,0 +1,444 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_switch_controller_ptp_profile +short_description: Global PTP profile in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify switch_controller_ptp feature and profile category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + state: + description: + - Indicates whether to create or remove the object. + type: str + required: true + choices: + - 'present' + - 'absent' + switch_controller_ptp_profile: + description: + - Global PTP profile. + default: null + type: dict + suboptions: + description: + description: + - Description. + type: str + domain: + description: + - Configure PTP domain value (0 - 255). + type: int + mode: + description: + - Select PTP mode. + type: str + choices: + - 'transparent-e2e' + - 'transparent-p2p' + name: + description: + - Profile name. + required: true + type: str + pdelay_req_interval: + description: + - Configure PTP peer delay request interval. + type: str + choices: + - '1sec' + - '2sec' + - '4sec' + - '8sec' + - '16sec' + - '32sec' + ptp_profile: + description: + - Configure PTP power profile. + type: str + choices: + - 'C37.238-2017' + transport: + description: + - Configure PTP transport mode. + type: str + choices: + - 'l2-mcast' +""" + +EXAMPLES = """ +- name: Global PTP profile. + fortinet.fortios.fortios_switch_controller_ptp_profile: + vdom: "{{ vdom }}" + state: "present" + access_token: "" + switch_controller_ptp_profile: + description: "" + domain: "254" + mode: "transparent-e2e" + name: "default_name_6" + pdelay_req_interval: "1sec" + ptp_profile: "C37.238-2017" + transport: "l2-mcast" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_switch_controller_ptp_profile_data(json): + option_list = [ + "description", + "domain", + "mode", + "name", + "pdelay_req_interval", + "ptp_profile", + "transport", + ] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def switch_controller_ptp_profile(data, fos): + vdom = data["vdom"] + + state = data["state"] + + switch_controller_ptp_profile_data = data["switch_controller_ptp_profile"] + filtered_data = underscore_to_hyphen( + filter_switch_controller_ptp_profile_data(switch_controller_ptp_profile_data) + ) + + if state == "present" or state is True: + return fos.set( + "switch-controller.ptp", "profile", data=filtered_data, vdom=vdom + ) + + elif state == "absent": + return fos.delete( + "switch-controller.ptp", "profile", mkey=filtered_data["name"], vdom=vdom + ) + else: + fos._module.fail_json(msg="state must be present or absent!") + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_switch_controller_ptp(data, fos): + fos.do_member_operation("switch-controller.ptp", "profile") + if data["switch_controller_ptp_profile"]: + resp = switch_controller_ptp_profile(data, fos) + else: + fos._module.fail_json( + msg="missing task body: %s" % ("switch_controller_ptp_profile") + ) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "type": "list", + "elements": "dict", + "children": { + "name": {"v_range": [["v7.4.1", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "mode": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "transparent-e2e"}, {"value": "transparent-p2p"}], + }, + "ptp_profile": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "C37.238-2017"}], + }, + "transport": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "l2-mcast"}], + }, + "domain": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "pdelay_req_interval": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "1sec"}, + {"value": "2sec"}, + {"value": "4sec"}, + {"value": "8sec"}, + {"value": "16sec"}, + {"value": "32sec"}, + ], + }, + }, + "v_range": [["v7.4.1", ""]], +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = "name" + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "state": {"required": True, "type": "str", "choices": ["present", "absent"]}, + "switch_controller_ptp_profile": { + "required": False, + "type": "dict", + "default": None, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["switch_controller_ptp_profile"]["options"][ + attribute_name + ] = module_spec["options"][attribute_name] + if mkeyname and mkeyname == attribute_name: + fields["switch_controller_ptp_profile"]["options"][attribute_name][ + "required" + ] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "switch_controller_ptp_profile" + ) + + is_error, has_changed, result, diff = fortios_switch_controller_ptp( + module.params, fos + ) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_settings.py index aad6527b0..4629bb179 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_ptp_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,22 +91,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global PTP settings. - fortios_switch_controller_ptp_settings: - vdom: "{{ vdom }}" +- name: Global PTP settings. + fortinet.fortios.fortios_switch_controller_ptp_settings: + vdom: "{{ vdom }}" switch_controller_ptp_settings: - mode: "disable" - + mode: "disable" """ RETURN = """ @@ -165,7 +154,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -238,7 +226,6 @@ def is_successful_status(resp): def fortios_switch_controller_ptp(data, fos): - fos.do_member_operation("switch-controller.ptp", "settings") if data["switch_controller_ptp_settings"]: resp = switch_controller_ptp_settings(data, fos) @@ -257,110 +244,16 @@ def fortios_switch_controller_ptp(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.4.0"]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.4.0"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "transparent-e2e", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "transparent-p2p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "disable"}, + {"value": "transparent-e2e"}, + {"value": "transparent-p2p"}, ], } }, @@ -399,6 +292,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_dot1p_map.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_dot1p_map.py index 9d3a5fb8d..843855b76 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_dot1p_map.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_dot1p_map.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -211,34 +211,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch QoS 802.1p. - fortios_switch_controller_qos_dot1p_map: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch QoS 802.1p. + fortinet.fortios.fortios_switch_controller_qos_dot1p_map: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_qos_dot1p_map: - description: "" - egress_pri_tagging: "disable" - name: "default_name_5" - priority_0: "queue-0" - priority_1: "queue-0" - priority_2: "queue-0" - priority_3: "queue-0" - priority_4: "queue-0" - priority_5: "queue-0" - priority_6: "queue-0" - priority_7: "queue-0" - + description: "" + egress_pri_tagging: "disable" + name: "default_name_5" + priority_0: "queue-0" + priority_1: "queue-0" + priority_2: "queue-0" + priority_3: "queue-0" + priority_4: "queue-0" + priority_5: "queue-0" + priority_6: "queue-0" + priority_7: "queue-0" """ RETURN = """ @@ -297,7 +286,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -325,6 +313,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_qos_dot1p_map_data(json): @@ -366,7 +357,6 @@ def underscore_to_hyphen(data): def switch_controller_qos_dot1p_map(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -408,11 +398,16 @@ def switch_controller_qos_dot1p_map(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -464,7 +459,6 @@ def is_successful_status(resp): def fortios_switch_controller_qos(data, fos, check_mode): - fos.do_member_operation("switch-controller.qos", "dot1p-map") if data["switch_controller_qos_dot1p_map"]: resp = switch_controller_qos_dot1p_map(data, fos, check_mode) @@ -472,7 +466,7 @@ def fortios_switch_controller_qos(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_qos_dot1p_map") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -487,2279 +481,127 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "egress_pri_tagging": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "priority_0": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, "priority_1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, "priority_2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, "priority_3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, "priority_4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, "priority_5": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, "priority_6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, "priority_7": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "queue-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "queue-7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "queue-0"}, + {"value": "queue-1"}, + {"value": "queue-2"}, + {"value": "queue-3"}, + {"value": "queue-4"}, + {"value": "queue-5"}, + {"value": "queue-6"}, + {"value": "queue-7"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2796,6 +638,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_ip_dscp_map.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_ip_dscp_map.py index 4b6debb70..0824b7a1c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_ip_dscp_map.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_ip_dscp_map.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -160,32 +160,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch QoS IP precedence/DSCP. - fortios_switch_controller_qos_ip_dscp_map: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch QoS IP precedence/DSCP. + fortinet.fortios.fortios_switch_controller_qos_ip_dscp_map: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_qos_ip_dscp_map: - description: "" - map: - - - cos_queue: "0" - diffserv: "CS0" - ip_precedence: "network-control" - name: "default_name_8" - value: "" - name: "default_name_10" - + description: "" + map: + - + cos_queue: "0" + diffserv: "CS0" + ip_precedence: "network-control" + name: "default_name_8" + value: "" + name: "default_name_10" """ RETURN = """ @@ -244,7 +233,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -272,6 +260,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_qos_ip_dscp_map_data(json): @@ -331,7 +322,6 @@ def underscore_to_hyphen(data): def switch_controller_qos_ip_dscp_map(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -376,11 +366,16 @@ def switch_controller_qos_ip_dscp_map(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -435,7 +430,6 @@ def is_successful_status(resp): def fortios_switch_controller_qos(data, fos, check_mode): - fos.do_member_operation("switch-controller.qos", "ip-dscp-map") if data["switch_controller_qos_ip_dscp_map"]: resp = switch_controller_qos_ip_dscp_map(data, fos, check_mode) @@ -443,7 +437,7 @@ def fortios_switch_controller_qos(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_qos_ip_dscp_map") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -458,1119 +452,69 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "map": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "cos_queue": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "cos_queue": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "diffserv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "CS0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CS1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF12", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF13", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CS2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF22", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF23", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CS3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF31", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF33", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CS4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF41", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF42", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AF43", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CS5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "EF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CS6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CS7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "CS0"}, + {"value": "CS1"}, + {"value": "AF11"}, + {"value": "AF12"}, + {"value": "AF13"}, + {"value": "CS2"}, + {"value": "AF21"}, + {"value": "AF22"}, + {"value": "AF23"}, + {"value": "CS3"}, + {"value": "AF31"}, + {"value": "AF32"}, + {"value": "AF33"}, + {"value": "CS4"}, + {"value": "AF41"}, + {"value": "AF42"}, + {"value": "AF43"}, + {"value": "CS5"}, + {"value": "EF"}, + {"value": "CS6"}, + {"value": "CS7"}, ], "multiple_values": True, "elements": "str", }, "ip_precedence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "network-control", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "internetwork-control", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critic-ecp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "flashoverride", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "flash", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "immediate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "priority", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "routine", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "network-control"}, + {"value": "internetwork-control"}, + {"value": "critic-ecp"}, + {"value": "flashoverride"}, + {"value": "flash"}, + {"value": "immediate"}, + {"value": "priority"}, + {"value": "routine"}, ], "multiple_values": True, "elements": "str", }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1607,6 +551,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_qos_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_qos_policy.py index 48c9fed68..43c79f344 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_qos_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_qos_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,28 +112,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch QoS policy. - fortios_switch_controller_qos_qos_policy: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch QoS policy. + fortinet.fortios.fortios_switch_controller_qos_qos_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_qos_qos_policy: - default_cos: "0" - name: "default_name_4" - queue_policy: " (source switch-controller.qos.queue-policy.name)" - trust_dot1p_map: " (source switch-controller.qos.dot1p-map.name)" - trust_ip_dscp_map: " (source switch-controller.qos.ip-dscp-map.name)" - + default_cos: "0" + name: "default_name_4" + queue_policy: " (source switch-controller.qos.queue-policy.name)" + trust_dot1p_map: " (source switch-controller.qos.dot1p-map.name)" + trust_ip_dscp_map: " (source switch-controller.qos.ip-dscp-map.name)" """ RETURN = """ @@ -192,7 +181,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -220,6 +208,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_qos_qos_policy_data(json): @@ -255,7 +246,6 @@ def underscore_to_hyphen(data): def switch_controller_qos_qos_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -297,11 +287,16 @@ def switch_controller_qos_qos_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -353,7 +348,6 @@ def is_successful_status(resp): def fortios_switch_controller_qos(data, fos, check_mode): - fos.do_member_operation("switch-controller.qos", "qos-policy") if data["switch_controller_qos_qos_policy"]: resp = switch_controller_qos_qos_policy(data, fos, check_mode) @@ -361,7 +355,7 @@ def fortios_switch_controller_qos(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_qos_qos_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -376,179 +370,13 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "default_cos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trust_dot1p_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trust_ip_dscp_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "queue_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "default_cos": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trust_dot1p_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trust_ip_dscp_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "queue_policy": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -585,6 +413,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_queue_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_queue_policy.py index 6898f7bfe..36812dace 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_queue_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_qos_queue_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -160,37 +160,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch QoS egress queue policy. - fortios_switch_controller_qos_queue_policy: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch QoS egress queue policy. + fortinet.fortios.fortios_switch_controller_qos_queue_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_qos_queue_policy: - cos_queue: - - - description: "" - drop_policy: "taildrop" - ecn: "disable" - max_rate: "0" - max_rate_percent: "0" - min_rate: "0" - min_rate_percent: "0" - name: "default_name_11" - weight: "1" - name: "default_name_13" - rate_by: "kbps" - schedule: "strict" - + cos_queue: + - + description: "" + drop_policy: "taildrop" + ecn: "disable" + max_rate: "0" + max_rate_percent: "0" + min_rate: "0" + min_rate_percent: "0" + name: "default_name_11" + weight: "1" + name: "default_name_13" + rate_by: "kbps" + schedule: "strict" """ RETURN = """ @@ -249,7 +238,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -277,6 +265,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_qos_queue_policy_data(json): @@ -306,7 +297,6 @@ def underscore_to_hyphen(data): def switch_controller_qos_queue_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -348,11 +338,16 @@ def switch_controller_qos_queue_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -407,7 +402,6 @@ def is_successful_status(resp): def fortios_switch_controller_qos(data, fos, check_mode): - fos.do_member_operation("switch-controller.qos", "queue-policy") if data["switch_controller_qos_queue_policy"]: resp = switch_controller_qos_queue_policy(data, fos, check_mode) @@ -415,7 +409,7 @@ def fortios_switch_controller_qos(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_qos_queue_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -430,662 +424,54 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "strict"}, + {"value": "round-robin"}, + {"value": "weighted"}, ], }, "rate_by": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "kbps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "percent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "kbps"}, {"value": "percent"}], }, "cos_queue": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "min_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_rate_percent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "max_rate_percent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "min_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_rate_percent": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "max_rate_percent": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "drop_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "taildrop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weighted-random-early-detection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "taildrop"}, + {"value": "weighted-random-early-detection"}, ], }, "ecn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1122,6 +508,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_quarantine.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_quarantine.py index 8b4eb9853..912ca70cc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_quarantine.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_quarantine.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -120,30 +120,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch quarantine support. - fortios_switch_controller_quarantine: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch quarantine support. + fortinet.fortios.fortios_switch_controller_quarantine: + vdom: "{{ vdom }}" switch_controller_quarantine: - quarantine: "enable" - targets: - - - description: "" - entry_id: "2147483647" - mac: "" - tag: - - - tags: "" - + quarantine: "enable" + targets: + - + description: "" + entry_id: "2147483647" + mac: "" + tag: + - + tags: "" """ RETURN = """ @@ -202,7 +191,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,7 +263,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "quarantine") if data["switch_controller_quarantine"]: resp = switch_controller_quarantine(data, fos) @@ -294,285 +281,42 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "targets": { "type": "list", "elements": "dict", "children": { "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tag": { "type": "list", "elements": "dict", "children": { "tags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "entry_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -610,6 +354,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_remote_log.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_remote_log.py index 7df830b27..1299aaab0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_remote_log.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_remote_log.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -160,30 +160,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure logging by FortiSwitch device to a remote syslog server. - fortios_switch_controller_remote_log: - vdom: "{{ vdom }}" +- name: Configure logging by FortiSwitch device to a remote syslog server. + fortinet.fortios.fortios_switch_controller_remote_log: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_remote_log: - csv: "enable" - facility: "kernel" - name: "default_name_5" - port: "514" - server: "192.168.100.40" - severity: "emergency" - status: "enable" - + csv: "enable" + facility: "kernel" + name: "default_name_5" + port: "514" + server: "192.168.100.40" + severity: "emergency" + status: "enable" """ RETURN = """ @@ -242,7 +231,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -270,6 +258,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_remote_log_data(json): @@ -299,7 +290,6 @@ def underscore_to_hyphen(data): def switch_controller_remote_log(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -335,11 +325,16 @@ def switch_controller_remote_log(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -389,7 +384,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "remote-log") if data["switch_controller_remote_log"]: resp = switch_controller_remote_log(data, fos, check_mode) @@ -397,7 +391,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_remote_log") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -412,1157 +406,65 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "server": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "csv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "facility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "kernel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "daemon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "syslog", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "lpr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "news", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "uucp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "cron", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "authpriv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ntp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "audit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "clock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "kernel"}, + {"value": "user"}, + {"value": "mail"}, + {"value": "daemon"}, + {"value": "auth"}, + {"value": "syslog"}, + {"value": "lpr"}, + {"value": "news"}, + {"value": "uucp"}, + {"value": "cron"}, + {"value": "authpriv"}, + {"value": "ftp"}, + {"value": "ntp"}, + {"value": "audit"}, + {"value": "alert"}, + {"value": "clock"}, + {"value": "local0"}, + {"value": "local1"}, + {"value": "local2"}, + {"value": "local3"}, + {"value": "local4"}, + {"value": "local5"}, + {"value": "local6"}, + {"value": "local7"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1599,6 +501,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_802_1x.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_802_1x.py index f13e3bc22..a118f082f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_802_1x.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_802_1x.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -211,45 +211,34 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure 802.1x MAC Authentication Bypass (MAB) policies. - fortios_switch_controller_security_policy_802_1x: - vdom: "{{ vdom }}" +- name: Configure 802.1x MAC Authentication Bypass (MAB) policies. + fortinet.fortios.fortios_switch_controller_security_policy_802_1x: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_security_policy_802_1x: - auth_fail_vlan: "disable" - auth_fail_vlan_id: " (source system.interface.name)" - auth_fail_vlanid: "32767" - authserver_timeout_period: "3" - authserver_timeout_vlan: "disable" - authserver_timeout_vlanid: " (source system.interface.name)" - eap_auto_untagged_vlans: "disable" - eap_passthru: "disable" - framevid_apply: "disable" - guest_auth_delay: "30" - guest_vlan: "disable" - guest_vlan_id: " (source system.interface.name)" - guest_vlanid: "32767" - mac_auth_bypass: "disable" - name: "default_name_17" - open_auth: "disable" - policy_type: "802.1X" - radius_timeout_overwrite: "disable" - security_mode: "802.1X" - user_group: - - - name: "default_name_23 (source user.group.name)" - + auth_fail_vlan: "disable" + auth_fail_vlan_id: " (source system.interface.name)" + auth_fail_vlanid: "32767" + authserver_timeout_period: "3" + authserver_timeout_vlan: "disable" + authserver_timeout_vlanid: " (source system.interface.name)" + eap_auto_untagged_vlans: "disable" + eap_passthru: "disable" + framevid_apply: "disable" + guest_auth_delay: "30" + guest_vlan: "disable" + guest_vlan_id: " (source system.interface.name)" + guest_vlanid: "32767" + mac_auth_bypass: "disable" + name: "default_name_17" + open_auth: "disable" + policy_type: "802.1X" + radius_timeout_overwrite: "disable" + security_mode: "802.1X" + user_group: + - + name: "default_name_23 (source user.group.name)" """ RETURN = """ @@ -308,7 +297,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -336,6 +324,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_security_policy_802_1x_data(json): @@ -386,7 +377,6 @@ def underscore_to_hyphen(data): def switch_controller_security_policy_802_1x(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -430,11 +420,16 @@ def switch_controller_security_policy_802_1x(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -489,7 +484,6 @@ def is_successful_status(resp): def fortios_switch_controller_security_policy(data, fos, check_mode): - fos.do_member_operation("switch-controller.security-policy", "802-1X") if data["switch_controller_security_policy_802_1x"]: resp = switch_controller_security_policy_802_1x(data, fos, check_mode) @@ -497,7 +491,7 @@ def fortios_switch_controller_security_policy(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_security_policy_802_1x") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -512,1202 +506,89 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "security_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "802.1X", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.1X-mac-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "802.1X"}, {"value": "802.1X-mac-based"}], }, "user_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "mac_auth_bypass": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "open_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "eap_passthru": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "eap_auto_untagged_vlans": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "guest_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "guest_vlan_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "guest_auth_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "guest_vlan_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "guest_auth_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auth_fail_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_fail_vlan_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "auth_fail_vlan_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "framevid_apply": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "radius_timeout_overwrite": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "policy_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "802.1X", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], - }, - "authserver_timeout_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "802.1X"}], }, + "authserver_timeout_period": {"v_range": [["v6.4.4", ""]], "type": "integer"}, "authserver_timeout_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "authserver_timeout_vlanid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "authserver_timeout_vlanid": {"v_range": [["v6.4.4", ""]], "type": "string"}, "guest_vlanid": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "auth_fail_vlanid": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1744,6 +625,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_captive_portal.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_captive_portal.py index 46b9a6286..06ddb93e7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_captive_portal.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_captive_portal.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -106,26 +106,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Names of VLANs that use captive portal authentication. - fortios_switch_controller_security_policy_captive_portal: - vdom: "{{ vdom }}" +- name: Names of VLANs that use captive portal authentication. + fortinet.fortios.fortios_switch_controller_security_policy_captive_portal: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_security_policy_captive_portal: - name: "default_name_3" - policy_type: "captive-portal" - vlan: " (source system.interface.name)" - + name: "default_name_3" + policy_type: "captive-portal" + vlan: " (source system.interface.name)" """ RETURN = """ @@ -184,7 +173,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -212,6 +200,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_security_policy_captive_portal_data(json): @@ -241,7 +232,6 @@ def underscore_to_hyphen(data): def switch_controller_security_policy_captive_portal(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -288,11 +278,16 @@ def switch_controller_security_policy_captive_portal(data, fos, check_mode=False is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -350,7 +345,6 @@ def is_successful_status(resp): def fortios_switch_controller_security_policy(data, fos, check_mode): - fos.do_member_operation("switch-controller.security-policy", "captive-portal") if data["switch_controller_security_policy_captive_portal"]: resp = switch_controller_security_policy_captive_portal(data, fos, check_mode) @@ -359,7 +353,7 @@ def fortios_switch_controller_security_policy(data, fos, check_mode): msg="missing task body: %s" % ("switch_controller_security_policy_captive_portal") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -375,46 +369,21 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, "vlan": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "policy_type": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "captive-portal", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "captive-portal"}], }, }, - "revisions": {"v6.2.3": True, "v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], } @@ -451,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_local_access.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_local_access.py index 392a9996d..d589a81e8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_local_access.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_security_policy_local_access.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,26 +122,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure allowaccess list for mgmt and internal interfaces on managed FortiSwitch units. - fortios_switch_controller_security_policy_local_access: - vdom: "{{ vdom }}" +- name: Configure allowaccess list for mgmt and internal interfaces on managed FortiSwitch units. + fortinet.fortios.fortios_switch_controller_security_policy_local_access: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_security_policy_local_access: - internal_allowaccess: "https" - mgmt_allowaccess: "https" - name: "default_name_5" - + internal_allowaccess: "https" + mgmt_allowaccess: "https" + name: "default_name_5" """ RETURN = """ @@ -200,7 +189,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -228,6 +216,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_security_policy_local_access_data(json): @@ -287,7 +278,6 @@ def underscore_to_hyphen(data): def switch_controller_security_policy_local_access(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -337,11 +327,16 @@ def switch_controller_security_policy_local_access(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -399,7 +394,6 @@ def is_successful_status(resp): def fortios_switch_controller_security_policy(data, fos, check_mode): - fos.do_member_operation("switch-controller.security-policy", "local-access") if data["switch_controller_security_policy_local_access"]: resp = switch_controller_security_policy_local_access(data, fos, check_mode) @@ -408,7 +402,7 @@ def fortios_switch_controller_security_policy(data, fos, check_mode): msg="missing task body: %s" % ("switch_controller_security_policy_local_access") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -423,481 +417,39 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "mgmt_allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "radius-acct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "https"}, + {"value": "ping"}, + {"value": "ssh"}, + {"value": "snmp"}, + {"value": "http"}, + {"value": "telnet"}, + {"value": "radius-acct"}, ], "multiple_values": True, "elements": "str", }, "internal_allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "radius-acct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "https"}, + {"value": "ping"}, + {"value": "ssh"}, + {"value": "snmp"}, + {"value": "http"}, + {"value": "telnet"}, + {"value": "radius-acct"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -934,6 +486,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_sflow.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_sflow.py index 5d92db6b4..8c2d6a975 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_sflow.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_sflow.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,23 +91,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch sFlow. - fortios_switch_controller_sflow: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch sFlow. + fortinet.fortios.fortios_switch_controller_sflow: + vdom: "{{ vdom }}" switch_controller_sflow: - collector_ip: "" - collector_port: "6343" - + collector_ip: "" + collector_port: "6343" """ RETURN = """ @@ -166,7 +155,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -239,7 +227,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "sflow") if data["switch_controller_sflow"]: resp = switch_controller_sflow(data, fos) @@ -256,92 +243,11 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "collector_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "collector_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "collector_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "collector_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -378,6 +284,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_community.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_community.py index 2857ba750..19ff03854 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_community.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_community.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,7 +109,7 @@ options: suboptions: id: description: - - Host entry ID. + - Host entry ID. see Notes. required: true type: int ip: @@ -116,7 +118,7 @@ options: type: str id: description: - - SNMP community ID. + - SNMP community ID. see Notes. required: true type: int name: @@ -185,41 +187,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch SNMP v1/v2c communities globally. - fortios_switch_controller_snmp_community: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch SNMP v1/v2c communities globally. + fortinet.fortios.fortios_switch_controller_snmp_community: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_snmp_community: - events: "cpu-high" - hosts: - - - id: "5" - ip: "" - id: "7" - name: "default_name_8" - query_v1_port: "161" - query_v1_status: "disable" - query_v2c_port: "161" - query_v2c_status: "disable" - status: "disable" - trap_v1_lport: "162" - trap_v1_rport: "162" - trap_v1_status: "disable" - trap_v2c_lport: "162" - trap_v2c_rport: "162" - trap_v2c_status: "disable" - + events: "cpu-high" + hosts: + - + id: "5" + ip: "" + id: "7" + name: "default_name_8" + query_v1_port: "161" + query_v1_status: "disable" + query_v2c_port: "161" + query_v2c_status: "disable" + status: "disable" + trap_v1_lport: "162" + trap_v1_rport: "162" + trap_v1_status: "disable" + trap_v2c_lport: "162" + trap_v2c_rport: "162" + trap_v2c_status: "disable" """ RETURN = """ @@ -278,7 +269,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -306,6 +296,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_snmp_community_data(json): @@ -380,7 +373,6 @@ def underscore_to_hyphen(data): def switch_controller_snmp_community(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -425,11 +417,16 @@ def switch_controller_snmp_community(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -481,7 +478,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "snmp-community") if data["switch_controller_snmp_community"]: resp = switch_controller_snmp_community(data, fos, check_mode) @@ -489,7 +485,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_snmp_community") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -504,881 +500,67 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "hosts": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, "query_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "query_v1_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "query_v1_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "query_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "query_v2c_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "query_v2c_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "trap_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "trap_v1_lport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "trap_v1_rport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "trap_v1_lport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "trap_v1_rport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "trap_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "trap_v2c_lport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "trap_v2c_rport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "trap_v2c_lport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "trap_v2c_rport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "events": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "cpu-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "mem-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "log-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "intf-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ent-conf-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "cpu-high"}, + {"value": "mem-low"}, + {"value": "log-full"}, + {"value": "intf-ip"}, + {"value": "ent-conf-change"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1415,6 +597,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_sysinfo.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_sysinfo.py index 078af23ef..6bdbd18f5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_sysinfo.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_sysinfo.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -106,26 +106,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch SNMP system information globally. - fortios_switch_controller_snmp_sysinfo: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch SNMP system information globally. + fortinet.fortios.fortios_switch_controller_snmp_sysinfo: + vdom: "{{ vdom }}" switch_controller_snmp_sysinfo: - contact_info: "" - description: "" - engine_id: "" - location: "" - status: "disable" - + contact_info: "" + description: "" + engine_id: "" + location: "" + status: "disable" """ RETURN = """ @@ -184,7 +173,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -257,7 +245,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "snmp-sysinfo") if data["switch_controller_snmp_sysinfo"]: resp = switch_controller_snmp_sysinfo(data, fos) @@ -276,215 +263,18 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "engine_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "contact_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "engine_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "contact_info": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "location": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, } @@ -521,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_trap_threshold.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_trap_threshold.py index bcbe87b9b..6131cc366 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_trap_threshold.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_trap_threshold.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -95,24 +95,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch SNMP trap threshold values globally. - fortios_switch_controller_snmp_trap_threshold: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch SNMP trap threshold values globally. + fortinet.fortios.fortios_switch_controller_snmp_trap_threshold: + vdom: "{{ vdom }}" switch_controller_snmp_trap_threshold: - trap_high_cpu_threshold: "80" - trap_log_full_threshold: "90" - trap_low_memory_threshold: "80" - + trap_high_cpu_threshold: "80" + trap_log_full_threshold: "90" + trap_low_memory_threshold: "80" """ RETURN = """ @@ -171,7 +160,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -254,7 +242,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "snmp-trap-threshold") if data["switch_controller_snmp_trap_threshold"]: resp = switch_controller_snmp_trap_threshold(data, fos) @@ -273,109 +260,12 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "trap_high_cpu_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "trap_low_memory_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "trap_log_full_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "trap_high_cpu_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "trap_low_memory_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "trap_log_full_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, } @@ -412,6 +302,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_user.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_user.py index cc8fbfbcf..b87c9e5de 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_user.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_snmp_user.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,31 +147,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch SNMP v3 users globally. - fortios_switch_controller_snmp_user: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch SNMP v3 users globally. + fortinet.fortios.fortios_switch_controller_snmp_user: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_snmp_user: - auth_proto: "md5" - auth_pwd: "" - name: "default_name_5" - priv_proto: "aes128" - priv_pwd: "" - queries: "disable" - query_port: "161" - security_level: "no-auth-no-priv" - + auth_proto: "md5" + auth_pwd: "" + name: "default_name_5" + priv_proto: "aes128" + priv_pwd: "" + queries: "disable" + query_port: "161" + security_level: "no-auth-no-priv" """ RETURN = """ @@ -230,7 +219,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,6 +246,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_snmp_user_data(json): @@ -296,7 +287,6 @@ def underscore_to_hyphen(data): def switch_controller_snmp_user(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -332,11 +322,16 @@ def switch_controller_snmp_user(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -386,7 +381,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "snmp-user") if data["switch_controller_snmp_user"]: resp = switch_controller_snmp_user(data, fos, check_mode) @@ -394,7 +388,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_snmp_user") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -409,713 +403,52 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "queries": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "query_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "query_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "security_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "no-auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "no-auth-no-priv"}, + {"value": "auth-no-priv"}, + {"value": "auth-priv"}, ], }, "auth_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha224", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "sha", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "md5"}, + {"value": "sha1", "v_range": [["v7.0.0", ""]]}, + {"value": "sha224", "v_range": [["v7.0.0", ""]]}, + {"value": "sha256", "v_range": [["v7.0.0", ""]]}, + {"value": "sha384", "v_range": [["v7.0.0", ""]]}, + {"value": "sha512", "v_range": [["v7.0.0", ""]]}, + {"value": "sha", "v_range": [["v6.2.0", "v6.4.4"]]}, ], }, - "auth_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "auth_pwd": {"v_range": [["v6.2.0", ""]], "type": "string"}, "priv_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "aes128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes192c", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "aes256c", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "aes128", "v_range": [["v7.0.0", ""]]}, + {"value": "aes192", "v_range": [["v7.0.0", ""]]}, + {"value": "aes192c", "v_range": [["v7.0.0", ""]]}, + {"value": "aes256", "v_range": [["v7.0.0", ""]]}, + {"value": "aes256c", "v_range": [["v7.0.0", ""]]}, + {"value": "des"}, + {"value": "aes", "v_range": [["v6.2.0", "v6.4.4"]]}, ], }, - "priv_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "priv_pwd": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], } @@ -1152,6 +485,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control.py index 0098fb9fa..9c3e92953 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,25 +108,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch storm control. - fortios_switch_controller_storm_control: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch storm control. + fortinet.fortios.fortios_switch_controller_storm_control: + vdom: "{{ vdom }}" switch_controller_storm_control: - broadcast: "enable" - rate: "500" - unknown_multicast: "enable" - unknown_unicast: "enable" - + broadcast: "enable" + rate: "500" + unknown_multicast: "enable" + unknown_unicast: "enable" """ RETURN = """ @@ -185,7 +174,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -260,7 +248,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "storm-control") if data["switch_controller_storm_control"]: resp = switch_controller_storm_control(data, fos) @@ -279,329 +266,24 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "unknown_unicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unknown_multicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "broadcast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -639,6 +321,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control_policy.py index 8c39795e6..7f8ab0592 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_storm_control_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,30 +133,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch storm control policy to be applied on managed-switch ports. - fortios_switch_controller_storm_control_policy: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch storm control policy to be applied on managed-switch ports. + fortinet.fortios.fortios_switch_controller_storm_control_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_storm_control_policy: - broadcast: "enable" - description: "" - name: "default_name_5" - rate: "500" - storm_control_mode: "global" - unknown_multicast: "enable" - unknown_unicast: "enable" - + broadcast: "enable" + description: "" + name: "default_name_5" + rate: "500" + storm_control_mode: "global" + unknown_multicast: "enable" + unknown_unicast: "enable" """ RETURN = """ @@ -215,7 +204,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -243,6 +231,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_storm_control_policy_data(json): @@ -280,7 +271,6 @@ def underscore_to_hyphen(data): def switch_controller_storm_control_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -324,11 +314,16 @@ def switch_controller_storm_control_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -383,7 +378,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "storm-control-policy") if data["switch_controller_storm_control_policy"]: resp = switch_controller_storm_control_policy(data, fos, check_mode) @@ -391,7 +385,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_storm_control_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -406,455 +400,35 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, "storm_control_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "override", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "global"}, + {"value": "override"}, + {"value": "disabled"}, ], }, - "rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "rate": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "unknown_unicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unknown_multicast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "broadcast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -891,6 +465,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_instance.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_instance.py index d871bb46f..2b9af5201 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_instance.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_instance.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,27 +107,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch multiple spanning tree protocol (MSTP) instances. - fortios_switch_controller_stp_instance: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch multiple spanning tree protocol (MSTP) instances. + fortinet.fortios.fortios_switch_controller_stp_instance: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_stp_instance: - id: "3" - vlan_range: - - - vlan_name: " (source system.interface.name)" - + id: "3" + vlan_range: + - + vlan_name: " (source system.interface.name)" """ RETURN = """ @@ -186,7 +175,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -214,6 +202,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_stp_instance_data(json): @@ -243,7 +234,6 @@ def underscore_to_hyphen(data): def switch_controller_stp_instance(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -283,11 +273,16 @@ def switch_controller_stp_instance(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -339,7 +334,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "stp-instance") if data["switch_controller_stp_instance"]: resp = switch_controller_stp_instance(data, fos, check_mode) @@ -347,7 +341,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_stp_instance") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -362,113 +356,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "id": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "vlan_range": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -505,6 +407,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_settings.py index f0d885215..b81753ff2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_stp_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -118,29 +118,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch spanning tree protocol (STP). - fortios_switch_controller_stp_settings: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch spanning tree protocol (STP). + fortinet.fortios.fortios_switch_controller_stp_settings: + vdom: "{{ vdom }}" switch_controller_stp_settings: - forward_time: "15" - hello_time: "2" - max_age: "20" - max_hops: "20" - name: "default_name_7" - pending_timer: "4" - revision: "0" - status: "enable" - + forward_time: "15" + hello_time: "2" + max_age: "20" + max_hops: "20" + name: "default_name_7" + pending_timer: "4" + revision: "0" + status: "enable" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -281,7 +269,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "stp-settings") if data["switch_controller_stp_settings"]: resp = switch_controller_stp_settings(data, fos) @@ -300,266 +287,20 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "revision": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "forward_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_hops": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "pending_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "revision": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "forward_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_hops": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "pending_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "status": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -597,6 +338,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_group.py index 352bd42d5..b2f2657b7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,30 +119,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch switch groups. - fortios_switch_controller_switch_group: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch switch groups. + fortinet.fortios.fortios_switch_controller_switch_group: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_switch_group: - description: "" - fortilink: " (source system.interface.name)" - members: - - - name: "default_name_6 (source switch-controller.managed-switch.switch-id)" - switch_id: " (source switch-controller.managed-switch.switch-id)" - name: "default_name_8" - + description: "" + fortilink: " (source system.interface.name)" + members: + - + name: "default_name_6 (source switch-controller.managed-switch.switch-id)" + switch_id: " (source switch-controller.managed-switch.switch-id)" + name: "default_name_8" """ RETURN = """ @@ -201,7 +190,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -229,6 +217,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_switch_group_data(json): @@ -258,7 +249,6 @@ def underscore_to_hyphen(data): def switch_controller_switch_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -298,11 +288,16 @@ def switch_controller_switch_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -354,7 +349,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "switch-group") if data["switch_controller_switch_group"]: resp = switch_controller_switch_group(data, fos, check_mode) @@ -362,7 +356,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_switch_group") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -377,92 +371,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "fortilink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "members": { @@ -470,102 +382,16 @@ versioned_schema = { "elements": "dict", "children": { "switch_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -602,6 +428,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_interface_tag.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_interface_tag.py index bece6d69b..6bc14b534 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_interface_tag.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_interface_tag.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,24 +96,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure switch object tags. - fortios_switch_controller_switch_interface_tag: - vdom: "{{ vdom }}" +- name: Configure switch object tags. + fortinet.fortios.fortios_switch_controller_switch_interface_tag: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_switch_interface_tag: - name: "default_name_3" - + name: "default_name_3" """ RETURN = """ @@ -172,7 +161,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -200,6 +188,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_switch_interface_tag_data(json): @@ -229,7 +220,6 @@ def underscore_to_hyphen(data): def switch_controller_switch_interface_tag(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -273,11 +263,16 @@ def switch_controller_switch_interface_tag(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,7 +327,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "switch-interface-tag") if data["switch_controller_switch_interface_tag"]: resp = switch_controller_switch_interface_tag(data, fos, check_mode) @@ -340,7 +334,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_switch_interface_tag") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -355,63 +349,9 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True} }, + "v_range": [["v6.0.0", ""]], } @@ -448,6 +388,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_log.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_log.py index f5a4d9337..64ae1f08b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_log.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_log.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,23 +103,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch logging (logs are transferred to and inserted into FortiGate event log). - fortios_switch_controller_switch_log: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch logging (logs are transferred to and inserted into FortiGate event log). + fortinet.fortios.fortios_switch_controller_switch_log: + vdom: "{{ vdom }}" switch_controller_switch_log: - severity: "emergency" - status: "enable" - + severity: "emergency" + status: "enable" """ RETURN = """ @@ -178,7 +167,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -251,7 +239,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "switch-log") if data["switch_controller_switch_log"]: resp = switch_controller_switch_log(data, fos) @@ -270,384 +257,26 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, }, @@ -686,6 +315,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_profile.py index 6625ef0a3..ce6ed48e6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_switch_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -129,29 +129,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch switch profile. - fortios_switch_controller_switch_profile: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch switch profile. + fortinet.fortios.fortios_switch_controller_switch_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_switch_profile: - login: "enable" - login_passwd: "" - login_passwd_override: "enable" - name: "default_name_6" - revision_backup_on_logout: "enable" - revision_backup_on_upgrade: "enable" - + login: "enable" + login_passwd: "" + login_passwd_override: "enable" + name: "default_name_6" + revision_backup_on_logout: "enable" + revision_backup_on_upgrade: "enable" """ RETURN = """ @@ -210,7 +199,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -238,6 +226,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_switch_profile_data(json): @@ -274,7 +265,6 @@ def underscore_to_hyphen(data): def switch_controller_switch_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -316,11 +306,16 @@ def switch_controller_switch_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -372,7 +367,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "switch-profile") if data["switch_controller_switch_profile"]: resp = switch_controller_switch_profile(data, fos, check_mode) @@ -380,7 +374,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_switch_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -395,330 +389,30 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "login_passwd_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "login_passwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "login_passwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, "login": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "revision_backup_on_logout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "revision_backup_on_upgrade": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -755,6 +449,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_system.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_system.py index 86d0ed563..fe364887f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_system.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_system.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -137,33 +137,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure system-wide switch controller settings. - fortios_switch_controller_system: - vdom: "{{ vdom }}" +- name: Configure system-wide switch controller settings. + fortinet.fortios.fortios_switch_controller_system: + vdom: "{{ vdom }}" switch_controller_system: - caputp_echo_interval: "30" - caputp_max_retransmit: "5" - data_sync_interval: "60" - dynamic_periodic_interval: "60" - iot_holdoff: "5" - iot_mac_idle: "1440" - iot_scan_interval: "60" - iot_weight_threshold: "1" - nac_periodic_interval: "60" - parallel_process: "1" - parallel_process_override: "disable" - tunnel_mode: "compatible" - + caputp_echo_interval: "30" + caputp_max_retransmit: "5" + data_sync_interval: "60" + dynamic_periodic_interval: "60" + iot_holdoff: "5" + iot_mac_idle: "1440" + iot_scan_interval: "60" + iot_weight_threshold: "1" + nac_periodic_interval: "60" + parallel_process: "1" + parallel_process_override: "disable" + tunnel_mode: "compatible" """ RETURN = """ @@ -222,7 +211,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -308,7 +296,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "system") if data["switch_controller_system"]: resp = switch_controller_system(data, fos) @@ -327,482 +314,29 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "parallel_process_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "parallel_process": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "data_sync_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "iot_weight_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "iot_scan_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "iot_holdoff": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "iot_mac_idle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "nac_periodic_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "dynamic_periodic_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "parallel_process": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "data_sync_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "iot_weight_threshold": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "iot_scan_interval": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "iot_holdoff": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "iot_mac_idle": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "nac_periodic_interval": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "dynamic_periodic_interval": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "tunnel_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "compatible", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "caputp_echo_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "caputp_max_retransmit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "compatible"}, {"value": "strict"}], }, + "caputp_echo_interval": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "caputp_max_retransmit": {"v_range": [["v7.4.0", ""]], "type": "integer"}, }, } @@ -839,6 +373,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_policy.py index a0c4ed929..5a77f22b4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -134,32 +134,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch traffic policy. - fortios_switch_controller_traffic_policy: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch traffic policy. + fortinet.fortios.fortios_switch_controller_traffic_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_traffic_policy: - cos_queue: "" - description: "" - guaranteed_bandwidth: "10000" - guaranteed_burst: "45000" - id: "7" - maximum_burst: "67500" - name: "default_name_9" - policer_status: "enable" - type: "ingress" - + cos_queue: "" + description: "" + guaranteed_bandwidth: "10000" + guaranteed_burst: "45000" + id: "7" + maximum_burst: "67500" + name: "default_name_9" + policer_status: "enable" + type: "ingress" """ RETURN = """ @@ -218,7 +207,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -246,6 +234,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_traffic_policy_data(json): @@ -285,7 +276,6 @@ def underscore_to_hyphen(data): def switch_controller_traffic_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -327,11 +317,16 @@ def switch_controller_traffic_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -383,7 +378,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "traffic-policy") if data["switch_controller_traffic_policy"]: resp = switch_controller_traffic_policy(data, fos, check_mode) @@ -391,7 +385,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_traffic_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -406,327 +400,25 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, "policer_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "guaranteed_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "guaranteed_burst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "maximum_burst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "cos_queue": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "guaranteed_bandwidth": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "guaranteed_burst": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "maximum_burst": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "cos_queue": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "ingress", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "egress", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "ingress"}, {"value": "egress"}], }, - "id": {"revisions": {"v6.2.3": True, "v6.2.0": False}, "type": "integer"}, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], } @@ -763,6 +455,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_sniffer.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_sniffer.py index 16de96227..18661d727 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_sniffer.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_sniffer.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -178,45 +178,34 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSwitch RSPAN/ERSPAN traffic sniffing parameters. - fortios_switch_controller_traffic_sniffer: - vdom: "{{ vdom }}" +- name: Configure FortiSwitch RSPAN/ERSPAN traffic sniffing parameters. + fortinet.fortios.fortios_switch_controller_traffic_sniffer: + vdom: "{{ vdom }}" switch_controller_traffic_sniffer: - erspan_ip: "" - mode: "erspan-auto" - target_ip: - - - description: "" - dst_entry_id: "2147483647" - ip: "" - src_entry_id: "2147483647" - target_mac: - - - description: "" - dst_entry_id: "2147483647" - mac: "" - src_entry_id: "2147483647" - target_port: - - - description: "" - in_ports: - - - name: "default_name_18" - out_ports: - - - name: "default_name_20" - switch_id: " (source switch-controller.managed-switch.switch-id)" - + erspan_ip: "" + mode: "erspan-auto" + target_ip: + - + description: "" + dst_entry_id: "2147483647" + ip: "" + src_entry_id: "2147483647" + target_mac: + - + description: "" + dst_entry_id: "2147483647" + mac: "" + src_entry_id: "2147483647" + target_port: + - + description: "" + in_ports: + - + name: "default_name_18" + out_ports: + - + name: "default_name_20" + switch_id: " (source switch-controller.managed-switch.switch-id)" """ RETURN = """ @@ -275,7 +264,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -352,7 +340,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos): - fos.do_member_operation("switch-controller", "traffic-sniffer") if data["switch_controller_traffic_sniffer"]: resp = switch_controller_traffic_sniffer(data, fos) @@ -371,536 +358,81 @@ def fortios_switch_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "erspan-auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "rspan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "erspan-auto"}, + {"value": "rspan"}, + {"value": "none"}, ], }, - "erspan_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "erspan_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "target_mac": { "type": "list", "elements": "dict", "children": { "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "src_entry_id": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", - }, - "dst_entry_id": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "src_entry_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "dst_entry_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], }, "target_ip": { "type": "list", "elements": "dict", "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "src_entry_id": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", - }, - "dst_entry_id": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "ip": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "src_entry_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "dst_entry_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], }, "target_port": { "type": "list", "elements": "dict", "children": { "switch_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, "in_ports": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "out_ports": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, } @@ -938,6 +470,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_virtual_port_pool.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_virtual_port_pool.py index 118ccf4f4..0080d51b0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_virtual_port_pool.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_virtual_port_pool.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual pool. - fortios_switch_controller_virtual_port_pool: - vdom: "{{ vdom }}" +- name: Configure virtual pool. + fortinet.fortios.fortios_switch_controller_virtual_port_pool: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_virtual_port_pool: - description: "" - name: "default_name_4" - + description: "" + name: "default_name_4" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_virtual_port_pool_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def switch_controller_virtual_port_pool(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +268,16 @@ def switch_controller_virtual_port_pool(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -337,7 +332,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "virtual-port-pool") if data["switch_controller_virtual_port_pool"]: resp = switch_controller_virtual_port_pool(data, fos, check_mode) @@ -345,7 +339,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_virtual_port_pool") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -360,92 +354,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -482,6 +394,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan.py index d5b3df69a..059f692f2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -171,41 +171,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VLANs for switch controller. - fortios_switch_controller_vlan: - vdom: "{{ vdom }}" +- name: Configure VLANs for switch controller. + fortinet.fortios.fortios_switch_controller_vlan: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_vlan: - auth: "radius" - color: "16" - comments: "" - name: "default_name_6" - portal_message_override_group: "" - portal_message_overrides: - auth_disclaimer_page: "" - auth_login_failed_page: "" - auth_login_page: "" - auth_reject_page: "" - radius_server: " (source user.radius.name)" - security: "open" - selected_usergroups: - - - name: "default_name_16 (source user.group.name)" - usergroup: " (source user.group.name)" - vdom: "" - vlanid: "2047" - + auth: "radius" + color: "16" + comments: "" + name: "default_name_6" + portal_message_override_group: "" + portal_message_overrides: + auth_disclaimer_page: "" + auth_login_failed_page: "" + auth_login_page: "" + auth_reject_page: "" + radius_server: " (source user.radius.name)" + security: "open" + selected_usergroups: + - + name: "default_name_16 (source user.group.name)" + usergroup: " (source user.group.name)" + vdom: "" + vlanid: "2047" """ RETURN = """ @@ -264,7 +253,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -292,6 +280,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_vlan_data(json): @@ -334,7 +325,6 @@ def underscore_to_hyphen(data): def switch_controller_vlan(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -370,11 +360,16 @@ def switch_controller_vlan(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -424,13 +419,12 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "vlan") if data["switch_controller_vlan"]: resp = switch_controller_vlan(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("switch_controller_vlan")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -446,188 +440,70 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, "vdom": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "vlanid": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "comments": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "color": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "security": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - { - "value": "open", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "captive-portal", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8021x", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "open"}, + {"value": "captive-portal"}, + {"value": "8021x"}, ], }, "auth": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "radius", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usergroup", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "radius"}, {"value": "usergroup"}], }, "radius_server": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "usergroup": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "portal_message_override_group": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "portal_message_overrides": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "dict", "children": { "auth_disclaimer_page": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "auth_reject_page": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "auth_login_page": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "auth_login_failed_page": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, @@ -637,25 +513,15 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, }, - "revisions": {"v6.2.3": True, "v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], } @@ -692,6 +558,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan_policy.py index 9a299fcd2..211974fba 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_vlan_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -145,35 +145,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VLAN policy to be applied on the managed FortiSwitch ports through dynamic-port-policy. - fortios_switch_controller_vlan_policy: - vdom: "{{ vdom }}" +- name: Configure VLAN policy to be applied on the managed FortiSwitch ports through dynamic-port-policy. + fortinet.fortios.fortios_switch_controller_vlan_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" switch_controller_vlan_policy: - allowed_vlans: - - - vlan_name: " (source system.interface.name)" - allowed_vlans_all: "enable" - description: "" - discard_mode: "none" - fortilink: " (source system.interface.name)" - name: "default_name_9" - untagged_vlans: - - - vlan_name: " (source system.interface.name)" - vlan: " (source system.interface.name)" - + allowed_vlans: + - + vlan_name: " (source system.interface.name)" + allowed_vlans_all: "enable" + description: "" + discard_mode: "none" + fortilink: " (source system.interface.name)" + name: "default_name_9" + untagged_vlans: + - + vlan_name: " (source system.interface.name)" + vlan: " (source system.interface.name)" """ RETURN = """ @@ -232,7 +221,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -260,6 +248,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_switch_controller_vlan_policy_data(json): @@ -298,7 +289,6 @@ def underscore_to_hyphen(data): def switch_controller_vlan_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -336,11 +326,16 @@ def switch_controller_vlan_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -392,7 +387,6 @@ def is_successful_status(resp): def fortios_switch_controller(data, fos, check_mode): - fos.do_member_operation("switch-controller", "vlan-policy") if data["switch_controller_vlan_policy"]: resp = switch_controller_vlan_policy(data, fos, check_mode) @@ -400,7 +394,7 @@ def fortios_switch_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("switch_controller_vlan_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -415,369 +409,50 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "fortilink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "fortilink": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "vlan": {"v_range": [["v6.4.0", ""]], "type": "string"}, "allowed_vlans": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "untagged_vlans": { "type": "list", "elements": "dict", "children": { "vlan_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "allowed_vlans_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "discard_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "all-untagged", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "all-tagged", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "none"}, + {"value": "all-untagged"}, + {"value": "all-tagged"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -814,6 +489,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_3g_modem_custom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_3g_modem_custom.py index b53aada0c..1545f0c8a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_3g_modem_custom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_3g_modem_custom.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +96,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int init_string: @@ -124,31 +126,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: 3G MODEM custom. - fortios_system_3g_modem_custom: - vdom: "{{ vdom }}" +- name: 3G MODEM custom. + fortinet.fortios.fortios_system_3g_modem_custom: + vdom: "{{ vdom }}" state: "present" access_token: "" system_3g_modem_custom: - class_id: "" - id: "4" - init_string: "" - model: "" - modeswitch_string: "" - product_id: "" - vendor: "" - vendor_id: "" - + class_id: "" + id: "4" + init_string: "" + model: "" + modeswitch_string: "" + product_id: "" + vendor: "" + vendor_id: "" """ RETURN = """ @@ -207,7 +198,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,6 +225,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_3g_modem_custom_data(json): @@ -273,7 +266,6 @@ def underscore_to_hyphen(data): def system_3g_modem_custom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -309,11 +301,16 @@ def system_3g_modem_custom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -363,13 +360,12 @@ def is_successful_status(resp): def fortios_system_3g_modem(data, fos, check_mode): - fos.do_member_operation("system.3g-modem", "custom") if data["system_3g_modem_custom"]: resp = system_3g_modem_custom(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_3g_modem_custom")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -384,212 +380,19 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "vendor": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "model": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vendor_id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "product_id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "class_id": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "init_string": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "vendor": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "model": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vendor_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "product_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "class_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "init_string": {"v_range": [["v6.0.0", ""]], "type": "string"}, "modeswitch_string": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -626,6 +429,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_accprofile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_accprofile.py index 8c04bd584..9d34cf510 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_accprofile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_accprofile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -374,6 +374,14 @@ options: - 'none' - 'read' - 'read-write' + casb: + description: + - Inline CASB filter profile and settings + type: str + choices: + - 'none' + - 'read' + - 'read-write' data_leak_prevention: description: - DLP profiles and settings. @@ -462,6 +470,14 @@ options: - 'none' - 'read' - 'read-write' + virtual_patch: + description: + - Virtual patch profiles and settings. + type: str + choices: + - 'none' + - 'read' + - 'read-write' voip: description: - VoIP profiles and settings. @@ -513,79 +529,70 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure access profiles for system administrators. - fortios_system_accprofile: - vdom: "{{ vdom }}" +- name: Configure access profiles for system administrators. + fortinet.fortios.fortios_system_accprofile: + vdom: "{{ vdom }}" state: "present" access_token: "" system_accprofile: - admintimeout: "10" - admintimeout_override: "enable" - authgrp: "none" - comments: "" - ftviewgrp: "none" - fwgrp: "none" - fwgrp_permission: - address: "none" - others: "none" - policy: "none" - schedule: "none" - service: "none" - loggrp: "none" - loggrp_permission: - config: "none" - data_access: "none" - report_access: "none" - threat_weight: "none" - name: "default_name_21" - netgrp: "none" - netgrp_permission: - cfg: "none" - packet_capture: "none" - route_cfg: "none" - scope: "vdom" - secfabgrp: "none" - sysgrp: "none" - sysgrp_permission: - admin: "none" - cfg: "none" - mnt: "none" - upd: "none" - system_diagnostics: "enable" - system_execute_ssh: "enable" - system_execute_telnet: "enable" - utmgrp: "none" - utmgrp_permission: - antivirus: "none" - application_control: "none" - data_leak_prevention: "none" - data_loss_prevention: "none" - dnsfilter: "none" - emailfilter: "none" - endpoint_control: "none" - file_filter: "none" - icap: "none" - ips: "none" - mmsgtp: "none" - spamfilter: "none" - videofilter: "none" - voip: "none" - waf: "none" - webfilter: "none" - vpngrp: "none" - wanoptgrp: "none" - wifi: "none" - + admintimeout: "10" + admintimeout_override: "enable" + authgrp: "none" + comments: "" + ftviewgrp: "none" + fwgrp: "none" + fwgrp_permission: + address: "none" + others: "none" + policy: "none" + schedule: "none" + service: "none" + loggrp: "none" + loggrp_permission: + config: "none" + data_access: "none" + report_access: "none" + threat_weight: "none" + name: "default_name_21" + netgrp: "none" + netgrp_permission: + cfg: "none" + packet_capture: "none" + route_cfg: "none" + scope: "vdom" + secfabgrp: "none" + sysgrp: "none" + sysgrp_permission: + admin: "none" + cfg: "none" + mnt: "none" + upd: "none" + system_diagnostics: "enable" + system_execute_ssh: "enable" + system_execute_telnet: "enable" + utmgrp: "none" + utmgrp_permission: + antivirus: "none" + application_control: "none" + casb: "none" + data_leak_prevention: "none" + data_loss_prevention: "none" + dnsfilter: "none" + emailfilter: "none" + endpoint_control: "none" + file_filter: "none" + icap: "none" + ips: "none" + mmsgtp: "none" + spamfilter: "none" + videofilter: "none" + virtual_patch: "none" + voip: "none" + waf: "none" + webfilter: "none" + vpngrp: "none" + wanoptgrp: "none" + wifi: "none" """ RETURN = """ @@ -644,7 +651,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -672,6 +678,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_accprofile_data(json): @@ -726,7 +735,6 @@ def underscore_to_hyphen(data): def system_accprofile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -762,11 +770,16 @@ def system_accprofile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -814,13 +827,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "accprofile") if data["system_accprofile"]: resp = system_accprofile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_accprofile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -835,5536 +847,452 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "scope": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "vdom"}, {"value": "global"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "secfabgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "read"}, {"value": "read-write"}], }, "ftviewgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "read"}, {"value": "read-write"}], }, "authgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "read"}, {"value": "read-write"}], }, "sysgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, + {"value": "custom"}, ], }, "netgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, + {"value": "custom"}, ], }, "loggrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, + {"value": "custom"}, ], }, "fwgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, + {"value": "custom"}, ], }, "vpngrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "read"}, {"value": "read-write"}], }, "utmgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, + {"value": "custom"}, ], }, "wanoptgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "read"}, {"value": "read-write"}], }, "wifi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "read"}, {"value": "read-write"}], }, "netgrp_permission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "cfg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "packet_capture": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "route_cfg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, }, }, "sysgrp_permission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "admin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "upd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "cfg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "mnt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, }, }, "fwgrp_permission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "others": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, }, }, "loggrp_permission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "data_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "report_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "threat_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, }, }, "utmgrp_permission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "antivirus": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "ips": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "webfilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "emailfilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "data_leak_prevention": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "read", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "read-write", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "file_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "application_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "icap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "voip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "waf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "dnsfilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "endpoint_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "videofilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, + ], + }, + "virtual_patch": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, + ], + }, + "casb": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "mmsgtp": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "data_loss_prevention": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, "spamfilter": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "read-write", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "read"}, + {"value": "read-write"}, ], }, }, }, "admintimeout_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "admintimeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "admintimeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "system_diagnostics": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "system_execute_ssh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "system_execute_telnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -6399,6 +1327,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_acme.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_acme.py index 183f1cd6b..880b838f8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_acme.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_acme.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -140,35 +140,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure ACME client. - fortios_system_acme: - vdom: "{{ vdom }}" +- name: Configure ACME client. + fortinet.fortios.fortios_system_acme: + vdom: "{{ vdom }}" system_acme: - accounts: - - - ca_url: "" - email: "" - id: "6" - privatekey: "" - status: "" - url: "myurl.com" - interface: - - - interface_name: " (source system.interface.name)" - source_ip: "84.230.14.43" - source_ip6: "" - use_ha_direct: "enable" - + accounts: + - + ca_url: "" + email: "" + id: "6" + privatekey: "" + status: "" + url: "myurl.com" + interface: + - + interface_name: " (source system.interface.name)" + source_ip: "84.230.14.43" + source_ip6: "" + use_ha_direct: "enable" """ RETURN = """ @@ -227,7 +216,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -298,7 +286,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "acme") if data["system_acme"]: resp = system_acme(data, fos) @@ -315,22 +302,7 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "interface": { @@ -338,240 +310,32 @@ versioned_schema = { "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, "use_ha_direct": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, - "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "source_ip": {"v_range": [["v7.0.6", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v7.0.6", ""]], "type": "string"}, "accounts": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "ca_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "email": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "privatekey": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, + "id": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "status": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "url": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "ca_url": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "email": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "privatekey": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, + "v_range": [["v7.0.0", ""]], }, }, } @@ -607,6 +371,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_admin.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_admin.py index 01cced188..ac992d2ee 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_admin.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_admin.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -160,7 +160,7 @@ options: type: int id: description: - - Dashboard ID. + - Dashboard ID. see Notes. required: true type: int layout_type: @@ -222,7 +222,7 @@ options: suboptions: id: description: - - FortiView Filter ID. + - FortiView Filter ID. see Notes. required: true type: int key: @@ -255,7 +255,7 @@ options: type: int id: description: - - Widget ID. + - Widget ID. see Notes. required: true type: int industry: @@ -608,130 +608,119 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure admin users. - fortios_system_admin: - vdom: "{{ vdom }}" +- name: Configure admin users. + fortinet.fortios.fortios_system_admin: + vdom: "{{ vdom }}" state: "present" access_token: "" system_admin: - accprofile: " (source system.accprofile.name)" - accprofile_override: "enable" - allow_remove_admin_session: "enable" - comments: "" - email_to: "" - force_password_change: "enable" - fortitoken: "" - guest_auth: "disable" - guest_lang: " (source system.custom-language.name)" - guest_usergroups: - - - name: "default_name_13" - gui_dashboard: - - - columns: "10" - id: "16" - layout_type: "responsive" - name: "default_name_18" - permanent: "disable" - scope: "global" - vdom: " (source system.vdom.name)" - widget: - - - fabric_device: "" - fabric_device_widget_name: "" - fabric_device_widget_visualization_type: "" - fortiview_device: "" - fortiview_filters: - - - id: "28" - key: "" - value: "" - fortiview_sort_by: "" - fortiview_timeframe: "" - fortiview_type: "" - fortiview_visualization: "" - height: "25" - id: "36" - industry: "default" - interface: " (source system.interface.name)" - region: "default" - title: "" - type: "sysinfo" - width: "25" - x_pos: "500" - y_pos: "500" - gui_global_menu_favorites: - - - id: "46" - gui_new_feature_acknowledge: - - - id: "48" - gui_vdom_menu_favorites: - - - id: "50" - hidden: "127" - history0: "" - history1: "" - ip6_trusthost1: "myhostname" - ip6_trusthost10: "myhostname" - ip6_trusthost2: "myhostname" - ip6_trusthost3: "myhostname" - ip6_trusthost4: "myhostname" - ip6_trusthost5: "myhostname" - ip6_trusthost6: "myhostname" - ip6_trusthost7: "myhostname" - ip6_trusthost8: "myhostname" - ip6_trusthost9: "myhostname" - login_time: - - - last_failed_login: "" - last_login: "" - usr_name: "" - name: "default_name_68" - password: "" - password_expire: "" - peer_auth: "enable" - peer_group: "" - radius_vdom_override: "enable" - remote_auth: "enable" - remote_group: "" - schedule: "" - sms_custom_server: " (source system.sms-server.name)" - sms_phone: "" - sms_server: "fortiguard" - ssh_certificate: " (source certificate.remote.name)" - ssh_public_key1: "" - ssh_public_key2: "" - ssh_public_key3: "" - trusthost1: "myhostname" - trusthost10: "myhostname" - trusthost2: "myhostname" - trusthost3: "myhostname" - trusthost4: "myhostname" - trusthost5: "myhostname" - trusthost6: "myhostname" - trusthost7: "myhostname" - trusthost8: "myhostname" - trusthost9: "myhostname" - two_factor: "disable" - two_factor_authentication: "fortitoken" - two_factor_notification: "email" - vdom: - - - name: "default_name_98 (source system.vdom.name)" - vdom_override: "enable" - wildcard: "enable" - + accprofile: " (source system.accprofile.name)" + accprofile_override: "enable" + allow_remove_admin_session: "enable" + comments: "" + email_to: "" + force_password_change: "enable" + fortitoken: "" + guest_auth: "disable" + guest_lang: " (source system.custom-language.name)" + guest_usergroups: + - + name: "default_name_13" + gui_dashboard: + - + columns: "10" + id: "16" + layout_type: "responsive" + name: "default_name_18" + permanent: "disable" + scope: "global" + vdom: " (source system.vdom.name)" + widget: + - + fabric_device: "" + fabric_device_widget_name: "" + fabric_device_widget_visualization_type: "" + fortiview_device: "" + fortiview_filters: + - + id: "28" + key: "" + value: "" + fortiview_sort_by: "" + fortiview_timeframe: "" + fortiview_type: "" + fortiview_visualization: "" + height: "25" + id: "36" + industry: "default" + interface: " (source system.interface.name)" + region: "default" + title: "" + type: "sysinfo" + width: "25" + x_pos: "500" + y_pos: "500" + gui_global_menu_favorites: + - + id: "46" + gui_new_feature_acknowledge: + - + id: "48" + gui_vdom_menu_favorites: + - + id: "50" + hidden: "127" + history0: "" + history1: "" + ip6_trusthost1: "myhostname" + ip6_trusthost10: "myhostname" + ip6_trusthost2: "myhostname" + ip6_trusthost3: "myhostname" + ip6_trusthost4: "myhostname" + ip6_trusthost5: "myhostname" + ip6_trusthost6: "myhostname" + ip6_trusthost7: "myhostname" + ip6_trusthost8: "myhostname" + ip6_trusthost9: "myhostname" + login_time: + - + last_failed_login: "" + last_login: "" + usr_name: "" + name: "default_name_68" + password: "" + password_expire: "" + peer_auth: "enable" + peer_group: "" + radius_vdom_override: "enable" + remote_auth: "enable" + remote_group: "" + schedule: "" + sms_custom_server: " (source system.sms-server.name)" + sms_phone: "" + sms_server: "fortiguard" + ssh_certificate: " (source certificate.remote.name)" + ssh_public_key1: "" + ssh_public_key2: "" + ssh_public_key3: "" + trusthost1: "myhostname" + trusthost10: "myhostname" + trusthost2: "myhostname" + trusthost3: "myhostname" + trusthost4: "myhostname" + trusthost5: "myhostname" + trusthost6: "myhostname" + trusthost7: "myhostname" + trusthost8: "myhostname" + trusthost9: "myhostname" + two_factor: "disable" + two_factor_authentication: "fortitoken" + two_factor_notification: "email" + vdom: + - + name: "default_name_98 (source system.vdom.name)" + vdom_override: "enable" + wildcard: "enable" """ RETURN = """ @@ -790,7 +779,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -818,6 +806,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_admin_data(json): @@ -908,7 +899,6 @@ def underscore_to_hyphen(data): def system_admin(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -942,11 +932,16 @@ def system_admin(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -994,13 +989,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "admin") if data["system_admin"]: resp = system_admin(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_admin")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1015,2486 +1009,164 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "wildcard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "remote_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "remote_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "remote_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "peer_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "peer_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost5": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost7": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost8": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost9": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trusthost10": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost5": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost7": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost8": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost9": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_trusthost10": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "accprofile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "peer_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost4": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost5": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost7": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost8": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost9": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trusthost10": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost4": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost5": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost7": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost8": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost9": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_trusthost10": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "accprofile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "allow_remove_admin_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vdom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ssh_public_key1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssh_public_key2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssh_public_key3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssh_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "ssh_public_key1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssh_public_key2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssh_public_key3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssh_certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, "accprofile_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vdom_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "password_expire": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "password_expire": {"v_range": [["v6.0.0", ""]], "type": "string"}, "force_password_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "two_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortitoken", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortitoken-cloud", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "fortitoken"}, + {"value": "fortitoken-cloud", "v_range": [["v6.2.0", ""]]}, + {"value": "email"}, + {"value": "sms"}, ], }, "two_factor_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "fortitoken", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "fortitoken"}, {"value": "email"}, {"value": "sms"}], }, "two_factor_notification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "fortitoken": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "email_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "email"}, {"value": "sms"}], }, + "fortitoken": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "email_to": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sms_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "fortiguard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sms_custom_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sms_phone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "fortiguard"}, {"value": "custom"}], }, + "sms_custom_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sms_phone": {"v_range": [["v6.0.0", ""]], "type": "string"}, "guest_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "guest_usergroups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "guest_lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "guest_lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, "radius_vdom_override": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dashboard": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", "required": True, }, "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vdom": { - "revisions": { - "v6.2.3": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, + "vdom": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, "layout_type": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "responsive", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fixed", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "responsive"}, {"value": "fixed"}], }, "permanent": { - "revisions": { - "v6.2.3": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v6.2.3": True}}, - {"value": "enable", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "columns": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "widget": { @@ -3502,414 +1174,109 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - { - "value": "sysinfo", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "licinfo", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "forticloud", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cpu-usage", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "memory-usage", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disk-usage", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log-rate", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sessions", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "session-rate", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tr-history", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "analytics", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usb-modem", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "admins", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "security-fabric", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "security-fabric-ranking", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sensor-info", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-status", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vulnerability-summary", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "host-scan-summary", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiview", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "botnet-activity", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sysinfo"}, + {"value": "licinfo"}, + {"value": "forticloud"}, + {"value": "cpu-usage"}, + {"value": "memory-usage"}, + {"value": "disk-usage"}, + {"value": "log-rate"}, + {"value": "sessions"}, + {"value": "session-rate"}, + {"value": "tr-history"}, + {"value": "analytics"}, + {"value": "usb-modem"}, + {"value": "admins"}, + {"value": "security-fabric"}, + {"value": "security-fabric-ranking"}, + {"value": "sensor-info"}, + {"value": "ha-status"}, + {"value": "vulnerability-summary"}, + {"value": "host-scan-summary"}, + {"value": "fortiview"}, + {"value": "botnet-activity"}, { "value": "fabric-device", - "revisions": { - "v6.2.3": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], }, { "value": "fortimail", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], }, ], }, "x_pos": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "y_pos": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "width": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "height": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "interface": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "region": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "custom"}], }, "industry": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "custom"}], }, "fabric_device": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "fabric_device_widget_name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fabric_device_widget_visualization_type": { - "revisions": { - "v6.2.3": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "title": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_type": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_sort_by": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_timeframe": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_visualization": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_device": { - "revisions": { - "v6.2.3": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_filters": { @@ -3917,98 +1284,47 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ], "type": "integer", "required": True, }, "key": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ], "type": "string", }, "value": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ], "type": "string", }, }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "scope": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "history0": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "history1": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "login_time": { @@ -4016,137 +1332,60 @@ versioned_schema = { "elements": "dict", "children": { "usr_name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, "last_login": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "last_failed_login": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "gui_global_menu_favorites": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "gui_vdom_menu_favorites": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "gui_new_feature_acknowledge": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "hidden": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", + "v_range": [["v6.2.3", "v6.2.3"]], }, + "hidden": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -4181,6 +1420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_interrupt.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_interrupt.py index 736b96ba5..8513a3a40 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_interrupt.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_interrupt.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,11 +92,11 @@ options: suboptions: affinity_cpumask: description: - - Affinity setting for VM throughput (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx). + - Affinity setting (64-bit hexadecimal value in the format of 0xxxxxxxxxxxxxxxxx). type: str id: description: - - ID of the interrupt affinity setting. + - ID of the interrupt affinity setting. see Notes. required: true type: int interrupt: @@ -104,26 +106,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure interrupt affinity. - fortios_system_affinity_interrupt: - vdom: "{{ vdom }}" +- name: Configure interrupt affinity. + fortinet.fortios.fortios_system_affinity_interrupt: + vdom: "{{ vdom }}" state: "present" access_token: "" system_affinity_interrupt: - affinity_cpumask: "" - id: "4" - interrupt: "" - + affinity_cpumask: "" + id: "4" + interrupt: "" """ RETURN = """ @@ -182,7 +173,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -266,7 +256,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "affinity-interrupt") if data["system_affinity_interrupt"]: resp = system_affinity_interrupt(data, fos) @@ -289,72 +278,20 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "integer", "required": True, }, "interrupt": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, "affinity_cpumask": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], } @@ -391,6 +328,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_packet_redistribution.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_packet_redistribution.py index 8e6f36029..449b38e3e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_packet_redistribution.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_affinity_packet_redistribution.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +96,7 @@ options: type: str id: description: - - ID of the packet redistribution setting. + - ID of the packet redistribution setting. see Notes. required: true type: int interface: @@ -115,28 +117,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure packet redistribution. - fortios_system_affinity_packet_redistribution: - vdom: "{{ vdom }}" +- name: Configure packet redistribution. + fortinet.fortios.fortios_system_affinity_packet_redistribution: + vdom: "{{ vdom }}" state: "present" access_token: "" system_affinity_packet_redistribution: - affinity_cpumask: "" - id: "4" - interface: " (source system.interface.name)" - round_robin: "enable" - rxqid: "0" - + affinity_cpumask: "" + id: "4" + interface: " (source system.interface.name)" + round_robin: "enable" + rxqid: "0" """ RETURN = """ @@ -195,7 +186,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -288,7 +278,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "affinity-packet-redistribution") if data["system_affinity_packet_redistribution"]: resp = system_affinity_packet_redistribution(data, fos) @@ -311,110 +300,29 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "integer", "required": True, }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, "rxqid": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "integer", }, "round_robin": { - "revisions": { - "v7.4.0": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "affinity_cpumask": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.2"], ["v7.4.0", ""]], } @@ -451,6 +359,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alarm.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alarm.py index 14d74d2d3..95dec2dcb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alarm.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alarm.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,7 +133,7 @@ options: type: int id: description: - - Firewall policy violations ID. + - Firewall policy violations ID. see Notes. required: true type: int src_ip: @@ -150,7 +150,7 @@ options: type: int id: description: - - Group ID. + - Group ID. see Notes. required: true type: int log_full_warning_threshold: @@ -187,46 +187,35 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure alarm. - fortios_system_alarm: - vdom: "{{ vdom }}" +- name: Configure alarm. + fortinet.fortios.fortios_system_alarm: + vdom: "{{ vdom }}" system_alarm: - audible: "enable" - groups: - - - admin_auth_failure_threshold: "0" - admin_auth_lockout_threshold: "0" - decryption_failure_threshold: "0" - encryption_failure_threshold: "0" - fw_policy_id: "0" - fw_policy_id_threshold: "0" - fw_policy_violations: - - - dst_ip: "" - dst_port: "0" - id: "14" - src_ip: "" - src_port: "0" - threshold: "0" - id: "18" - log_full_warning_threshold: "0" - period: "0" - replay_attempt_threshold: "0" - self_test_failure_threshold: "0" - user_auth_failure_threshold: "0" - user_auth_lockout_threshold: "0" - status: "enable" - + audible: "enable" + groups: + - + admin_auth_failure_threshold: "0" + admin_auth_lockout_threshold: "0" + decryption_failure_threshold: "0" + encryption_failure_threshold: "0" + fw_policy_id: "0" + fw_policy_id_threshold: "0" + fw_policy_violations: + - + dst_ip: "" + dst_port: "0" + id: "14" + src_ip: "" + src_port: "0" + threshold: "0" + id: "18" + log_full_warning_threshold: "0" + period: "0" + replay_attempt_threshold: "0" + self_test_failure_threshold: "0" + user_auth_failure_threshold: "0" + user_auth_lockout_threshold: "0" + status: "enable" """ RETURN = """ @@ -285,7 +274,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -356,7 +344,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "alarm") if data["system_alarm"]: resp = system_alarm(data, fos) @@ -373,534 +360,63 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "audible": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "groups": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "admin_auth_failure_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "admin_auth_lockout_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "user_auth_failure_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "user_auth_lockout_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "replay_attempt_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "self_test_failure_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "log_full_warning_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "encryption_failure_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "decryption_failure_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "fw_policy_violations": { @@ -908,293 +424,25 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "src_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dst_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "fw_policy_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "src_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dst_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "fw_policy_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fw_policy_id_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -1230,6 +478,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alias.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alias.py index b00806e16..1c9625ea3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alias.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_alias.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure alias command. - fortios_system_alias: - vdom: "{{ vdom }}" +- name: Configure alias command. + fortinet.fortios.fortios_system_alias: + vdom: "{{ vdom }}" state: "present" access_token: "" system_alias: - command: "" - name: "default_name_4" - + command: "" + name: "default_name_4" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_alias_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def system_alias(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -268,11 +258,16 @@ def system_alias(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -320,13 +315,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "alias") if data["system_alias"]: resp = system_alias(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_alias")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -341,92 +335,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "command": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "command": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -461,6 +373,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_api_user.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_api_user.py index dbf59471a..35ed7120d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_api_user.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_api_user.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -132,7 +132,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int ipv4_trusthost: @@ -164,40 +164,29 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure API users. - fortios_system_api_user: - vdom: "{{ vdom }}" +- name: Configure API users. + fortinet.fortios.fortios_system_api_user: + vdom: "{{ vdom }}" state: "present" access_token: "" system_api_user: - accprofile: " (source system.accprofile.name)" - api_key: "" - comments: "" - cors_allow_origin: "" - name: "default_name_7" - peer_auth: "enable" - peer_group: "" - schedule: "" - trusthost: - - - id: "12" - ipv4_trusthost: "myhostname" - ipv6_trusthost: "myhostname" - type: "ipv4-trusthost" - vdom: - - - name: "default_name_17 (source system.vdom.name)" - + accprofile: " (source system.accprofile.name)" + api_key: "" + comments: "" + cors_allow_origin: "" + name: "default_name_7" + peer_auth: "enable" + peer_group: "" + schedule: "" + trusthost: + - + id: "12" + ipv4_trusthost: "myhostname" + ipv6_trusthost: "myhostname" + type: "ipv4-trusthost" + vdom: + - + name: "default_name_17 (source system.vdom.name)" """ RETURN = """ @@ -256,7 +245,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -284,6 +272,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_api_user_data(json): @@ -324,7 +315,6 @@ def underscore_to_hyphen(data): def system_api_user(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -360,11 +350,16 @@ def system_api_user(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -412,13 +407,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "api-user") if data["system_api_user"]: resp = system_api_user(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_api_user")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -433,597 +427,54 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "api_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "accprofile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "api_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "accprofile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vdom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cors_allow_origin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "schedule": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cors_allow_origin": {"v_range": [["v6.0.0", ""]], "type": "string"}, "peer_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "peer_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "peer_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "trusthost": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ipv4-trusthost", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6-trusthost", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ipv4-trusthost"}, + {"value": "ipv6-trusthost"}, ], }, - "ipv4_trusthost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_trusthost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ipv4_trusthost": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_trusthost": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1058,6 +509,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_arp_table.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_arp_table.py index c9a6588d5..6bea2102d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_arp_table.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_arp_table.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Unique integer ID of the entry. + - Unique integer ID of the entry. see Notes. required: true type: int interface: @@ -108,27 +110,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure ARP table. - fortios_system_arp_table: - vdom: "{{ vdom }}" +- name: Configure ARP table. + fortinet.fortios.fortios_system_arp_table: + vdom: "{{ vdom }}" state: "present" access_token: "" system_arp_table: - id: "3" - interface: " (source system.interface.name)" - ip: "" - mac: "" - + id: "3" + interface: " (source system.interface.name)" + ip: "" + mac: "" """ RETURN = """ @@ -187,7 +178,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +205,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_arp_table_data(json): @@ -244,7 +237,6 @@ def underscore_to_hyphen(data): def system_arp_table(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -280,11 +272,16 @@ def system_arp_table(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,13 +329,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "arp-table") if data["system_arp_table"]: resp = system_arp_table(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_arp_table")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -353,150 +349,12 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mac": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -531,6 +389,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_install.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_install.py index d2d375c5e..47a086983 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_install.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_install.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -105,25 +105,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure USB auto installation. - fortios_system_auto_install: - vdom: "{{ vdom }}" +- name: Configure USB auto installation. + fortinet.fortios.fortios_system_auto_install: + vdom: "{{ vdom }}" system_auto_install: - auto_install_config: "enable" - auto_install_image: "enable" - default_config_file: "" - default_image_file: "" - + auto_install_config: "enable" + auto_install_image: "enable" + default_config_file: "" + default_image_file: "" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -260,7 +248,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "auto-install") if data["system_auto_install"]: resp = system_auto_install(data, fos) @@ -277,270 +264,21 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "auto_install_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_install_image": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "default_config_file": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "default_image_file": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "default_config_file": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "default_image_file": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -575,6 +313,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_script.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_script.py index 9af7a3998..cca20c843 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_script.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_auto_script.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,30 +123,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure auto script. - fortios_system_auto_script: - vdom: "{{ vdom }}" +- name: Configure auto script. + fortinet.fortios.fortios_system_auto_script: + vdom: "{{ vdom }}" state: "present" access_token: "" system_auto_script: - interval: "0" - name: "default_name_4" - output_size: "10" - repeat: "1" - script: "" - start: "manual" - timeout: "0" - + interval: "0" + name: "default_name_4" + output_size: "10" + repeat: "1" + script: "" + start: "manual" + timeout: "0" """ RETURN = """ @@ -205,7 +194,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -233,6 +221,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_auto_script_data(json): @@ -270,7 +261,6 @@ def underscore_to_hyphen(data): def system_auto_script(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -306,11 +296,16 @@ def system_auto_script(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -360,13 +355,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "auto-script") if data["system_auto_script"]: resp = system_auto_script(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_auto_script")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -381,297 +375,19 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "repeat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "repeat": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "start": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "script": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "manual"}, {"value": "auto"}], }, - "output_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "script": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "output_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "timeout": {"v_range": [["v6.4.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -706,6 +422,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_action.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_action.py index fb9f318b4..6f1e61dd4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_action.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_action.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -291,7 +291,7 @@ options: suboptions: id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int key: @@ -410,89 +410,78 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Action for automation stitches. - fortios_system_automation_action: - vdom: "{{ vdom }}" +- name: Action for automation stitches. + fortinet.fortios.fortios_system_automation_action: + vdom: "{{ vdom }}" state: "present" access_token: "" system_automation_action: - accprofile: " (source system.accprofile.name)" - action_type: "email" - alicloud_access_key_id: "" - alicloud_access_key_secret: "" - alicloud_account_id: "" - alicloud_function: "" - alicloud_function_authorization: "anonymous" - alicloud_function_domain: "" - alicloud_region: "" - alicloud_service: "" - alicloud_version: "" - aws_api_id: "" - aws_api_key: "" - aws_api_path: "" - aws_api_stage: "" - aws_domain: "" - aws_region: "" - azure_api_key: "" - azure_app: "" - azure_domain: "" - azure_function: "" - azure_function_authorization: "anonymous" - delay: "0" - description: "" - email_body: "" - email_from: "" - email_subject: "" - email_to: - - - name: "default_name_31" - execute_security_fabric: "enable" - forticare_email: "enable" - fos_message: "" - gcp_function: "" - gcp_function_domain: "" - gcp_function_region: "" - gcp_project: "" - headers: - - - header: "" - http_body: "" - http_headers: - - - id: "43" - key: "" - value: "" - message_type: "text" - method: "post" - minimum_interval: "0" - name: "default_name_49" - output_size: "10" - port: "0" - protocol: "http" - replacement_message: "enable" - replacemsg_group: " (source system.replacemsg-group.name)" - required: "enable" - script: "" - sdn_connector: - - - name: "default_name_58 (source system.sdn-connector.name)" - security_tag: "" - system_action: "reboot" - timeout: "0" - tls_certificate: " (source certificate.local.name)" - uri: "" - verify_host_cert: "enable" - + accprofile: " (source system.accprofile.name)" + action_type: "email" + alicloud_access_key_id: "" + alicloud_access_key_secret: "" + alicloud_account_id: "" + alicloud_function: "" + alicloud_function_authorization: "anonymous" + alicloud_function_domain: "" + alicloud_region: "" + alicloud_service: "" + alicloud_version: "" + aws_api_id: "" + aws_api_key: "" + aws_api_path: "" + aws_api_stage: "" + aws_domain: "" + aws_region: "" + azure_api_key: "" + azure_app: "" + azure_domain: "" + azure_function: "" + azure_function_authorization: "anonymous" + delay: "0" + description: "" + email_body: "" + email_from: "" + email_subject: "" + email_to: + - + name: "default_name_31" + execute_security_fabric: "enable" + forticare_email: "enable" + fos_message: "" + gcp_function: "" + gcp_function_domain: "" + gcp_function_region: "" + gcp_project: "" + headers: + - + header: "" + http_body: "" + http_headers: + - + id: "43" + key: "" + value: "" + message_type: "text" + method: "post" + minimum_interval: "0" + name: "default_name_49" + output_size: "10" + port: "0" + protocol: "http" + replacement_message: "enable" + replacemsg_group: " (source system.replacemsg-group.name)" + required: "enable" + script: "" + sdn_connector: + - + name: "default_name_58 (source system.sdn-connector.name)" + security_tag: "" + system_action: "reboot" + timeout: "0" + tls_certificate: " (source certificate.local.name)" + uri: "" + verify_host_cert: "enable" """ RETURN = """ @@ -551,7 +540,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -579,6 +567,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_automation_action_data(json): @@ -688,7 +679,6 @@ def valid_attr_to_invalid_attrs(data): def system_automation_action(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -725,11 +715,16 @@ def system_automation_action(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -779,7 +774,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "automation-action") if data["system_automation_action"]: resp = system_automation_action(data, fos, check_mode) @@ -787,7 +781,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_automation_action") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -802,2591 +796,204 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v7.0.0", ""]], "type": "string"}, "action_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiexplorer-notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "system-actions", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "quarantine", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine-forticlient", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "quarantine-nsx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "email"}, + {"value": "fortiexplorer-notification", "v_range": [["v7.0.0", ""]]}, + {"value": "alert"}, + {"value": "disable-ssid"}, + {"value": "system-actions", "v_range": [["v7.2.1", ""]]}, + {"value": "quarantine"}, + {"value": "quarantine-forticlient"}, + {"value": "quarantine-nsx", "v_range": [["v6.2.0", ""]]}, { "value": "quarantine-fortinac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ban-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aws-lambda", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "azure-function", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "google-cloud-function", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "alicloud-function", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "webhook", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cli-script", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "slack-notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "microsoft-teams-notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ios-notification", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, + {"value": "ban-ip"}, + {"value": "aws-lambda"}, + {"value": "azure-function", "v_range": [["v6.2.0", ""]]}, + {"value": "google-cloud-function", "v_range": [["v6.2.0", ""]]}, + {"value": "alicloud-function", "v_range": [["v6.2.0", ""]]}, + {"value": "webhook"}, + {"value": "cli-script", "v_range": [["v6.2.0", ""]]}, + {"value": "slack-notification", "v_range": [["v6.4.0", ""]]}, + {"value": "microsoft-teams-notification", "v_range": [["v7.0.0", ""]]}, + {"value": "ios-notification", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "system_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "reboot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "shutdown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "backup-config", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "reboot"}, + {"value": "shutdown"}, + {"value": "backup-config"}, ], }, - "tls_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "tls_certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, "forticare_email": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "email_to": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "email_from": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "email_subject": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "minimum_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "aws_api_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "email_from": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "email_subject": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "minimum_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "aws_api_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "azure_function_authorization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "anonymous", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "function", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "admin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "anonymous"}, + {"value": "function"}, + {"value": "admin"}, ], }, - "azure_api_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "azure_api_key": {"v_range": [["v6.2.0", ""]], "type": "string"}, "alicloud_function_authorization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "anonymous", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "function", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "alicloud_access_key_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "alicloud_access_key_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "anonymous"}, {"value": "function"}], }, + "alicloud_access_key_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "alicloud_access_key_secret": {"v_range": [["v6.2.0", ""]], "type": "string"}, "message_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "json", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "text"}, {"value": "json"}], }, "replacement_message": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "replacemsg_group": {"v_range": [["v7.0.0", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "http"}, {"value": "https"}], }, "method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "put", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "patch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "delete", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "post"}, + {"value": "put"}, + {"value": "get"}, + {"value": "patch", "v_range": [["v6.2.0", ""]]}, + {"value": "delete", "v_range": [["v6.2.0", ""]]}, ], }, - "uri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_body": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "uri": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_body": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "http_headers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "integer", "required": True, }, "key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], }, "verify_host_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "script": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "output_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "script": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "output_size": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "timeout": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "execute_security_fabric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "accprofile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "security_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "accprofile": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "security_tag": {"v_range": [["v6.2.0", ""]], "type": "string"}, "sdn_connector": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "headers": { "type": "list", "elements": "dict", "children": { "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "delay": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, + "delay": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "required": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "aws_api_id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "aws_region": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "aws_domain": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "aws_api_stage": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "aws_api_path": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "azure_app": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "azure_function": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "azure_domain": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "gcp_function_region": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "gcp_project": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "gcp_function_domain": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "gcp_function": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "alicloud_account_id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "alicloud_region": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "aws_api_id": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "aws_region": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "aws_domain": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "aws_api_stage": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "aws_api_path": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "azure_app": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "azure_function": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "azure_domain": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "gcp_function_region": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "gcp_project": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "gcp_function_domain": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "gcp_function": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "alicloud_account_id": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "alicloud_region": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, "alicloud_function_domain": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "alicloud_version": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "alicloud_service": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", }, - "alicloud_function": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "email_body": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "fos_message": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "alicloud_version": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "alicloud_service": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "alicloud_function": {"v_range": [["v6.2.0", "v6.4.4"]], "type": "string"}, + "email_body": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "fos_message": {"v_range": [["v6.4.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -3423,6 +1030,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_destination.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_destination.py index 702ad2f3d..5520e0609 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_destination.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_destination.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -118,29 +118,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Automation destinations. - fortios_system_automation_destination: - vdom: "{{ vdom }}" +- name: Automation destinations. + fortinet.fortios.fortios_system_automation_destination: + vdom: "{{ vdom }}" state: "present" access_token: "" system_automation_destination: - destination: - - - name: "default_name_4" - ha_group_id: "0" - name: "default_name_6" - type: "fortigate" - + destination: + - + name: "default_name_4" + ha_group_id: "0" + name: "default_name_6" + type: "fortigate" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -227,6 +215,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_automation_destination_data(json): @@ -256,7 +247,6 @@ def underscore_to_hyphen(data): def system_automation_destination(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -294,11 +284,16 @@ def system_automation_destination(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -350,7 +345,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "automation-destination") if data["system_automation_destination"]: resp = system_automation_destination(data, fos, check_mode) @@ -358,7 +352,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_automation_destination") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -373,243 +367,27 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-cluster", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "fortigate"}, {"value": "ha-cluster"}], }, "destination": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ha_group_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "ha_group_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -646,6 +424,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_stitch.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_stitch.py index e3e2f28a9..60f1f7f89 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_stitch.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_stitch.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,7 +115,7 @@ options: type: int id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int required: @@ -159,39 +159,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Automation stitches. - fortios_system_automation_stitch: - vdom: "{{ vdom }}" +- name: Automation stitches. + fortinet.fortios.fortios_system_automation_stitch: + vdom: "{{ vdom }}" state: "present" access_token: "" system_automation_stitch: - action: - - - name: "default_name_4 (source system.automation-action.name)" - actions: - - - action: " (source system.automation-action.name)" - delay: "0" - id: "8" - required: "enable" - description: "" - destination: - - - name: "default_name_12 (source system.automation-destination.name)" - name: "default_name_13" - status: "enable" - trigger: " (source system.automation-trigger.name)" - + action: + - + name: "default_name_4 (source system.automation-action.name)" + actions: + - + action: " (source system.automation-action.name)" + delay: "0" + id: "8" + required: "enable" + description: "" + destination: + - + name: "default_name_12 (source system.automation-destination.name)" + name: "default_name_13" + status: "enable" + trigger: " (source system.automation-trigger.name)" """ RETURN = """ @@ -250,7 +239,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,6 +266,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_automation_stitch_data(json): @@ -315,7 +306,6 @@ def underscore_to_hyphen(data): def system_automation_stitch(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -351,11 +341,16 @@ def system_automation_stitch(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -405,7 +400,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "automation-stitch") if data["system_automation_stitch"]: resp = system_automation_stitch(data, fos, check_mode) @@ -413,7 +407,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_automation_stitch") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -428,451 +422,59 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v7.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "trigger": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "trigger": {"v_range": [["v6.0.0", ""]], "type": "string"}, "actions": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, - "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - "delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, + "action": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "delay": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "required": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], }, "destination": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "action": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -909,6 +511,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_trigger.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_trigger.py index 55be7cc09..123cca8cf 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_trigger.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_automation_trigger.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -145,7 +145,7 @@ options: suboptions: id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -184,7 +184,7 @@ options: suboptions: id: description: - - Log ID. + - Log ID. see Notes. required: true type: int name: @@ -267,53 +267,42 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Trigger for automation stitches. - fortios_system_automation_trigger: - vdom: "{{ vdom }}" +- name: Trigger for automation stitches. + fortinet.fortios.fortios_system_automation_trigger: + vdom: "{{ vdom }}" state: "present" access_token: "" system_automation_trigger: - description: "" - event_type: "ioc" - fabric_event_name: "" - fabric_event_severity: "" - faz_event_name: "" - faz_event_severity: "" - faz_event_tags: "" - fields: - - - id: "11" - name: "default_name_12" - value: "" - ioc_level: "medium" - license_type: "forticare-support" - logid: - - - id: "17" - name: "default_name_18" - report_type: "posture" - serial: "" - trigger_datetime: "" - trigger_day: "1" - trigger_frequency: "hourly" - trigger_hour: "0" - trigger_minute: "0" - trigger_type: "event-based" - trigger_weekday: "sunday" - vdom: - - - name: "default_name_29 (source system.vdom.name)" - + description: "" + event_type: "ioc" + fabric_event_name: "" + fabric_event_severity: "" + faz_event_name: "" + faz_event_severity: "" + faz_event_tags: "" + fields: + - + id: "11" + name: "default_name_12" + value: "" + ioc_level: "medium" + license_type: "forticare-support" + logid: + - + id: "17" + name: "default_name_18" + report_type: "posture" + serial: "" + trigger_datetime: "" + trigger_day: "1" + trigger_frequency: "hourly" + trigger_hour: "0" + trigger_minute: "0" + trigger_type: "event-based" + trigger_weekday: "sunday" + vdom: + - + name: "default_name_29 (source system.vdom.name)" """ RETURN = """ @@ -372,7 +361,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -400,6 +388,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_automation_trigger_data(json): @@ -452,7 +443,6 @@ def underscore_to_hyphen(data): def system_automation_trigger(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -488,11 +478,16 @@ def system_automation_trigger(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -542,7 +537,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "automation-trigger") if data["system_automation_trigger"]: resp = system_automation_trigger(data, fos, check_mode) @@ -550,7 +544,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_automation_trigger") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -565,763 +559,37 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v7.0.0", ""]], "type": "string"}, "trigger_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "event-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scheduled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "event-based"}, {"value": "scheduled"}], }, "event_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ioc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "event-log", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reboot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low-memory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high-cpu", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "license-near-expiry", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local-cert-near-expiry", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ha-failover", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "config-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "security-rating-summary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "virus-ips-db-updated", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "faz-event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "incoming-webhook", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "fabric-event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ips-logs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "anomaly-logs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "virus-logs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ssh-logs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "webfilter-violation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "traffic-violation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ioc"}, + {"value": "event-log"}, + {"value": "reboot"}, + {"value": "low-memory"}, + {"value": "high-cpu"}, + {"value": "license-near-expiry"}, + {"value": "local-cert-near-expiry", "v_range": [["v7.2.1", ""]]}, + {"value": "ha-failover"}, + {"value": "config-change"}, + {"value": "security-rating-summary"}, + {"value": "virus-ips-db-updated"}, + {"value": "faz-event", "v_range": [["v6.2.0", ""]]}, + {"value": "incoming-webhook", "v_range": [["v6.4.0", ""]]}, + {"value": "fabric-event", "v_range": [["v7.0.0", ""]]}, + {"value": "ips-logs", "v_range": [["v7.2.0", ""]]}, + {"value": "anomaly-logs", "v_range": [["v7.2.0", ""]]}, + {"value": "virus-logs", "v_range": [["v7.2.0", ""]]}, + {"value": "ssh-logs", "v_range": [["v7.2.0", ""]]}, + {"value": "webfilter-violation", "v_range": [["v7.2.0", ""]]}, + {"value": "traffic-violation", "v_range": [["v7.2.0", ""]]}, ], }, "vdom": { @@ -1329,1419 +597,103 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "license_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "forticare-support", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard-webfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard-antispam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard-antivirus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard-ips", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard-management", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "forticloud", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "forticare-support"}, + {"value": "fortiguard-webfilter"}, + {"value": "fortiguard-antispam"}, + {"value": "fortiguard-antivirus"}, + {"value": "fortiguard-ips"}, + {"value": "fortiguard-management"}, + {"value": "forticloud"}, + {"value": "any", "v_range": [["v6.4.0", ""]]}, ], }, "report_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "posture", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "coverage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "optimization", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "PostureReport", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "CoverageReport", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "OptimizationReport", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, + {"value": "posture", "v_range": [["v7.0.0", ""]]}, + {"value": "coverage", "v_range": [["v7.0.0", ""]]}, + {"value": "optimization", "v_range": [["v7.0.0", ""]]}, + {"value": "any", "v_range": [["v7.0.0", ""]]}, + {"value": "PostureReport", "v_range": [["v6.4.0", "v6.4.4"]]}, + {"value": "CoverageReport", "v_range": [["v6.4.0", "v6.4.4"]]}, + {"value": "OptimizationReport", "v_range": [["v6.4.0", "v6.4.4"]]}, ], }, "logid": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v7.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "trigger_frequency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "hourly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "once", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "hourly"}, + {"value": "daily"}, + {"value": "weekly"}, + {"value": "monthly"}, + {"value": "once", "v_range": [["v7.2.1", ""]]}, ], }, "trigger_weekday": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], }, - "trigger_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trigger_hour": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trigger_minute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trigger_datetime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "trigger_day": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trigger_hour": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trigger_minute": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trigger_datetime": {"v_range": [["v7.2.1", ""]], "type": "string"}, "fields": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "value": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, - "faz_event_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "faz_event_severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "faz_event_tags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "serial": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "fabric_event_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "fabric_event_severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "faz_event_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "faz_event_severity": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "faz_event_tags": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "serial": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "fabric_event_name": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "fabric_event_severity": {"v_range": [["v7.0.0", ""]], "type": "string"}, "ioc_level": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.7"], ["v7.2.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "medium", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "medium"}, {"value": "high"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2778,6 +730,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_push_update.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_push_update.py index 86b4d839d..5f83d51da 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_push_update.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_push_update.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -105,25 +105,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure push updates. - fortios_system_autoupdate_push_update: - vdom: "{{ vdom }}" +- name: Configure push updates. + fortinet.fortios.fortios_system_autoupdate_push_update: + vdom: "{{ vdom }}" system_autoupdate_push_update: - address: "" - override: "enable" - port: "32767" - status: "enable" - + address: "" + override: "enable" + port: "32767" + status: "enable" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -255,7 +243,6 @@ def is_successful_status(resp): def fortios_system_autoupdate(data, fos): - fos.do_member_operation("system.autoupdate", "push-update") if data["system_autoupdate_push_update"]: resp = system_autoupdate_push_update(data, fos) @@ -274,144 +261,21 @@ def fortios_system_autoupdate(data, fos): versioned_schema = { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "dict", "children": { "status": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "override": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "address": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "address": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "port": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, }, } @@ -448,6 +312,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_schedule.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_schedule.py index 41a14d3c5..f6a5b3d76 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_schedule.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_schedule.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,25 +115,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure update schedule. - fortios_system_autoupdate_schedule: - vdom: "{{ vdom }}" +- name: Configure update schedule. + fortinet.fortios.fortios_system_autoupdate_schedule: + vdom: "{{ vdom }}" system_autoupdate_schedule: - day: "Sunday" - frequency: "every" - status: "enable" - time: "" - + day: "Sunday" + frequency: "every" + status: "enable" + time: "" """ RETURN = """ @@ -192,7 +181,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -265,7 +253,6 @@ def is_successful_status(resp): def fortios_system_autoupdate(data, fos): - fos.do_member_operation("system.autoupdate", "schedule") if data["system_autoupdate_schedule"]: resp = system_autoupdate_schedule(data, fos) @@ -284,531 +271,36 @@ def fortios_system_autoupdate(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "frequency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "every", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "automatic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "every"}, + {"value": "daily"}, + {"value": "weekly"}, + {"value": "automatic", "v_range": [["v7.0.0", ""]]}, ], }, - "time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "Sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "Sunday"}, + {"value": "Monday"}, + {"value": "Tuesday"}, + {"value": "Wednesday"}, + {"value": "Thursday"}, + {"value": "Friday"}, + {"value": "Saturday"}, ], }, }, @@ -847,6 +339,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_tunneling.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_tunneling.py index a8a14aa70..fcfa5218b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_tunneling.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_autoupdate_tunneling.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -106,26 +106,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure web proxy tunneling for the FDN. - fortios_system_autoupdate_tunneling: - vdom: "{{ vdom }}" +- name: Configure web proxy tunneling for the FDN. + fortinet.fortios.fortios_system_autoupdate_tunneling: + vdom: "{{ vdom }}" system_autoupdate_tunneling: - address: "" - password: "" - port: "0" - status: "enable" - username: "" - + address: "" + password: "" + port: "0" + status: "enable" + username: "" """ RETURN = """ @@ -184,7 +173,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -257,7 +245,6 @@ def is_successful_status(resp): def fortios_system_autoupdate(data, fos): - fos.do_member_operation("system.autoupdate", "tunneling") if data["system_autoupdate_tunneling"]: resp = system_autoupdate_tunneling(data, fos) @@ -276,239 +263,18 @@ def fortios_system_autoupdate(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -545,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_central_management.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_central_management.py index 12ce8b68b..4ee9a808f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_central_management.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_central_management.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -212,7 +212,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int server_address: @@ -248,50 +248,39 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure central management. - fortios_system_central_management: - vdom: "{{ vdom }}" +- name: Configure central management. + fortinet.fortios.fortios_system_central_management: + vdom: "{{ vdom }}" system_central_management: - allow_monitor: "enable" - allow_push_configuration: "enable" - allow_push_firmware: "enable" - allow_remote_firmware_upgrade: "enable" - ca_cert: "" - enc_algorithm: "default" - fmg: "" - fmg_source_ip: "" - fmg_source_ip6: "" - fmg_update_port: "8890" - fortigate_cloud_sso_default_profile: " (source system.accprofile.name)" - include_default_servers: "enable" - interface: " (source system.interface.name)" - interface_select_method: "auto" - local_cert: "" - mode: "normal" - schedule_config_restore: "enable" - schedule_script_restore: "enable" - serial_number: "" - server_list: - - - addr_type: "ipv4" - fqdn: "" - id: "25" - server_address: "" - server_address6: "" - server_type: "update" - type: "fortimanager" - vdom: " (source system.vdom.name)" - + allow_monitor: "enable" + allow_push_configuration: "enable" + allow_push_firmware: "enable" + allow_remote_firmware_upgrade: "enable" + ca_cert: "" + enc_algorithm: "default" + fmg: "" + fmg_source_ip: "" + fmg_source_ip6: "" + fmg_update_port: "8890" + fortigate_cloud_sso_default_profile: " (source system.accprofile.name)" + include_default_servers: "enable" + interface: " (source system.interface.name)" + interface_select_method: "auto" + local_cert: "" + mode: "normal" + schedule_config_restore: "enable" + schedule_script_restore: "enable" + serial_number: "" + server_list: + - + addr_type: "ipv4" + fqdn: "" + id: "25" + server_address: "" + server_address6: "" + server_type: "update" + type: "fortimanager" + vdom: " (source system.vdom.name)" """ RETURN = """ @@ -350,7 +339,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -478,7 +466,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "central-management") if data["system_central_management"]: resp = system_central_management(data, fos) @@ -497,1846 +484,125 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "normal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "backup", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "normal"}, {"value": "backup"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "fortimanager", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "fortimanager"}, + {"value": "fortiguard"}, + {"value": "none"}, ], }, "fortigate_cloud_sso_default_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", }, "schedule_config_restore": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "schedule_script_restore": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_push_configuration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_push_firmware": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_remote_firmware_upgrade": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_monitor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "serial_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fmg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fmg_source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fmg_source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "serial_number": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fmg": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fmg_source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fmg_source_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "local_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", }, + "ca_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "update", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rating", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iot-query", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "iot-collect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "update"}, + {"value": "rating"}, + {"value": "iot-query", "v_range": [["v7.2.1", ""]]}, + {"value": "iot-collect", "v_range": [["v7.2.1", ""]]}, ], "multiple_values": True, "elements": "str", }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ipv4"}, + {"value": "ipv6"}, + {"value": "fqdn"}, ], }, - "server_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server_address6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "server_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server_address6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "fmg_update_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "8890", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "443", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "8890"}, {"value": "443"}], }, "include_default_servers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "high"}, {"value": "low"}], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, }, @@ -2375,6 +641,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_cluster_sync.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_cluster_sync.py index d11c2f956..e07446961 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_cluster_sync.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_cluster_sync.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the sync_id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -167,7 +169,7 @@ options: type: str id: description: - - Custom service ID. + - Custom service ID. see Notes. required: true type: int src_port_range: @@ -207,7 +209,7 @@ options: - 'disable' sync_id: description: - - Sync ID. + - Sync ID. see Notes. required: true type: int syncvd: @@ -224,53 +226,42 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGate Session Life Support Protocol (FGSP) session synchronization. - fortios_system_cluster_sync: - vdom: "{{ vdom }}" +- name: Configure FortiGate Session Life Support Protocol (FGSP) session synchronization. + fortinet.fortios.fortios_system_cluster_sync: + vdom: "{{ vdom }}" state: "present" access_token: "" system_cluster_sync: - down_intfs_before_sess_sync: - - - name: "default_name_4 (source system.interface.name)" - hb_interval: "2" - hb_lost_threshold: "3" - ike_heartbeat_interval: "3" - ike_monitor: "enable" - ike_monitor_interval: "15" - ike_seqjump_speed: "10" - ipsec_tunnel_sync: "enable" - peerip: "" - peervd: " (source system.vdom.name)" - secondary_add_ipsec_routes: "enable" - session_sync_filter: - custom_service: - - - dst_port_range: "" - id: "18" - src_port_range: "" - dstaddr: "" - dstaddr6: "" - dstintf: " (source system.interface.name)" - srcaddr: "" - srcaddr6: "" - srcintf: " (source system.interface.name)" - slave_add_ike_routes: "enable" - sync_id: "0" - syncvd: - - - name: "default_name_29 (source system.vdom.name)" - + down_intfs_before_sess_sync: + - + name: "default_name_4 (source system.interface.name)" + hb_interval: "2" + hb_lost_threshold: "3" + ike_heartbeat_interval: "3" + ike_monitor: "enable" + ike_monitor_interval: "15" + ike_seqjump_speed: "10" + ipsec_tunnel_sync: "enable" + peerip: "" + peervd: " (source system.vdom.name)" + secondary_add_ipsec_routes: "enable" + session_sync_filter: + custom_service: + - + dst_port_range: "" + id: "18" + src_port_range: "" + dstaddr: "" + dstaddr6: "" + dstintf: " (source system.interface.name)" + srcaddr: "" + srcaddr6: "" + srcintf: " (source system.interface.name)" + slave_add_ike_routes: "enable" + sync_id: "" + syncvd: + - + name: "default_name_29 (source system.vdom.name)" """ RETURN = """ @@ -329,7 +320,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -357,6 +347,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_cluster_sync_data(json): @@ -402,7 +395,6 @@ def underscore_to_hyphen(data): def system_cluster_sync(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -438,11 +430,16 @@ def system_cluster_sync(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -492,13 +489,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "cluster-sync") if data["system_cluster_sync"]: resp = system_cluster_sync(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_cluster_sync")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -514,840 +510,101 @@ versioned_schema = { "elements": "dict", "children": { "sync_id": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "integer", "required": True, }, - "peervd": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "peerip": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "peervd": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, + "peerip": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, "syncvd": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], }, "down_intfs_before_sess_sync": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "hb_interval": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hb_lost_threshold": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", "v7.2.0"]], }, + "hb_interval": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "integer"}, + "hb_lost_threshold": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "integer"}, "ipsec_tunnel_sync": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ike_monitor": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.7"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ike_monitor_interval": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.7"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "ike_heartbeat_interval": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.7"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "secondary_add_ipsec_routes": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "session_sync_filter": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "dict", "children": { - "srcintf": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dstintf": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "srcaddr": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dstaddr": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "srcaddr6": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dstaddr6": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "srcintf": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, + "dstintf": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, + "srcaddr": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, + "dstaddr": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, + "srcaddr6": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, + "dstaddr6": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, "custom_service": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "integer", "required": True, }, "src_port_range": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", }, "dst_port_range": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], }, }, }, - "ike_seqjump_speed": { - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "ike_seqjump_speed": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "integer"}, "slave_add_ike_routes": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], } @@ -1382,6 +639,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_console.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_console.py index 7dc790150..d6024d795 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_console.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_console.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -121,26 +121,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure console. - fortios_system_console: - vdom: "{{ vdom }}" +- name: Configure console. + fortinet.fortios.fortios_system_console: + vdom: "{{ vdom }}" system_console: - baudrate: "9600" - fortiexplorer: "enable" - login: "enable" - mode: "batch" - output: "standard" - + baudrate: "9600" + fortiexplorer: "enable" + login: "enable" + mode: "batch" + output: "standard" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -272,7 +260,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "console") if data["system_console"]: resp = system_console(data, fos) @@ -289,552 +276,39 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "batch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "line", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, "baudrate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "9600", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "19200", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "38400", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "57600", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "115200", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "9600"}, + {"value": "19200"}, + {"value": "38400"}, + {"value": "57600"}, + {"value": "115200"}, ], }, "output": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "more", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "standard"}, {"value": "more"}], }, "login": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiexplorer": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "mode": { + "v_range": [["v6.0.0", "v7.4.0"]], + "type": "string", + "options": [{"value": "batch"}, {"value": "line"}], }, }, } @@ -870,6 +344,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_csf.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_csf.py index 58f2f5ccc..5fabacb2c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_csf.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_csf.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -325,71 +325,60 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Add this FortiGate to a Security Fabric or set up a new Security Fabric on this FortiGate. - fortios_system_csf: - vdom: "{{ vdom }}" +- name: Add this FortiGate to a Security Fabric or set up a new Security Fabric on this FortiGate. + fortinet.fortios.fortios_system_csf: + vdom: "{{ vdom }}" system_csf: - accept_auth_by_cert: "disable" - authorization_request_type: "serial" - certificate: " (source certificate.local.name)" - configuration_sync: "default" - downstream_access: "enable" - downstream_accprofile: " (source system.accprofile.name)" - fabric_connector: - - - accprofile: " (source system.accprofile.name)" - configuration_write_access: "enable" - serial: "" - vdom: - - - name: "default_name_14 (source system.vdom.name)" - fabric_device: - - - access_token: "" - device_ip: "" - device_type: "fortimail" - https_port: "443" - login: "" - name: "default_name_21" - password: "" - fabric_object_unification: "default" - fabric_workers: "2" - file_mgmt: "enable" - file_quota: "0" - file_quota_warning: "90" - fixed_key: "" - forticloud_account_enforcement: "enable" - group_name: "" - group_password: "" - log_unification: "disable" - management_ip: "" - management_port: "32767" - saml_configuration_sync: "default" - status: "enable" - trusted_list: - - - action: "accept" - authorization_type: "serial" - certificate: "" - downstream_authorization: "enable" - ha_members: "" - index: "0" - name: "default_name_44" - serial: "" - upstream: "" - upstream_ip: "" - upstream_port: "8013" - + accept_auth_by_cert: "disable" + authorization_request_type: "serial" + certificate: " (source certificate.local.name)" + configuration_sync: "default" + downstream_access: "enable" + downstream_accprofile: " (source system.accprofile.name)" + fabric_connector: + - + accprofile: " (source system.accprofile.name)" + configuration_write_access: "enable" + serial: "" + vdom: + - + name: "default_name_14 (source system.vdom.name)" + fabric_device: + - + access_token: "" + device_ip: "" + device_type: "fortimail" + https_port: "443" + login: "" + name: "default_name_21" + password: "" + fabric_object_unification: "default" + fabric_workers: "2" + file_mgmt: "enable" + file_quota: "0" + file_quota_warning: "90" + fixed_key: "" + forticloud_account_enforcement: "enable" + group_name: "" + group_password: "" + log_unification: "disable" + management_ip: "" + management_port: "32767" + saml_configuration_sync: "default" + status: "enable" + trusted_list: + - + action: "accept" + authorization_type: "serial" + certificate: "" + downstream_authorization: "enable" + ha_members: "" + index: "0" + name: "default_name_44" + serial: "" + upstream: "" + upstream_ip: "" + upstream_port: "8013" """ RETURN = """ @@ -448,7 +437,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -576,7 +564,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "csf") if data["system_csf"]: resp = system_csf(data, fos) @@ -593,1788 +580,167 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "upstream": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "upstream_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "group_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "group_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "upstream": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "upstream_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "group_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "group_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "accept_auth_by_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_unification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "authorization_request_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "serial", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "certificate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "serial"}, {"value": "certificate"}], }, "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "fabric_workers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "fabric_workers": {"v_range": [["v6.4.4", ""]], "type": "integer"}, "downstream_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "downstream_accprofile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "downstream_accprofile": {"v_range": [["v7.0.0", ""]], "type": "string"}, "configuration_sync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "local"}], }, "fabric_object_unification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "local"}], }, "saml_configuration_sync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "local"}], }, "trusted_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, }, "authorization_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "serial", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "certificate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], - }, - "serial": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", + "options": [{"value": "serial"}, {"value": "certificate"}], }, + "serial": {"v_range": [["v6.0.0", ""]], "type": "string"}, "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "ha_members": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "downstream_authorization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "index": {"v_range": [["v7.2.4", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "fabric_connector": { "type": "list", "elements": "dict", "children": { "serial": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, }, - "accprofile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "accprofile": {"v_range": [["v7.0.0", ""]], "type": "string"}, "configuration_write_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vdom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "forticloud_account_enforcement": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "file_mgmt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "file_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "file_quota_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "file_quota": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "file_quota_warning": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "fabric_device": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", "required": True, }, - "device_ip": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "https_port": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "access_token": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "device_ip": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, + "https_port": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "integer"}, + "access_token": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "string"}, "device_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "fortimail", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "fortimail"}], }, - "login": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "password": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "upstream_ip": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "management_ip": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "login": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "password": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "type": "string", - }, - "management_port": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", "v7.0.12"]], }, + "upstream_ip": {"v_range": [["v6.0.0", "v7.0.1"]], "type": "string"}, + "management_ip": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "management_port": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "integer"}, "fixed_key": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, @@ -2411,6 +777,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_custom_language.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_custom_language.py index aafd526ce..07c26ba1f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_custom_language.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_custom_language.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure custom languages. - fortios_system_custom_language: - vdom: "{{ vdom }}" +- name: Configure custom languages. + fortinet.fortios.fortios_system_custom_language: + vdom: "{{ vdom }}" state: "present" access_token: "" system_custom_language: - comments: "" - filename: "" - name: "default_name_5" - + comments: "" + filename: "" + name: "default_name_5" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -210,6 +198,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_custom_language_data(json): @@ -239,7 +230,6 @@ def underscore_to_hyphen(data): def system_custom_language(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -275,11 +265,16 @@ def system_custom_language(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -329,13 +324,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "custom-language") if data["system_custom_language"]: resp = system_custom_language(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_custom_language")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -350,121 +344,11 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "filename": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "filename": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -501,6 +385,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ddns.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ddns.py index d37766495..c9b288a75 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ddns.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ddns.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the ddnsid instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -178,7 +180,7 @@ options: type: str ddnsid: description: - - DDNS ID. + - DDNS ID. see Notes. required: true type: int monitor_interface: @@ -217,48 +219,37 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DDNS. - fortios_system_ddns: - vdom: "{{ vdom }}" +- name: Configure DDNS. + fortinet.fortios.fortios_system_ddns: + vdom: "{{ vdom }}" state: "present" access_token: "" system_ddns: - addr_type: "ipv4" - bound_ip: "" - clear_text: "disable" - ddns_auth: "disable" - ddns_domain: "" - ddns_key: "" - ddns_keyname: "" - ddns_password: "" - ddns_server: "dyndns.org" - ddns_server_addr: - - - addr: "" - ddns_server_ip: "" - ddns_sn: "" - ddns_ttl: "300" - ddns_username: "" - ddns_zone: "" - ddnsid: "0" - monitor_interface: - - - interface_name: " (source system.interface.name)" - server_type: "ipv4" - ssl_certificate: " (source certificate.local.name)" - update_interval: "300" - use_public_ip: "disable" - + addr_type: "ipv4" + bound_ip: "" + clear_text: "disable" + ddns_auth: "disable" + ddns_domain: "" + ddns_key: "" + ddns_keyname: "" + ddns_password: "" + ddns_server: "dyndns.org" + ddns_server_addr: + - + addr: "" + ddns_server_ip: "" + ddns_sn: "" + ddns_ttl: "300" + ddns_username: "" + ddns_zone: "" + ddnsid: "" + monitor_interface: + - + interface_name: " (source system.interface.name)" + server_type: "ipv4" + ssl_certificate: " (source certificate.local.name)" + update_interval: "300" + use_public_ip: "disable" """ RETURN = """ @@ -317,7 +308,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -345,6 +335,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_ddns_data(json): @@ -396,7 +389,6 @@ def underscore_to_hyphen(data): def system_ddns(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -430,11 +422,16 @@ def system_ddns(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -482,13 +479,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "ddns") if data["system_ddns"]: resp = system_ddns(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_ddns")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -503,1259 +499,90 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "ddnsid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "ddnsid": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "ddns_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "dyndns.org", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dyns.net", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tzo.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vavic.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dipdns.net", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "now.net.cn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhs.org", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "easydns.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "genericDDNS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FortiGuardDDNS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "noip.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "dyndns.org"}, + {"value": "dyns.net"}, + {"value": "tzo.com"}, + {"value": "vavic.com"}, + {"value": "dipdns.net"}, + {"value": "now.net.cn"}, + {"value": "dhs.org"}, + {"value": "easydns.com"}, + {"value": "genericDDNS"}, + {"value": "FortiGuardDDNS"}, + {"value": "noip.com"}, ], }, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, "ddns_server_addr": { "type": "list", "elements": "dict", "children": { "addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "ddns_zone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v7.0.0", ""]], }, + "ddns_zone": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ddns_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tsig", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ddns_keyname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_sn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "tsig"}], }, + "ddns_keyname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_sn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "use_public_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "update_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "update_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "clear_text": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ssl_certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, "monitor_interface": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "bound_ip": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_server_ip": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, + "ddns_server_ip": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1790,6 +617,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dedicated_mgmt.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dedicated_mgmt.py index 3c4fbf791..9ccd23b3b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dedicated_mgmt.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dedicated_mgmt.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,28 +117,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure dedicated management. - fortios_system_dedicated_mgmt: - vdom: "{{ vdom }}" +- name: Configure dedicated management. + fortinet.fortios.fortios_system_dedicated_mgmt: + vdom: "{{ vdom }}" system_dedicated_mgmt: - default_gateway: "" - dhcp_end_ip: "" - dhcp_netmask: "" - dhcp_server: "enable" - dhcp_start_ip: "" - interface: " (source system.interface.name)" - status: "enable" - + default_gateway: "" + dhcp_end_ip: "" + dhcp_netmask: "" + dhcp_server: "enable" + dhcp_start_ip: "" + interface: " (source system.interface.name)" + status: "enable" """ RETURN = """ @@ -197,7 +186,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,7 +266,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "dedicated-mgmt") if data["system_dedicated_mgmt"]: resp = system_dedicated_mgmt(data, fos) @@ -295,357 +282,24 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "default_gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "default_gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dhcp_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dhcp_netmask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dhcp_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dhcp_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dhcp_netmask": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dhcp_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dhcp_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -682,6 +336,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_device_upgrade.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_device_upgrade.py index 351c079f3..091908c9a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_device_upgrade.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_device_upgrade.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,6 +115,7 @@ options: - 'no-final-confirmation' - 'no-confirmation-query' - 'config-error-log-nonempty' + - 'csf-tree-not-supported' - 'node-failed' maximum_minutes: description: @@ -165,32 +166,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Independent upgrades for managed devices. - fortios_system_device_upgrade: - vdom: "{{ vdom }}" +- name: Independent upgrades for managed devices. + fortinet.fortios.fortios_system_device_upgrade: + vdom: "{{ vdom }}" state: "present" access_token: "" system_device_upgrade: - device_type: "fortiswitch" - failure_reason: "none" - maximum_minutes: "15" - serial: "" - setup_time: "" - status: "disabled" - time: "" - timing: "immediate" - upgrade_path: "" - + device_type: "fortiswitch" + failure_reason: "none" + maximum_minutes: "15" + serial: "" + setup_time: "" + status: "disabled" + time: "" + timing: "immediate" + upgrade_path: "" """ RETURN = """ @@ -249,7 +239,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -343,7 +332,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "device-upgrade") if data["system_device_upgrade"]: resp = system_device_upgrade(data, fos) @@ -363,125 +351,68 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "serial": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "required": True, - }, + "serial": {"v_range": [["v7.2.4", ""]], "type": "string", "required": True}, "timing": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "options": [ - {"value": "immediate", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "scheduled", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "maximum_minutes": { - "revisions": {"v7.4.0": True, "v7.2.4": False}, - "type": "integer", - }, - "time": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, - "setup_time": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, - "upgrade_path": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "immediate"}, {"value": "scheduled"}], }, + "maximum_minutes": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "time": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "setup_time": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "upgrade_path": {"v_range": [["v7.2.4", ""]], "type": "string"}, "device_type": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - {"value": "fortiswitch", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "fortiap", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "fortiextender", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "fortiswitch"}, + {"value": "fortiap"}, + {"value": "fortiextender"}, ], }, "status": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - {"value": "disabled", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "initialized", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "downloading", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "device-disconnected", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "ready", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "coordinating", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "staging", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "final-check", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "upgrade-devices", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "cancelled", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "confirmed", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "done", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "failed", "revisions": {"v7.4.0": True, "v7.2.4": True}}, + {"value": "disabled"}, + {"value": "initialized"}, + {"value": "downloading"}, + {"value": "device-disconnected"}, + {"value": "ready"}, + {"value": "coordinating"}, + {"value": "staging"}, + {"value": "final-check"}, + {"value": "upgrade-devices"}, + {"value": "cancelled"}, + {"value": "confirmed"}, + {"value": "done"}, + {"value": "failed"}, ], }, "failure_reason": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - {"value": "none", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "internal", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "timeout", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "device-type-unsupported", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "download-failed", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "device-missing", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "version-unavailable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "staging-failed", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "reboot-failed", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "device-not-reconnected", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "node-not-ready", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "no-final-confirmation", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "no-confirmation-query", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "config-error-log-nonempty", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "node-failed", "revisions": {"v7.4.0": True, "v7.2.4": True}}, + {"value": "none"}, + {"value": "internal"}, + {"value": "timeout"}, + {"value": "device-type-unsupported"}, + {"value": "download-failed"}, + {"value": "device-missing"}, + {"value": "version-unavailable"}, + {"value": "staging-failed"}, + {"value": "reboot-failed"}, + {"value": "device-not-reconnected"}, + {"value": "node-not-ready"}, + {"value": "no-final-confirmation"}, + {"value": "no-confirmation-query"}, + {"value": "config-error-log-nonempty"}, + {"value": "csf-tree-not-supported", "v_range": [["v7.4.1", ""]]}, + {"value": "node-failed"}, ], }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], } @@ -518,6 +449,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp6_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp6_server.py index 36d02272a..b1d64e836 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp6_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp6_server.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -129,7 +131,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int interface: @@ -155,7 +157,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int start_ip: @@ -197,7 +199,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int prefix_length: @@ -233,54 +235,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DHCPv6 servers. - fortios_system_dhcp6_server: - vdom: "{{ vdom }}" +- name: Configure DHCPv6 servers. + fortinet.fortios.fortios_system_dhcp6_server: + vdom: "{{ vdom }}" state: "present" access_token: "" system_dhcp6_server: - delegated_prefix_iaid: "0" - dns_search_list: "delegated" - dns_server1: "" - dns_server2: "" - dns_server3: "" - dns_server4: "" - dns_service: "delegated" - domain: "" - id: "11" - interface: " (source system.interface.name)" - ip_mode: "range" - ip_range: - - - end_ip: "" - id: "16" - start_ip: "" - lease_time: "604800" - option1: "" - option2: "" - option3: "" - prefix_mode: "dhcp6" - prefix_range: - - - end_prefix: "" - id: "25" - prefix_length: "0" - start_prefix: "" - rapid_commit: "disable" - status: "disable" - subnet: "" - upstream_interface: " (source system.interface.name)" - + delegated_prefix_iaid: "0" + dns_search_list: "delegated" + dns_server1: "" + dns_server2: "" + dns_server3: "" + dns_server4: "" + dns_service: "delegated" + domain: "" + id: "11" + interface: " (source system.interface.name)" + ip_mode: "range" + ip_range: + - + end_ip: "" + id: "16" + start_ip: "" + lease_time: "604800" + option1: "" + option2: "" + option3: "" + prefix_mode: "dhcp6" + prefix_range: + - + end_prefix: "" + id: "25" + prefix_length: "0" + start_prefix: "" + rapid_commit: "disable" + status: "disable" + subnet: "" + upstream_interface: " (source system.interface.name)" """ RETURN = """ @@ -339,7 +330,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -367,6 +357,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_dhcp6_server_data(json): @@ -419,7 +412,6 @@ def underscore_to_hyphen(data): def system_dhcp6_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -455,11 +447,16 @@ def system_dhcp6_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -507,13 +504,12 @@ def is_successful_status(resp): def fortios_system_dhcp6(data, fos, check_mode): - fos.do_member_operation("system.dhcp6", "server") if data["system_dhcp6_server"]: resp = system_dhcp6_server(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_dhcp6_server")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -528,1252 +524,85 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rapid_commit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "lease_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "lease_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dns_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "delegated", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "delegated"}, + {"value": "default"}, + {"value": "specify"}, ], }, "dns_search_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "delegated", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "option1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "option2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "option3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "upstream_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "delegated"}, {"value": "specify"}], }, - "delegated_prefix_iaid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server4": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "option1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "option2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "option3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "upstream_interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "delegated_prefix_iaid": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "ip_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "delegated", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "range"}, {"value": "delegated"}], }, "prefix_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "dhcp6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ra", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "dhcp6"}, {"value": "ra"}], }, "prefix_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "prefix_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "start_prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "ip_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1808,6 +637,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp_server.py index cbb90478c..ef55a21b3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dhcp_server.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -198,7 +200,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int lease_time: @@ -260,7 +262,7 @@ options: - 'enable' id: description: - - ID. + - ID. see Notes. required: true type: int interface: @@ -286,7 +288,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int lease_time: @@ -390,7 +392,7 @@ options: type: int id: description: - - ID. + - ID. see Notes. required: true type: int ip: @@ -484,7 +486,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int ip: @@ -694,130 +696,119 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DHCP servers. - fortios_system_dhcp_server: - vdom: "{{ vdom }}" +- name: Configure DHCP servers. + fortinet.fortios.fortios_system_dhcp_server: + vdom: "{{ vdom }}" state: "present" access_token: "" system_dhcp_server: - auto_configuration: "disable" - auto_managed_status: "disable" - conflicted_ip_timeout: "1800" - ddns_auth: "disable" - ddns_key: "" - ddns_keyname: "" - ddns_server_ip: "" - ddns_ttl: "300" - ddns_update: "disable" - ddns_update_override: "disable" - ddns_zone: "" - default_gateway: "" - dhcp_settings_from_fortiipam: "disable" - dns_server1: "" - dns_server2: "" - dns_server3: "" - dns_server4: "" - dns_service: "local" - domain: "" - exclude_range: - - - end_ip: "" - id: "24" - lease_time: "0" - start_ip: "" - uci_match: "disable" - uci_string: - - - uci_string: "" - vci_match: "disable" - vci_string: - - - vci_string: "" - filename: "" - forticlient_on_net_status: "disable" - id: "35" - interface: " (source system.interface.name)" - ip_mode: "range" - ip_range: - - - end_ip: "" - id: "40" - lease_time: "0" - start_ip: "" - uci_match: "disable" - uci_string: - - - uci_string: "" - vci_match: "disable" - vci_string: - - - vci_string: "" - ipsec_lease_hold: "60" - lease_time: "604800" - mac_acl_default_action: "assign" - netmask: "" - next_server: "" - ntp_server1: "" - ntp_server2: "" - ntp_server3: "" - ntp_service: "local" - options: - - - code: "0" - id: "60" - ip: "" - type: "hex" - uci_match: "disable" - uci_string: - - - uci_string: "" - value: "" - vci_match: "disable" - vci_string: - - - vci_string: "" - relay_agent: "" - reserved_address: - - - action: "assign" - circuit_id: "" - circuit_id_type: "hex" - description: "" - id: "76" - ip: "" - mac: "" - remote_id: "" - remote_id_type: "hex" - type: "mac" - server_type: "regular" - shared_subnet: "disable" - status: "disable" - tftp_server: - - - tftp_server: "" - timezone: "01" - timezone_option: "disable" - vci_match: "disable" - vci_string: - - - vci_string: "" - wifi_ac_service: "specify" - wifi_ac1: "" - wifi_ac2: "" - wifi_ac3: "" - wins_server1: "" - wins_server2: "" - + auto_configuration: "disable" + auto_managed_status: "disable" + conflicted_ip_timeout: "1800" + ddns_auth: "disable" + ddns_key: "" + ddns_keyname: "" + ddns_server_ip: "" + ddns_ttl: "300" + ddns_update: "disable" + ddns_update_override: "disable" + ddns_zone: "" + default_gateway: "" + dhcp_settings_from_fortiipam: "disable" + dns_server1: "" + dns_server2: "" + dns_server3: "" + dns_server4: "" + dns_service: "local" + domain: "" + exclude_range: + - + end_ip: "" + id: "24" + lease_time: "0" + start_ip: "" + uci_match: "disable" + uci_string: + - + uci_string: "" + vci_match: "disable" + vci_string: + - + vci_string: "" + filename: "" + forticlient_on_net_status: "disable" + id: "35" + interface: " (source system.interface.name)" + ip_mode: "range" + ip_range: + - + end_ip: "" + id: "40" + lease_time: "0" + start_ip: "" + uci_match: "disable" + uci_string: + - + uci_string: "" + vci_match: "disable" + vci_string: + - + vci_string: "" + ipsec_lease_hold: "60" + lease_time: "604800" + mac_acl_default_action: "assign" + netmask: "" + next_server: "" + ntp_server1: "" + ntp_server2: "" + ntp_server3: "" + ntp_service: "local" + options: + - + code: "0" + id: "60" + ip: "" + type: "hex" + uci_match: "disable" + uci_string: + - + uci_string: "" + value: "" + vci_match: "disable" + vci_string: + - + vci_string: "" + relay_agent: "" + reserved_address: + - + action: "assign" + circuit_id: "" + circuit_id_type: "hex" + description: "" + id: "76" + ip: "" + mac: "" + remote_id: "" + remote_id_type: "hex" + type: "mac" + server_type: "regular" + shared_subnet: "disable" + status: "disable" + tftp_server: + - + tftp_server: "" + timezone: "01" + timezone_option: "disable" + vci_match: "disable" + vci_string: + - + vci_string: "" + wifi_ac_service: "specify" + wifi_ac1: "" + wifi_ac2: "" + wifi_ac3: "" + wins_server1: "" + wins_server2: "" """ RETURN = """ @@ -876,7 +867,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -904,6 +894,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_dhcp_server_data(json): @@ -1015,7 +1008,6 @@ def underscore_to_hyphen(data): def system_dhcp_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1052,11 +1044,16 @@ def system_dhcp_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1104,13 +1101,12 @@ def is_successful_status(resp): def fortios_system_dhcp(data, fos, check_mode): - fos.do_member_operation("system.dhcp", "server") if data["system_dhcp_server"]: resp = system_dhcp_server(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_dhcp_server")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1125,4159 +1121,205 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "lease_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "lease_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "mac_acl_default_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "assign", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "assign"}, {"value": "block"}], }, "forticlient_on_net_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dns_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "local"}, {"value": "default"}, {"value": "specify"}], }, + "dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server4": {"v_range": [["v6.2.0", ""]], "type": "string"}, "wifi_ac_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "wifi_ac1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wifi_ac2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wifi_ac3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "specify"}, {"value": "local"}], }, + "wifi_ac1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wifi_ac2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wifi_ac3": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ntp_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ntp_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ntp_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ntp_server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wins_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wins_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "default_gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "next_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "netmask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "local"}, {"value": "default"}, {"value": "specify"}], }, + "ntp_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ntp_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ntp_server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wins_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wins_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "default_gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "next_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "netmask": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vci_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "vci_string": { "type": "list", "elements": "dict", "children": { "vci_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "uci_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "uci_string": { "type": "list", "elements": "dict", "children": { "uci_string": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "lease_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "v_range": [["v7.2.4", ""]], }, + "lease_time": {"v_range": [["v7.2.4", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "timezone_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "default"}, + {"value": "specify"}, ], }, "timezone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "01", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "02", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "03", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "04", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "05", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "81", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "06", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "07", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "08", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "09", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "13", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "74", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "77", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "15", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "87", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "17", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "75", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "22", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "23", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "80", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "79", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "25", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "26", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "27", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "78", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "29", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "30", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "31", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "33", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "34", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "35", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "36", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "37", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "38", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "83", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "84", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "85", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "39", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "41", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "42", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "43", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "44", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "45", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "46", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "47", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "51", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "48", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "49", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "50", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "52", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "53", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "54", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "55", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "56", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "57", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "58", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "59", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "60", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "61", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "62", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "63", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "64", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "65", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "66", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "67", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "68", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "69", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "70", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "71", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "72", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "00", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "82", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "73", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "86", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "76", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "01"}, + {"value": "02"}, + {"value": "03"}, + {"value": "04"}, + {"value": "05"}, + {"value": "81"}, + {"value": "06"}, + {"value": "07"}, + {"value": "08"}, + {"value": "09"}, + {"value": "10"}, + {"value": "11"}, + {"value": "12"}, + {"value": "13"}, + {"value": "74"}, + {"value": "14"}, + {"value": "77"}, + {"value": "15"}, + {"value": "87"}, + {"value": "16"}, + {"value": "17"}, + {"value": "18"}, + {"value": "19"}, + {"value": "20"}, + {"value": "75"}, + {"value": "21"}, + {"value": "22"}, + {"value": "23"}, + {"value": "24"}, + {"value": "80"}, + {"value": "79"}, + {"value": "25"}, + {"value": "26"}, + {"value": "27"}, + {"value": "28"}, + {"value": "78"}, + {"value": "29"}, + {"value": "30"}, + {"value": "31"}, + {"value": "32"}, + {"value": "33"}, + {"value": "34"}, + {"value": "35"}, + {"value": "36"}, + {"value": "37"}, + {"value": "38"}, + {"value": "83"}, + {"value": "84"}, + {"value": "40"}, + {"value": "85"}, + {"value": "39"}, + {"value": "41"}, + {"value": "42"}, + {"value": "43"}, + {"value": "44"}, + {"value": "45"}, + {"value": "46"}, + {"value": "47"}, + {"value": "51"}, + {"value": "48"}, + {"value": "49"}, + {"value": "50"}, + {"value": "52"}, + {"value": "53"}, + {"value": "54"}, + {"value": "55"}, + {"value": "56"}, + {"value": "57"}, + {"value": "58"}, + {"value": "59"}, + {"value": "60"}, + {"value": "61"}, + {"value": "62"}, + {"value": "63"}, + {"value": "64"}, + {"value": "65"}, + {"value": "66"}, + {"value": "67"}, + {"value": "68"}, + {"value": "69"}, + {"value": "70"}, + {"value": "71"}, + {"value": "72"}, + {"value": "00"}, + {"value": "82"}, + {"value": "73"}, + {"value": "86"}, + {"value": "76"}, ], }, "tftp_server": { @@ -5285,2574 +1327,240 @@ versioned_schema = { "elements": "dict", "children": { "tftp_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "filename": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "filename": {"v_range": [["v6.0.0", ""]], "type": "string"}, "options": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "code": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "hex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "hex"}, + {"value": "string"}, + {"value": "ip"}, + {"value": "fqdn"}, ], }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "vci_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "vci_string": { "type": "list", "elements": "dict", "children": { "vci_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "uci_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "uci_string": { "type": "list", "elements": "dict", "children": { "uci_string": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipsec", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "regular"}, {"value": "ipsec"}], }, "ip_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usrgrp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "conflicted_ip_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipsec_lease_hold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "range"}, {"value": "usrgrp"}], }, + "conflicted_ip_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipsec_lease_hold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auto_configuration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dhcp_settings_from_fortiipam": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "auto_managed_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ddns_update": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ddns_update_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ddns_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_zone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ddns_server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_zone": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ddns_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tsig", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ddns_keyname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "tsig"}], }, - "ddns_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ddns_keyname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "vci_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "vci_string": { "type": "list", "elements": "dict", "children": { "vci_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "exclude_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vci_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "vci_string": { "type": "list", "elements": "dict", "children": { "vci_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], }, "uci_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "uci_string": { "type": "list", "elements": "dict", "children": { "uci_string": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], }, - "lease_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "lease_time": {"v_range": [["v7.2.4", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "shared_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], - }, - "relay_agent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "relay_agent": {"v_range": [["v7.4.0", ""]], "type": "string"}, "reserved_address": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "option82", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "mac"}, {"value": "option82"}], }, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mac": {"v_range": [["v6.0.0", ""]], "type": "string"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "assign", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reserved", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "assign"}, + {"value": "block"}, + {"value": "reserved"}, ], }, "circuit_id_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "hex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "circuit_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "hex"}, {"value": "string"}], }, + "circuit_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, "remote_id_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "hex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "remote_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "hex"}, {"value": "string"}], }, + "remote_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -7887,6 +1595,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns.py index 61d5d3800..4a6bbcb4f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -216,49 +216,38 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS. - fortios_system_dns: - vdom: "{{ vdom }}" +- name: Configure DNS. + fortinet.fortios.fortios_system_dns: + vdom: "{{ vdom }}" system_dns: - alt_primary: "" - alt_secondary: "" - cache_notfound_responses: "disable" - dns_cache_limit: "5000" - dns_cache_ttl: "1800" - dns_over_tls: "disable" - domain: - - - domain: "" - fqdn_cache_ttl: "0" - fqdn_max_refresh: "3600" - fqdn_min_refresh: "60" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ip6_primary: "" - ip6_secondary: "" - log: "disable" - primary: "" - protocol: "cleartext" - retry: "2" - secondary: "" - server_hostname: - - - hostname: "myhostname" - server_select_method: "least-rtt" - source_ip: "84.230.14.43" - ssl_certificate: " (source certificate.local.name)" - timeout: "5" - + alt_primary: "" + alt_secondary: "" + cache_notfound_responses: "disable" + dns_cache_limit: "5000" + dns_cache_ttl: "1800" + dns_over_tls: "disable" + domain: + - + domain: "" + fqdn_cache_ttl: "0" + fqdn_max_refresh: "3600" + fqdn_min_refresh: "60" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ip6_primary: "" + ip6_secondary: "" + log: "disable" + primary: "" + protocol: "cleartext" + retry: "2" + secondary: "" + server_hostname: + - + hostname: "myhostname" + server_select_method: "least-rtt" + source_ip: "84.230.14.43" + ssl_certificate: " (source certificate.local.name)" + timeout: "5" """ RETURN = """ @@ -317,7 +306,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -443,7 +431,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "dns") if data["system_dns"]: resp = system_dns(data, fos) @@ -460,1107 +447,86 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "primary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary": {"v_range": [["v6.0.0", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", - "options": [ - { - "value": "cleartext", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "doh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "cleartext"}, {"value": "dot"}, {"value": "doh"}], "multiple_values": True, "elements": "str", }, - "ssl_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "ssl_certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, "server_hostname": { "type": "list", "elements": "dict", "children": { "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "domain": { "type": "list", "elements": "dict", "children": { "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ip6_primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_secondary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "retry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dns_cache_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dns_cache_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "ip6_primary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_secondary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "retry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dns_cache_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dns_cache_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "cache_notfound_responses": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "server_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "least-rtt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "failover", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "alt_primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "alt_secondary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "least-rtt"}, {"value": "failover"}], }, + "alt_primary": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "alt_secondary": {"v_range": [["v7.0.1", ""]], "type": "string"}, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "fqdn_cache_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "fqdn_max_refresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "fqdn_min_refresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "error"}, {"value": "all"}], }, + "fqdn_cache_ttl": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "fqdn_max_refresh": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "fqdn_min_refresh": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "dns_over_tls": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enforce", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "enforce"}, ], }, }, @@ -1597,6 +563,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns64.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns64.py index d4eb4a695..eac6ad65a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns64.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns64.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,24 +101,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS64. - fortios_system_dns64: - vdom: "{{ vdom }}" +- name: Configure DNS64. + fortinet.fortios.fortios_system_dns64: + vdom: "{{ vdom }}" system_dns64: - always_synthesize_aaaa_record: "enable" - dns64_prefix: "" - status: "enable" - + always_synthesize_aaaa_record: "enable" + dns64_prefix: "" + status: "enable" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -248,7 +236,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "dns64") if data["system_dns64"]: resp = system_dns64(data, fos) @@ -265,152 +252,19 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "dns64_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dns64_prefix": {"v_range": [["v7.0.1", ""]], "type": "string"}, "always_synthesize_aaaa_record": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -446,6 +300,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_database.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_database.py index be7647fa9..5bf067739 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_database.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_database.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -121,7 +121,7 @@ options: type: str id: description: - - DNS entry ID. + - DNS entry ID. see Notes. required: true type: int ip: @@ -168,6 +168,10 @@ options: - DNS zone forwarder IP address list. type: list elements: str + forwarder6: + description: + - Forwarder IPv6 address. + type: str ip_master: description: - IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone. @@ -193,6 +197,10 @@ options: description: - Source IP for forwarding to DNS server. type: str + source_ip6: + description: + - IPv6 source IP address for forwarding to DNS server. + type: str status: description: - Enable/disable this DNS zone. @@ -221,52 +229,44 @@ options: - 'shadow' - 'public' - 'shadow-ztna' + - 'proxy' """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS databases. - fortios_system_dns_database: - vdom: "{{ vdom }}" +- name: Configure DNS databases. + fortinet.fortios.fortios_system_dns_database: + vdom: "{{ vdom }}" state: "present" access_token: "" system_dns_database: - allow_transfer: "" - authoritative: "enable" - contact: "" - dns_entry: - - - canonical_name: "" - hostname: "myhostname" - id: "9" - ip: "" - ipv6: "" - preference: "10" - status: "enable" - ttl: "0" - type: "A" - domain: "" - forwarder: "" - ip_master: "" - ip_primary: "" - name: "default_name_20" - primary_name: "" - rr_max: "16384" - source_ip: "84.230.14.43" - status: "enable" - ttl: "86400" - type: "primary" - view: "shadow" - + allow_transfer: "" + authoritative: "enable" + contact: "" + dns_entry: + - + canonical_name: "" + hostname: "myhostname" + id: "9" + ip: "" + ipv6: "" + preference: "10" + status: "enable" + ttl: "0" + type: "A" + domain: "" + forwarder: "" + forwarder6: "" + ip_master: "" + ip_primary: "" + name: "default_name_21" + primary_name: "" + rr_max: "16384" + source_ip: "84.230.14.43" + source_ip6: "" + status: "enable" + ttl: "86400" + type: "primary" + view: "shadow" """ RETURN = """ @@ -325,7 +325,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -353,6 +352,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_dns_database_data(json): @@ -363,12 +365,14 @@ def filter_system_dns_database_data(json): "dns_entry", "domain", "forwarder", + "forwarder6", "ip_master", "ip_primary", "name", "primary_name", "rr_max", "source_ip", + "source_ip6", "status", "ttl", "type", @@ -429,7 +433,6 @@ def underscore_to_hyphen(data): def system_dns_database(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -466,11 +469,16 @@ def system_dns_database(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -520,13 +528,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "dns-database") if data["system_dns_database"]: resp = system_dns_database(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_dns_database")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -541,1317 +548,97 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, "allow_transfer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "primary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "secondary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "master", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "slave", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "primary", "v_range": [["v7.0.0", ""]]}, + {"value": "secondary", "v_range": [["v7.0.0", ""]]}, + {"value": "master", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "slave", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "view": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "shadow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "public", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "shadow-ztna", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "shadow"}, + {"value": "public"}, + {"value": "shadow-ztna", "v_range": [["v7.2.1", ""]]}, + {"value": "proxy", "v_range": [["v7.4.1", ""]]}, ], }, - "ip_primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "primary_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "contact": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ip_primary": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "primary_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "contact": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "authoritative": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forwarder": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "rr_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "forwarder6": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "rr_max": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "dns_entry": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "A", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CNAME", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MX", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AAAA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PTR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PTR_V6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "A"}, + {"value": "NS"}, + {"value": "CNAME"}, + {"value": "MX"}, + {"value": "AAAA"}, + {"value": "PTR"}, + {"value": "PTR_V6"}, ], }, - "ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "preference": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "canonical_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "preference": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "canonical_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, - "ip_master": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip_master": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1886,6 +673,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_server.py index 23d39f06d..d12995beb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dns_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +94,21 @@ options: type: str doh: description: - - DNS over HTTPS/443. + - Enable/disable DNS over HTTPS/443 . + type: str + choices: + - 'enable' + - 'disable' + doh3: + description: + - Enable/disable DNS over QUIC/HTTP3/443 . + type: str + choices: + - 'enable' + - 'disable' + doq: + description: + - Enable/disable DNS over QUIC/853 . type: str choices: - 'enable' @@ -115,27 +129,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS servers. - fortios_system_dns_server: - vdom: "{{ vdom }}" +- name: Configure DNS servers. + fortinet.fortios.fortios_system_dns_server: + vdom: "{{ vdom }}" state: "present" access_token: "" system_dns_server: - dnsfilter_profile: " (source dnsfilter.profile.name)" - doh: "enable" - mode: "recursive" - name: "default_name_6 (source system.interface.name)" - + dnsfilter_profile: " (source dnsfilter.profile.name)" + doh: "enable" + doh3: "enable" + doq: "enable" + mode: "recursive" + name: "default_name_8 (source system.interface.name)" """ RETURN = """ @@ -194,7 +199,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -222,10 +226,13 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_dns_server_data(json): - option_list = ["dnsfilter_profile", "doh", "mode", "name"] + option_list = ["dnsfilter_profile", "doh", "doh3", "doq", "mode", "name"] json = remove_invalid_fields(json) dictionary = {} @@ -251,7 +258,6 @@ def underscore_to_hyphen(data): def system_dns_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -287,11 +293,16 @@ def system_dns_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -339,13 +350,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "dns-server") if data["system_dns_server"]: resp = system_dns_server(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_dns_server")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -360,279 +370,34 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "recursive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-recursive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "forward-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "recursive"}, + {"value": "non-recursive"}, + {"value": "forward-only"}, ], }, - "dnsfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "dnsfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "doh": { + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "doh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "doh3": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "doq": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -667,6 +432,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dscp_based_priority.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dscp_based_priority.py index 2bc77bed7..3a68444fb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dscp_based_priority.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_dscp_based_priority.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +96,7 @@ options: type: int id: description: - - Item ID. + - Item ID. see Notes. required: true type: int priority: @@ -108,26 +110,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DSCP based priority table. - fortios_system_dscp_based_priority: - vdom: "{{ vdom }}" +- name: Configure DSCP based priority table. + fortinet.fortios.fortios_system_dscp_based_priority: + vdom: "{{ vdom }}" state: "present" access_token: "" system_dscp_based_priority: - ds: "0" - id: "4" - priority: "low" - + ds: "0" + id: "4" + priority: "low" """ RETURN = """ @@ -186,7 +177,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -214,6 +204,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_dscp_based_priority_data(json): @@ -243,7 +236,6 @@ def underscore_to_hyphen(data): def system_dscp_based_priority(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -279,11 +271,16 @@ def system_dscp_based_priority(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -333,7 +330,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "dscp-based-priority") if data["system_dscp_based_priority"]: resp = system_dscp_based_priority(data, fos, check_mode) @@ -341,7 +337,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_dscp_based_priority") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -356,210 +352,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "ds": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "ds": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "low"}, {"value": "medium"}, {"value": "high"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -596,6 +397,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_email_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_email_server.py index 936de19e9..f01c8c544 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_email_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_email_server.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -143,6 +143,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' type: description: - Use FortiGuard Message service or custom email server. @@ -163,36 +164,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication - features. - fortios_system_email_server: - vdom: "{{ vdom }}" +- name: Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication + features. + fortinet.fortios.fortios_system_email_server: + vdom: "{{ vdom }}" system_email_server: - authenticate: "enable" - interface: " (source system.interface.name)" - interface_select_method: "auto" - password: "" - port: "25" - reply_to: "" - security: "none" - server: "192.168.100.40" - source_ip: "84.230.14.43" - source_ip6: "" - ssl_min_proto_version: "default" - type: "custom" - username: "" - validate_server: "enable" - + authenticate: "enable" + interface: " (source system.interface.name)" + interface_select_method: "auto" + password: "" + port: "25" + reply_to: "" + security: "none" + server: "192.168.100.40" + source_ip: "84.230.14.43" + source_ip6: "" + ssl_min_proto_version: "default" + type: "custom" + username: "" + validate_server: "enable" """ RETURN = """ @@ -251,7 +241,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -339,7 +328,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "email-server") if data["system_email_server"]: resp = system_email_server(data, fos) @@ -356,886 +344,54 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], - }, - "reply_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "custom"}], }, + "reply_to": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "authenticate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "validate_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "security": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "starttls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smtps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "starttls"}, {"value": "smtps"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, } @@ -1270,6 +426,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_evpn.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_evpn.py index 970f36ed6..fef5bdb27 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_evpn.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_evpn.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,12 +105,12 @@ options: suboptions: route_target: description: - - 'Route target: AA|AA:NN.' + - 'Route target: AA:NN|A.B.C.D:NN.' required: true type: str id: description: - - ID. + - ID. see Notes. required: true type: int import_rt: @@ -119,7 +121,7 @@ options: suboptions: route_target: description: - - 'Route target: AA|AA:NN.' + - 'Route target: AA:NN|A.B.C.D:NN.' required: true type: str ip_local_learning: @@ -131,38 +133,27 @@ options: - 'disable' rd: description: - - 'Route Distinguisher: AA|AA:NN|A.B.C.D:NN.' + - 'Route Distinguisher: AA:NN|A.B.C.D:NN.' type: str """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure EVPN instance. - fortios_system_evpn: - vdom: "{{ vdom }}" +- name: Configure EVPN instance. + fortinet.fortios.fortios_system_evpn: + vdom: "{{ vdom }}" state: "present" access_token: "" system_evpn: - arp_suppression: "enable" - export_rt: - - - route_target: "" - id: "6" - import_rt: - - - route_target: "" - ip_local_learning: "enable" - rd: "" - + arp_suppression: "enable" + export_rt: + - + route_target: "" + id: "6" + import_rt: + - + route_target: "" + ip_local_learning: "enable" + rd: "" """ RETURN = """ @@ -221,7 +212,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -308,7 +298,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "evpn") if data["system_evpn"]: resp = system_evpn(data, fos) @@ -328,50 +317,44 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": {"revisions": {"v7.4.0": True}, "type": "integer", "required": True}, - "rd": {"revisions": {"v7.4.0": True}, "type": "string"}, + "id": {"v_range": [["v7.4.0", ""]], "type": "integer", "required": True}, + "rd": {"v_range": [["v7.4.0", ""]], "type": "string"}, "import_rt": { "type": "list", "elements": "dict", "children": { "route_target": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, "export_rt": { "type": "list", "elements": "dict", "children": { "route_target": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, "ip_local_learning": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "arp_suppression": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], } @@ -406,6 +389,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_external_resource.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_external_resource.py index 624235af3..1fb156cfc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_external_resource.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_external_resource.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -176,39 +176,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure external resource. - fortios_system_external_resource: - vdom: "{{ vdom }}" +- name: Configure external resource. + fortinet.fortios.fortios_system_external_resource: + vdom: "{{ vdom }}" state: "present" access_token: "" system_external_resource: - category: "0" - comments: "" - interface: " (source system.interface.name)" - interface_select_method: "auto" - name: "default_name_7" - password: "" - refresh_rate: "5" - resource: "" - server_identity_check: "none" - source_ip: "84.230.14.43" - status: "enable" - type: "category" - update_method: "feed" - user_agent: "" - username: "" - uuid: "" - + category: "0" + comments: "" + interface: " (source system.interface.name)" + interface_select_method: "auto" + name: "default_name_7" + password: "" + refresh_rate: "5" + resource: "" + server_identity_check: "none" + source_ip: "84.230.14.43" + status: "enable" + type: "category" + update_method: "feed" + user_agent: "" + username: "" + uuid: "" """ RETURN = """ @@ -267,7 +256,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -295,6 +283,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_external_resource_data(json): @@ -341,7 +332,6 @@ def underscore_to_hyphen(data): def system_external_resource(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -377,11 +367,16 @@ def system_external_resource(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -431,7 +426,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "external-resource") if data["system_external_resource"]: resp = system_external_resource(data, fos, check_mode) @@ -439,7 +433,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_external_resource") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -454,804 +448,56 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v7.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "category", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "domain", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "malware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mac-address", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "category"}, + {"value": "address"}, + {"value": "domain"}, + {"value": "malware", "v_range": [["v6.2.0", ""]]}, + {"value": "mac-address", "v_range": [["v7.4.0", ""]]}, ], }, "update_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "feed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "push", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "resource": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "feed"}, {"value": "push"}], }, + "category": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "username": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "resource": {"v_range": [["v6.0.0", ""]], "type": "string"}, "user_agent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "server_identity_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.0.8": True}, - }, - { - "value": "basic", - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.0.8": True}, - }, - { - "value": "full", - "revisions": {"v7.4.0": True, "v7.2.4": True, "v7.0.8": True}, - }, - ], - }, - "refresh_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "basic"}, {"value": "full"}], }, + "refresh_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1288,6 +534,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fabric_vpn.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fabric_vpn.py index 196238655..e82f3643f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fabric_vpn.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fabric_vpn.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,7 +103,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int policies: @@ -235,55 +235,44 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Setup for self orchestrated fabric auto discovery VPN. - fortios_system_fabric_vpn: - vdom: "{{ vdom }}" +- name: Setup for self orchestrated fabric auto discovery VPN. + fortinet.fortios.fortios_system_fabric_vpn: + vdom: "{{ vdom }}" system_fabric_vpn: - advertised_subnets: - - - access: "inbound" - bgp_network: "0" - firewall_address: " (source firewall.address.name)" - id: "7" - policies: " (source firewall.policy.policyid)" - prefix: "" - bgp_as: "0" - branch_name: "" - health_checks: " (source system.sdwan.health-check.name)" - loopback_address_block: "" - loopback_advertised_subnet: "0" - loopback_interface: " (source system.interface.name)" - overlays: - - - bgp_neighbor: " (source router.bgp.neighbor.ip)" - bgp_neighbor_group: " (source router.bgp.neighbor-group.name)" - bgp_neighbor_range: "0" - bgp_network: "0" - interface: " (source system.interface.name)" - ipsec_phase1: " (source vpn.ipsec.phase1-interface.name)" - name: "default_name_23" - overlay_policy: "0" - overlay_tunnel_block: "" - remote_gw: "" - route_policy: "0" - sdwan_member: "0" - policy_rule: "health-check" - psksecret: "" - sdwan_zone: " (source system.sdwan.zone.name)" - status: "enable" - sync_mode: "enable" - vpn_role: "hub" - + advertised_subnets: + - + access: "inbound" + bgp_network: "0" + firewall_address: " (source firewall.address.name)" + id: "7" + policies: " (source firewall.policy.policyid)" + prefix: "" + bgp_as: "0" + branch_name: "" + health_checks: " (source system.sdwan.health-check.name)" + loopback_address_block: "" + loopback_advertised_subnet: "0" + loopback_interface: " (source system.interface.name)" + overlays: + - + bgp_neighbor: " (source router.bgp.neighbor.ip)" + bgp_neighbor_group: " (source router.bgp.neighbor-group.name)" + bgp_neighbor_range: "0" + bgp_network: "0" + interface: " (source system.interface.name)" + ipsec_phase1: " (source vpn.ipsec.phase1-interface.name)" + name: "default_name_23" + overlay_policy: "0" + overlay_tunnel_block: "" + remote_gw: "" + route_policy: "0" + sdwan_member: "0" + policy_rule: "health-check" + psksecret: "" + sdwan_zone: " (source system.sdwan.zone.name)" + status: "enable" + sync_mode: "enable" + vpn_role: "hub" """ RETURN = """ @@ -342,7 +331,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -461,7 +449,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fabric-vpn") if data["system_fabric_vpn"]: resp = system_fabric_vpn(data, fos) @@ -478,166 +465,91 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "dict", "children": { "status": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sync_mode": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "branch_name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "branch_name": {"v_range": [["v7.2.4", ""]], "type": "string"}, "policy_rule": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "health-check", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "manual", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "auto", "revisions": {"v7.4.0": True, "v7.2.4": True}}, + {"value": "health-check"}, + {"value": "manual"}, + {"value": "auto"}, ], }, "vpn_role": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "hub", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "spoke", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "hub"}, {"value": "spoke"}], }, "overlays": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, }, - "overlay_tunnel_block": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "remote_gw": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "interface": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "bgp_neighbor": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "overlay_policy": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "integer", - }, - "bgp_network": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "integer", - }, - "route_policy": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "integer", - }, - "bgp_neighbor_group": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "bgp_neighbor_range": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "integer", - }, - "ipsec_phase1": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "sdwan_member": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "integer", - }, + "overlay_tunnel_block": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "remote_gw": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "interface": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "bgp_neighbor": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "overlay_policy": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "bgp_network": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "route_policy": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "bgp_neighbor_group": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "bgp_neighbor_range": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "ipsec_phase1": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "sdwan_member": {"v_range": [["v7.2.4", ""]], "type": "integer"}, }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], }, "advertised_subnets": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "integer", "required": True, }, - "prefix": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, + "prefix": {"v_range": [["v7.2.4", ""]], "type": "string"}, "access": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "options": [ - { - "value": "inbound", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "bidirectional", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "bgp_network": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "integer", - }, - "firewall_address": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "inbound"}, {"value": "bidirectional"}], }, + "bgp_network": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "firewall_address": {"v_range": [["v7.2.4", ""]], "type": "string"}, "policies": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "list", "multiple_values": True, "elements": "int", }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], }, - "loopback_address_block": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "loopback_interface": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - }, - "loopback_advertised_subnet": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "integer", - }, - "psksecret": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, - "bgp_as": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "integer"}, - "sdwan_zone": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, + "loopback_address_block": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "loopback_interface": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "loopback_advertised_subnet": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "psksecret": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "bgp_as": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "sdwan_zone": {"v_range": [["v7.2.4", ""]], "type": "string"}, "health_checks": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "list", "multiple_values": True, "elements": "str", @@ -676,6 +588,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_federated_upgrade.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_federated_upgrade.py index 0891931a2..0c683b26c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_federated_upgrade.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_federated_upgrade.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,6 +103,7 @@ options: - 'no-final-confirmation' - 'no-confirmation-query' - 'config-error-log-nonempty' + - 'csf-tree-not-supported' - 'node-failed' ha_reboot_controller: description: @@ -185,37 +186,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Coordinate federated upgrades within the Security Fabric. - fortios_system_federated_upgrade: - vdom: "{{ vdom }}" +- name: Coordinate federated upgrades within the Security Fabric. + fortinet.fortios.fortios_system_federated_upgrade: + vdom: "{{ vdom }}" system_federated_upgrade: - failure_device: "" - failure_reason: "none" - ha_reboot_controller: "" - next_path_index: "0" - node_list: - - - coordinating_fortigate: "" - device_type: "fortigate" - maximum_minutes: "15" - serial: "" - setup_time: "" - time: "" - timing: "immediate" - upgrade_path: "" - status: "disabled" - upgrade_id: "0" - + failure_device: "" + failure_reason: "none" + ha_reboot_controller: "" + next_path_index: "0" + node_list: + - + coordinating_fortigate: "" + device_type: "fortigate" + maximum_minutes: "15" + serial: "" + setup_time: "" + time: "" + timing: "immediate" + upgrade_path: "" + status: "disabled" + upgrade_id: "0" """ RETURN = """ @@ -274,7 +264,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -355,7 +344,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "federated-upgrade") if data["system_federated_upgrade"]: resp = system_federated_upgrade(data, fos) @@ -374,940 +362,89 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "initialized", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "downloading", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "device-disconnected", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ready", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "coordinating", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "staging", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "final-check", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, - { - "value": "upgrade-devices", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "cancelled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "confirmed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "done", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "failed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "download-failed", - "revisions": {"v7.0.1": True, "v7.0.0": True}, - }, + {"value": "disabled"}, + {"value": "initialized"}, + {"value": "downloading"}, + {"value": "device-disconnected"}, + {"value": "ready"}, + {"value": "coordinating", "v_range": [["v7.2.4", ""]]}, + {"value": "staging"}, + {"value": "final-check", "v_range": [["v7.0.1", ""]]}, + {"value": "upgrade-devices", "v_range": [["v7.0.2", ""]]}, + {"value": "cancelled"}, + {"value": "confirmed"}, + {"value": "done"}, + {"value": "failed"}, + {"value": "download-failed", "v_range": [["v7.0.0", "v7.0.1"]]}, ], }, "failure_reason": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "internal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "device-type-unsupported", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "download-failed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "device-missing", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "version-unavailable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "staging-failed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "reboot-failed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "device-not-reconnected", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "node-not-ready", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "no-final-confirmation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "no-confirmation-query", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "config-error-log-nonempty", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - }, - { - "value": "node-failed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - }, + {"value": "none"}, + {"value": "internal"}, + {"value": "timeout"}, + {"value": "device-type-unsupported"}, + {"value": "download-failed"}, + {"value": "device-missing"}, + {"value": "version-unavailable"}, + {"value": "staging-failed"}, + {"value": "reboot-failed"}, + {"value": "device-not-reconnected"}, + {"value": "node-not-ready"}, + {"value": "no-final-confirmation"}, + {"value": "no-confirmation-query"}, + {"value": "config-error-log-nonempty", "v_range": [["v7.2.4", ""]]}, + {"value": "csf-tree-not-supported", "v_range": [["v7.4.1", ""]]}, + {"value": "node-failed", "v_range": [["v7.2.4", ""]]}, ], }, - "failure_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, - "upgrade_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "next_path_index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "integer", - }, - "ha_reboot_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, + "failure_device": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "upgrade_id": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "next_path_index": {"v_range": [["v7.0.4", ""]], "type": "integer"}, + "ha_reboot_controller": {"v_range": [["v7.4.0", ""]], "type": "string"}, "node_list": { "type": "list", "elements": "dict", "children": { "serial": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, }, "timing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "immediate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "scheduled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "maximum_minutes": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "integer", - }, - "time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "setup_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "upgrade_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "immediate"}, {"value": "scheduled"}], }, + "maximum_minutes": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "time": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "setup_time": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "upgrade_path": {"v_range": [["v7.0.0", ""]], "type": "string"}, "device_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "fortiswitch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "fortiap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "fortiextender", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, + {"value": "fortigate"}, + {"value": "fortiswitch"}, + {"value": "fortiap"}, + {"value": "fortiextender", "v_range": [["v7.2.1", ""]]}, ], }, "coordinating_fortigate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, }, } @@ -1345,6 +482,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fips_cc.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fips_cc.py index 4d89d4117..3feeec573 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fips_cc.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fips_cc.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -109,25 +109,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FIPS-CC mode. - fortios_system_fips_cc: - vdom: "{{ vdom }}" +- name: Configure FIPS-CC mode. + fortinet.fortios.fortios_system_fips_cc: + vdom: "{{ vdom }}" system_fips_cc: - entropy_token: "enable" - key_generation_self_test: "enable" - self_test_period: "1440" - status: "enable" - + entropy_token: "enable" + key_generation_self_test: "enable" + self_test_period: "1440" + status: "enable" """ RETURN = """ @@ -186,7 +175,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -264,7 +252,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fips-cc") if data["system_fips_cc"]: resp = system_fips_cc(data, fos) @@ -281,357 +268,27 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "entropy_token": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "self_test_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "key_generation_self_test": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "self_test_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "key_generation_self_test": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "entropy_token": { + "v_range": [["v6.0.0", "v7.4.0"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "enable"}, + {"value": "disable"}, + {"value": "dynamic"}, ], }, }, @@ -668,6 +325,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fm.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fm.py index 6cd03b05d..26d875516 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fm.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fm.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,28 +123,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FM. - fortios_system_fm: - vdom: "{{ vdom }}" +- name: Configure FM. + fortinet.fortios.fortios_system_fm: + vdom: "{{ vdom }}" system_fm: - auto_backup: "enable" - id: "4" - ip: "" - ipsec: "enable" - scheduled_config_restore: "enable" - status: "enable" - vdom: " (source system.vdom.name)" - + auto_backup: "enable" + id: "4" + ip: "" + ipsec: "enable" + scheduled_config_restore: "enable" + status: "enable" + vdom: " (source system.vdom.name)" """ RETURN = """ @@ -203,7 +192,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -282,7 +270,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fm") if data["system_fm"]: resp = system_fm(data, fos) @@ -299,284 +286,31 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "id": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vdom": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "id": {"v_range": [["v6.0.0", "v7.0.1"]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", "v7.0.1"]], "type": "string"}, + "vdom": {"v_range": [["v6.0.0", "v7.0.1"]], "type": "string"}, "auto_backup": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "scheduled_config_restore": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipsec": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -612,6 +346,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiai.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiai.py index 0b8b48912..b06398f9f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiai.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiai.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -106,25 +106,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiAI. - fortios_system_fortiai: - vdom: "{{ vdom }}" +- name: Configure FortiAI. + fortinet.fortios.fortios_system_fortiai: + vdom: "{{ vdom }}" system_fortiai: - interface: " (source system.interface.name)" - interface_select_method: "auto" - source_ip: "84.230.14.43" - status: "disable" - + interface: " (source system.interface.name)" + interface_select_method: "auto" + source_ip: "84.230.14.43" + status: "disable" """ RETURN = """ @@ -183,7 +172,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -256,7 +244,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fortiai") if data["system_fortiai"]: resp = system_fortiai(data, fos) @@ -273,120 +260,21 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.0.1", "v7.0.7"]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "source_ip": {"v_range": [["v7.0.4", "v7.0.7"]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, + "v_range": [["v7.0.4", "v7.0.7"]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.4", "v7.0.7"]], "type": "string"}, }, } @@ -421,6 +309,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiguard.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiguard.py index 49bcaf0da..1faf14d6c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiguard.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortiguard.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -425,84 +425,73 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGuard services. - fortios_system_fortiguard: - vdom: "{{ vdom }}" +- name: Configure FortiGuard services. + fortinet.fortios.fortios_system_fortiguard: + vdom: "{{ vdom }}" system_fortiguard: - antispam_cache: "enable" - antispam_cache_mpercent: "2" - antispam_cache_mpermille: "1" - antispam_cache_ttl: "1800" - antispam_expiration: "0" - antispam_force_off: "enable" - antispam_license: "4294967295" - antispam_timeout: "7" - anycast_sdns_server_ip: "" - anycast_sdns_server_port: "853" - auto_firmware_upgrade: "enable" - auto_firmware_upgrade_day: "sunday" - auto_firmware_upgrade_delay: "3" - auto_firmware_upgrade_end_hour: "4" - auto_firmware_upgrade_start_hour: "2" - auto_join_forticloud: "enable" - ddns_server_ip: "" - ddns_server_ip6: "" - ddns_server_port: "443" - FDS_license_expiring_days: "15" - fortiguard_anycast: "enable" - fortiguard_anycast_source: "fortinet" - interface: " (source system.interface.name)" - interface_select_method: "auto" - load_balance_servers: "1" - outbreak_prevention_cache: "enable" - outbreak_prevention_cache_mpercent: "2" - outbreak_prevention_cache_mpermille: "1" - outbreak_prevention_cache_ttl: "300" - outbreak_prevention_expiration: "0" - outbreak_prevention_force_off: "enable" - outbreak_prevention_license: "4294967295" - outbreak_prevention_timeout: "7" - persistent_connection: "enable" - port: "8888" - protocol: "udp" - proxy_password: "" - proxy_server_ip: "" - proxy_server_port: "0" - proxy_username: "" - sandbox_inline_scan: "enable" - sandbox_region: "" - sdns_options: "include-question-section" - sdns_server_ip: "" - sdns_server_port: "53" - service_account_id: "" - source_ip: "84.230.14.43" - source_ip6: "" - update_build_proxy: "enable" - update_dldb: "enable" - update_extdb: "enable" - update_ffdb: "enable" - update_server_location: "automatic" - update_uwdb: "enable" - vdom: " (source system.vdom.name)" - videofilter_expiration: "0" - videofilter_license: "4294967295" - webfilter_cache: "enable" - webfilter_cache_ttl: "3600" - webfilter_expiration: "0" - webfilter_force_off: "enable" - webfilter_license: "4294967295" - webfilter_timeout: "15" - + antispam_cache: "enable" + antispam_cache_mpercent: "2" + antispam_cache_mpermille: "1" + antispam_cache_ttl: "1800" + antispam_expiration: "0" + antispam_force_off: "enable" + antispam_license: "4294967295" + antispam_timeout: "7" + anycast_sdns_server_ip: "" + anycast_sdns_server_port: "853" + auto_firmware_upgrade: "enable" + auto_firmware_upgrade_day: "sunday" + auto_firmware_upgrade_delay: "3" + auto_firmware_upgrade_end_hour: "4" + auto_firmware_upgrade_start_hour: "1" + auto_join_forticloud: "enable" + ddns_server_ip: "" + ddns_server_ip6: "" + ddns_server_port: "443" + FDS_license_expiring_days: "15" + fortiguard_anycast: "enable" + fortiguard_anycast_source: "fortinet" + interface: " (source system.interface.name)" + interface_select_method: "auto" + load_balance_servers: "1" + outbreak_prevention_cache: "enable" + outbreak_prevention_cache_mpercent: "2" + outbreak_prevention_cache_mpermille: "1" + outbreak_prevention_cache_ttl: "300" + outbreak_prevention_expiration: "0" + outbreak_prevention_force_off: "enable" + outbreak_prevention_license: "4294967295" + outbreak_prevention_timeout: "7" + persistent_connection: "enable" + port: "8888" + protocol: "udp" + proxy_password: "" + proxy_server_ip: "" + proxy_server_port: "0" + proxy_username: "" + sandbox_inline_scan: "enable" + sandbox_region: "" + sdns_options: "include-question-section" + sdns_server_ip: "" + sdns_server_port: "53" + service_account_id: "" + source_ip: "84.230.14.43" + source_ip6: "" + update_build_proxy: "enable" + update_dldb: "enable" + update_extdb: "enable" + update_ffdb: "enable" + update_server_location: "automatic" + update_uwdb: "enable" + vdom: " (source system.vdom.name)" + videofilter_expiration: "0" + videofilter_license: "4294967295" + webfilter_cache: "enable" + webfilter_cache_ttl: "3600" + webfilter_expiration: "0" + webfilter_force_off: "enable" + webfilter_license: "4294967295" + webfilter_timeout: "15" """ RETURN = """ @@ -561,7 +550,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -730,7 +718,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fortiguard") if data["system_fortiguard"]: resp = system_fortiguard(data, fos) @@ -747,3057 +734,259 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "fortiguard_anycast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortiguard_anycast_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "fortinet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aws", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "fortinet"}, {"value": "aws"}, {"value": "debug"}], }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "string", - "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "udp"}, {"value": "http"}, {"value": "https"}], }, "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "8888", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "53", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "80", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "443", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "8888"}, + {"value": "53"}, + {"value": "80"}, + {"value": "443", "v_range": [["v6.2.0", ""]]}, ], }, "service_account_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ["v7.0.12", "v7.0.12"], + ["v7.2.1", ""], + ], "type": "string", }, - "load_balance_servers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "load_balance_servers": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auto_join_forticloud": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [], "type": "string", "options": [ { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, "update_server_location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "automatic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "usa", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eu", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "any", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "automatic", "v_range": [["v7.0.2", ""]]}, + {"value": "usa"}, + {"value": "eu", "v_range": [["v7.0.2", ""]]}, + {"value": "any", "v_range": [["v6.0.0", "v7.0.1"]]}, ], }, - "sandbox_region": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "sandbox_region": {"v_range": [["v6.2.0", ""]], "type": "string"}, "sandbox_inline_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_ffdb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_uwdb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_dldb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_extdb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_build_proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "persistent_connection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vdom": {"v_range": [["v7.2.0", ""]], "type": "string"}, "auto_firmware_upgrade": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_firmware_upgrade_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "list", "options": [ - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], "multiple_values": True, "elements": "str", }, - "auto_firmware_upgrade_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "auto_firmware_upgrade_delay": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "auto_firmware_upgrade_start_hour": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, "auto_firmware_upgrade_end_hour": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "FDS_license_expiring_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, + "FDS_license_expiring_days": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "antispam_force_off": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "antispam_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "antispam_cache_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "antispam_cache_mpermille": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "antispam_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "antispam_cache_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "antispam_cache_mpermille": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "antispam_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "outbreak_prevention_force_off": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "outbreak_prevention_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "outbreak_prevention_cache_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "outbreak_prevention_cache_mpermille": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "outbreak_prevention_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.4.0", ""]], "type": "integer", }, + "outbreak_prevention_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "webfilter_force_off": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "webfilter_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "webfilter_cache_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "webfilter_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "webfilter_cache_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "webfilter_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "sdns_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, - "sdns_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "anycast_sdns_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "anycast_sdns_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "sdns_server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "anycast_sdns_server_ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "anycast_sdns_server_port": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "sdns_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "list", - "options": [ - { - "value": "include-question-section", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - } - ], + "options": [{"value": "include-question-section"}], "multiple_values": True, "elements": "str", }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "proxy_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "proxy_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "proxy_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "proxy_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ddns_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ddns_server_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ddns_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "proxy_server_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "proxy_server_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "proxy_username": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "proxy_password": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ddns_server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ddns_server_ip6": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "ddns_server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "antispam_cache_mpercent": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "integer", }, "outbreak_prevention_cache_mpercent": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "integer", }, "antispam_license": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "antispam_expiration": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "outbreak_prevention_license": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "outbreak_prevention_expiration": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "webfilter_license": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "webfilter_expiration": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "videofilter_license": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "videofilter_expiration": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, @@ -3834,6 +1023,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortimanager.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortimanager.py index 1ca06f2bc..2bdfae1c6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortimanager.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortimanager.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -126,28 +126,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiManager. - fortios_system_fortimanager: - vdom: "{{ vdom }}" +- name: Configure FortiManager. + fortinet.fortios.fortios_system_fortimanager: + vdom: "{{ vdom }}" system_fortimanager: - central_management: "enable" - central_mgmt_auto_backup: "enable" - central_mgmt_schedule_config_restore: "enable" - central_mgmt_schedule_script_restore: "enable" - ip: "" - ipsec: "enable" - vdom: " (source system.vdom.name)" - + central_management: "enable" + central_mgmt_auto_backup: "enable" + central_mgmt_schedule_config_restore: "enable" + central_mgmt_schedule_script_restore: "enable" + ip: "" + ipsec: "enable" + vdom: " (source system.vdom.name)" """ RETURN = """ @@ -206,7 +195,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -287,7 +275,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fortimanager") if data["system_fortimanager"]: resp = system_fortimanager(data, fos) @@ -304,320 +291,35 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "dict", "children": { - "ip": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vdom": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ip": {"v_range": [["v6.0.0", "v7.0.1"]], "type": "string"}, + "vdom": {"v_range": [["v6.0.0", "v7.0.1"]], "type": "string"}, "ipsec": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "central_management": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "central_mgmt_auto_backup": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "central_mgmt_schedule_config_restore": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "central_mgmt_schedule_script_restore": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -653,6 +355,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortindr.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortindr.py index be80bcd07..e460aa910 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortindr.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortindr.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -106,25 +106,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiNDR. - fortios_system_fortindr: - vdom: "{{ vdom }}" +- name: Configure FortiNDR. + fortinet.fortios.fortios_system_fortindr: + vdom: "{{ vdom }}" system_fortindr: - interface: " (source system.interface.name)" - interface_select_method: "auto" - source_ip: "84.230.14.43" - status: "disable" - + interface: " (source system.interface.name)" + interface_select_method: "auto" + source_ip: "84.230.14.43" + status: "disable" """ RETURN = """ @@ -183,7 +172,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -256,7 +244,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fortindr") if data["system_fortindr"]: resp = system_fortindr(data, fos) @@ -273,119 +260,21 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, + "v_range": [["v7.0.8", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, + "v_range": [["v7.0.8", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "source_ip": {"v_range": [["v7.0.8", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - }, + "v_range": [["v7.0.8", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.8", ""]], "type": "string"}, }, } @@ -420,6 +309,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortisandbox.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortisandbox.py index ab32c7c33..f3e2e86a6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortisandbox.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fortisandbox.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -136,6 +136,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' status: description: - Enable/disable FortiSandbox. @@ -146,31 +147,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiSandbox. - fortios_system_fortisandbox: - vdom: "{{ vdom }}" +- name: Configure FortiSandbox. + fortinet.fortios.fortios_system_fortisandbox: + vdom: "{{ vdom }}" system_fortisandbox: - email: "" - enc_algorithm: "default" - forticloud: "enable" - inline_scan: "enable" - interface: " (source system.interface.name)" - interface_select_method: "auto" - server: "192.168.100.40" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - status: "enable" - + email: "" + enc_algorithm: "default" + forticloud: "enable" + inline_scan: "enable" + interface: " (source system.interface.name)" + interface_select_method: "auto" + server: "192.168.100.40" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + status: "enable" """ RETURN = """ @@ -229,7 +219,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -313,7 +302,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fortisandbox") if data["system_fortisandbox"]: resp = system_fortisandbox(data, fos) @@ -330,747 +318,53 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticloud": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inline_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "enc_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "high"}, {"value": "low"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "email": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "email": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -1105,6 +399,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fsso_polling.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fsso_polling.py index 4ccd6d488..25e6dc747 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fsso_polling.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_fsso_polling.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -105,25 +105,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Fortinet Single Sign On (FSSO) server. - fortios_system_fsso_polling: - vdom: "{{ vdom }}" +- name: Configure Fortinet Single Sign On (FSSO) server. + fortinet.fortios.fortios_system_fsso_polling: + vdom: "{{ vdom }}" system_fsso_polling: - auth_password: "" - authentication: "enable" - listening_port: "8000" - status: "enable" - + auth_password: "" + authentication: "enable" + listening_port: "8000" + status: "enable" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -255,7 +243,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "fsso-polling") if data["system_fsso_polling"]: resp = system_fsso_polling(data, fos) @@ -272,270 +259,21 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "listening_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "listening_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "auth_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -570,6 +308,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ftm_push.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ftm_push.py index 100394dba..ee1a109db 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ftm_push.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ftm_push.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -80,6 +80,13 @@ options: default: null type: dict suboptions: + proxy: + description: + - Enable/disable communication to the proxy server in FortiGuard configuration. + type: str + choices: + - 'enable' + - 'disable' server: description: - IPv4 address or domain name of FortiToken Mobile push services server. @@ -106,26 +113,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiToken Mobile push services. - fortios_system_ftm_push: - vdom: "{{ vdom }}" +- name: Configure FortiToken Mobile push services. + fortinet.fortios.fortios_system_ftm_push: + vdom: "{{ vdom }}" system_ftm_push: - server: "192.168.100.40" - server_cert: " (source certificate.local.name)" - server_ip: "" - server_port: "4433" - status: "enable" - + proxy: "enable" + server: "192.168.100.40" + server_cert: " (source certificate.local.name)" + server_ip: "" + server_port: "4433" + status: "enable" """ RETURN = """ @@ -184,7 +181,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -209,7 +205,14 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post def filter_system_ftm_push_data(json): - option_list = ["server", "server_cert", "server_ip", "server_port", "status"] + option_list = [ + "proxy", + "server", + "server_cert", + "server_ip", + "server_port", + "status", + ] json = remove_invalid_fields(json) dictionary = {} @@ -257,7 +260,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ftm-push") if data["system_ftm_push"]: resp = system_ftm_push(data, fos) @@ -274,238 +276,22 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "proxy": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "server_cert": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server": {"v_range": [["v7.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -541,6 +327,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geneve.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geneve.py index 2d7c467e9..f265df516 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geneve.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geneve.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -130,31 +130,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure GENEVE devices. - fortios_system_geneve: - vdom: "{{ vdom }}" +- name: Configure GENEVE devices. + fortinet.fortios.fortios_system_geneve: + vdom: "{{ vdom }}" state: "present" access_token: "" system_geneve: - dstport: "6081" - interface: " (source system.interface.name)" - ip_version: "ipv4-unicast" - name: "default_name_6" - remote_ip: "" - remote_ip6: "" - type: "ethernet" - vni: "0" - + dstport: "6081" + interface: " (source system.interface.name)" + ip_version: "ipv4-unicast" + name: "default_name_6" + remote_ip: "" + remote_ip6: "" + type: "ethernet" + vni: "0" """ RETURN = """ @@ -213,7 +202,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -241,6 +229,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_geneve_data(json): @@ -279,7 +270,6 @@ def underscore_to_hyphen(data): def system_geneve(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -313,11 +303,16 @@ def system_geneve(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -365,13 +360,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "geneve") if data["system_geneve"]: resp = system_geneve(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_geneve")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -386,335 +380,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "vni": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "vni": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "ethernet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ppp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "ethernet"}, {"value": "ppp"}], }, "ip_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "ipv4-unicast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ipv6-unicast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "remote_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "ipv4-unicast"}, {"value": "ipv6-unicast"}], }, - "remote_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "dstport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "remote_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "remote_ip6": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "dstport": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.2.0", ""]], } @@ -749,6 +432,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_country.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_country.py index e5c3556df..94f57bf81 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_country.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_country.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Define geoip country name-ID table. - fortios_system_geoip_country: - vdom: "{{ vdom }}" +- name: Define geoip country name-ID table. + fortinet.fortios.fortios_system_geoip_country: + vdom: "{{ vdom }}" state: "present" access_token: "" system_geoip_country: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_geoip_country_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def system_geoip_country(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -270,11 +260,16 @@ def system_geoip_country(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -324,13 +319,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "geoip-country") if data["system_geoip_country"]: resp = system_geoip_country(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_geoip_country")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -346,58 +340,24 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", "required": True, }, "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -432,6 +392,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_override.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_override.py index a3c4e6373..67169ad4d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_override.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_geoip_override.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,7 +108,7 @@ options: type: str id: description: - - ID of individual entry in the IP range table. + - ID of individual entry in the IP range table. see Notes. required: true type: int start_ip: @@ -127,7 +127,7 @@ options: type: str id: description: - - ID of individual entry in the IPv6 range table. + - ID of individual entry in the IPv6 range table. see Notes. required: true type: int start_ip: @@ -142,36 +142,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure geographical location mapping for IP address(es) to override mappings from FortiGuard. - fortios_system_geoip_override: - vdom: "{{ vdom }}" +- name: Configure geographical location mapping for IP address(es) to override mappings from FortiGuard. + fortinet.fortios.fortios_system_geoip_override: + vdom: "{{ vdom }}" state: "present" access_token: "" system_geoip_override: - country_id: "" - description: "" - ip_range: - - - end_ip: "" - id: "7" - start_ip: "" - ip6_range: - - - end_ip: "" - id: "11" - start_ip: "" - name: "default_name_13" - + country_id: "" + description: "" + ip_range: + - + end_ip: "" + id: "7" + start_ip: "" + ip6_range: + - + end_ip: "" + id: "11" + start_ip: "" + name: "default_name_13" """ RETURN = """ @@ -230,7 +219,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,6 +246,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_geoip_override_data(json): @@ -287,7 +278,6 @@ def underscore_to_hyphen(data): def system_geoip_override(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -323,11 +313,16 @@ def system_geoip_override(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -377,13 +372,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "geoip-override") if data["system_geoip_override"]: resp = system_geoip_override(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_geoip_override")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -398,340 +392,39 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "country_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "country_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "ip6_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "start_ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -768,6 +461,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gi_gk.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gi_gk.py index 3b71ba5f4..0a6ea42b3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gi_gk.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gi_gk.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,23 +91,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Gi Firewall Gatekeeper. - fortios_system_gi_gk: - vdom: "{{ vdom }}" +- name: Configure Gi Firewall Gatekeeper. + fortinet.fortios.fortios_system_gi_gk: + vdom: "{{ vdom }}" system_gi_gk: - context: "696" - port: "21123" - + context: "696" + port: "21123" """ RETURN = """ @@ -166,7 +155,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -237,7 +225,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "gi-gk") if data["system_gi_gk"]: resp = system_gi_gk(data, fos) @@ -254,72 +241,15 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "dict", "children": { "context": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, "port": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "integer", }, }, @@ -356,6 +286,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_global.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_global.py index b9857533a..d7ec79eb3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_global.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_global.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -621,6 +621,17 @@ options: choices: - 'enable' - 'disable' + fortitoken_cloud_push_status: + description: + - Enable/disable FTM push service of FortiToken Cloud. + type: str + choices: + - 'enable' + - 'disable' + fortitoken_cloud_sync_interval: + description: + - Interval in which to clean up remote users in FortiToken Cloud (0 - 336 hours (14 days)). + type: int gui_allow_default_hostname: description: - Enable/disable the factory default hostname warning on the GUI setup wizard. @@ -643,6 +654,13 @@ options: choices: - 'enable' - 'disable' + gui_auto_upgrade_setup_warning: + description: + - Enable/disable the automatic patch upgrade setup prompt on the GUI. + type: str + choices: + - 'enable' + - 'disable' gui_cdn_domain_override: description: - Domain of CDN server. @@ -844,7 +862,7 @@ options: suboptions: id: description: - - Internet Service ID. Source firewall.internet-service.id. + - Internet Service ID. see Notes. Source firewall.internet-service.id. required: true type: int interval: @@ -1071,7 +1089,7 @@ options: miglogd_children: description: - Number of logging (miglogd) processes to be allowed to run. Higher number can reduce performance; lower number can slow log processing - time. No logs will be dropped or lost if the number is changed. + time. type: int multi_factor_authentication: description: @@ -1215,6 +1233,41 @@ options: description: - Proxy worker count. type: int + quic_ack_thresold: + description: + - Maximum number of unacknowledged packets before sending ACK (2 - 5). + type: int + quic_congestion_control_algo: + description: + - QUIC congestion control algorithm . + type: str + choices: + - 'cubic' + - 'bbr' + - 'bbr2' + - 'reno' + quic_max_datagram_size: + description: + - Maximum transmit datagram size (1200 - 1500). + type: int + quic_pmtud: + description: + - Enable/disable path MTU discovery . + type: str + choices: + - 'enable' + - 'disable' + quic_tls_handshake_timeout: + description: + - Time-to-live (TTL) for TLS handshake in seconds (1 - 60). + type: int + quic_udp_payload_size_shaping_per_cid: + description: + - Enable/disable UDP payload size shaping per connection ID . + type: str + choices: + - 'enable' + - 'disable' radius_port: description: - RADIUS service port number. @@ -1405,6 +1458,9 @@ options: choices: - 'diffie-hellman-group1-sha1' - 'diffie-hellman-group14-sha1' + - 'diffie-hellman-group14-sha256' + - 'diffie-hellman-group16-sha512' + - 'diffie-hellman-group18-sha512' - 'diffie-hellman-group-exchange-sha1' - 'diffie-hellman-group-exchange-sha256' - 'curve25519-sha256@libssh.org' @@ -1467,7 +1523,7 @@ options: - 'disable' sslvpn_cipher_hardware_acceleration: description: - - Enable/disable SSL-VPN hardware acceleration. + - sslvpn-cipher-hardware-acceleration type: str choices: - 'enable' @@ -1481,7 +1537,7 @@ options: - 'disable' sslvpn_kxp_hardware_acceleration: description: - - Enable/disable SSL-VPN KXP hardware acceleration. + - sslvpn-kxp-hardware-acceleration type: str choices: - 'enable' @@ -1498,6 +1554,13 @@ options: choices: - 'enable' - 'disable' + sslvpn_web_mode: + description: + - Enable/disable SSL-VPN web mode. + type: str + choices: + - 'enable' + - 'disable' strict_dirty_session_check: description: - Enable to check the session against the original policy when revalidating. This can prevent dropping of redirected sessions when @@ -1843,288 +1906,287 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure global attributes. - fortios_system_global: - vdom: "{{ vdom }}" +- name: Configure global attributes. + fortinet.fortios.fortios_system_global: + vdom: "{{ vdom }}" system_global: - admin_concurrent: "enable" - admin_console_timeout: "0" - admin_forticloud_sso_default_profile: " (source system.accprofile.name)" - admin_forticloud_sso_login: "enable" - admin_host: "myhostname" - admin_hsts_max_age: "15552000" - admin_https_pki_required: "enable" - admin_https_redirect: "enable" - admin_https_ssl_banned_ciphers: "RSA" - admin_https_ssl_ciphersuites: "TLS-AES-128-GCM-SHA256" - admin_https_ssl_versions: "tlsv1-1" - admin_lockout_duration: "60" - admin_lockout_threshold: "3" - admin_login_max: "100" - admin_maintainer: "enable" - admin_port: "80" - admin_restrict_local: "enable" - admin_scp: "enable" - admin_server_cert: " (source certificate.local.name)" - admin_sport: "443" - admin_ssh_grace_time: "120" - admin_ssh_password: "enable" - admin_ssh_port: "22" - admin_ssh_v1: "enable" - admin_telnet: "enable" - admin_telnet_port: "23" - admintimeout: "5" - alias: "" - allow_traffic_redirect: "enable" - anti_replay: "disable" - arp_max_entry: "131072" - asymroute: "enable" - auth_cert: " (source certificate.local.name)" - auth_http_port: "1000" - auth_https_port: "1003" - auth_ike_saml_port: "1001" - auth_keepalive: "enable" - auth_session_limit: "block-new" - auto_auth_extension_device: "enable" - autorun_log_fsck: "enable" - av_affinity: "" - av_failopen: "pass" - av_failopen_session: "enable" - batch_cmdb: "enable" - block_session_timer: "30" - br_fdb_max_entry: "8192" - cert_chain_max: "8" - cfg_revert_timeout: "600" - cfg_save: "automatic" - check_protocol_header: "loose" - check_reset_range: "strict" - cli_audit_log: "enable" - cloud_communication: "enable" - clt_cert_req: "enable" - cmdbsvr_affinity: "" - compliance_check: "enable" - compliance_check_time: "" - cpu_use_threshold: "90" - csr_ca_attribute: "enable" - daily_restart: "enable" - default_service_source_port: "" - device_identification_active_scan_delay: "1800" - device_idle_timeout: "300" - dh_params: "1024" - dnsproxy_worker_count: "1" - dst: "enable" - early_tcp_npu_session: "enable" - edit_vdom_prompt: "enable" - endpoint_control_fds_access: "enable" - endpoint_control_portal_port: "32767" - extender_controller_reserved_network: "" - failtime: "5" - faz_disk_buffer_size: "0" - fds_statistics: "enable" - fds_statistics_period: "60" - fec_port: "50000" - fgd_alert_subscription: "advisory" - forticarrier_bypass: "enable" - forticonverter_config_upload: "once" - forticonverter_integration: "enable" - fortiextender: "disable" - fortiextender_data_port: "25246" - fortiextender_discovery_lockdown: "disable" - fortiextender_provision_on_authorization: "enable" - fortiextender_vlan_mode: "enable" - fortiipam_integration: "enable" - fortiservice_port: "8013" - fortitoken_cloud: "enable" - gui_allow_default_hostname: "enable" - gui_allow_incompatible_fabric_fgt: "enable" - gui_app_detection_sdwan: "enable" - gui_cdn_domain_override: "" - gui_cdn_usage: "enable" - gui_certificates: "enable" - gui_custom_language: "enable" - gui_date_format: "yyyy/MM/dd" - gui_date_time_source: "system" - gui_device_latitude: "" - gui_device_longitude: "" - gui_display_hostname: "enable" - gui_firmware_upgrade_warning: "enable" - gui_forticare_registration_setup_warning: "enable" - gui_fortigate_cloud_sandbox: "enable" - gui_fortiguard_resource_fetch: "enable" - gui_fortisandbox_cloud: "enable" - gui_ipv6: "enable" - gui_lines_per_page: "500" - gui_local_out: "enable" - gui_replacement_message_groups: "enable" - gui_rest_api_cache: "enable" - gui_theme: "jade" - gui_wireless_opensecurity: "enable" - gui_workflow_management: "enable" - ha_affinity: "" - honor_df: "enable" - hostname: "myhostname" - igmp_state_limit: "3200" - interface_subnet_usage: "disable" - internet_service_database: "mini" - internet_service_download_list: - - - id: "123 (source firewall.internet-service.id)" - interval: "5" - ip_fragment_mem_thresholds: "32" - ip_src_port_range: "" - ips_affinity: "" - ipsec_asic_offload: "enable" - ipsec_ha_seqjump_rate: "10" - ipsec_hmac_offload: "enable" - ipsec_round_robin: "enable" - ipsec_soft_dec_async: "enable" - ipv6_accept_dad: "1" - ipv6_allow_anycast_probe: "enable" - ipv6_allow_local_in_slient_drop: "enable" - ipv6_allow_multicast_probe: "enable" - ipv6_allow_traffic_redirect: "enable" - irq_time_accounting: "auto" - language: "english" - ldapconntimeout: "500" - lldp_reception: "enable" - lldp_transmission: "enable" - log_single_cpu_high: "enable" - log_ssl_connection: "enable" - log_uuid: "disable" - log_uuid_address: "enable" - log_uuid_policy: "enable" - login_timestamp: "enable" - long_vdom_name: "enable" - management_ip: "" - management_port: "443" - management_port_use_admin_sport: "enable" - management_vdom: " (source system.vdom.name)" - max_dlpstat_memory: "154" - max_route_cache_size: "0" - mc_ttl_notchange: "enable" - memory_use_threshold_extreme: "95" - memory_use_threshold_green: "82" - memory_use_threshold_red: "88" - miglog_affinity: "" - miglogd_children: "0" - multi_factor_authentication: "optional" - multicast_forward: "enable" - ndp_max_entry: "0" - per_user_bal: "enable" - per_user_bwl: "enable" - pmtu_discovery: "enable" - policy_auth_concurrent: "0" - post_login_banner: "disable" - pre_login_banner: "enable" - private_data_encryption: "disable" - proxy_auth_lifetime: "enable" - proxy_auth_lifetime_timeout: "480" - proxy_auth_timeout: "10" - proxy_cert_use_mgmt_vdom: "enable" - proxy_cipher_hardware_acceleration: "disable" - proxy_hardware_acceleration: "disable" - proxy_keep_alive_mode: "session" - proxy_kxp_hardware_acceleration: "disable" - proxy_re_authentication_mode: "session" - proxy_re_authentication_time: "30" - proxy_resource_mode: "enable" - proxy_worker_count: "0" - radius_port: "1812" - reboot_upon_config_restore: "enable" - refresh: "0" - remoteauthtimeout: "5" - reset_sessionless_tcp: "enable" - restart_time: "" - revision_backup_on_logout: "enable" - revision_image_auto_backup: "enable" - scanunit_count: "0" - security_rating_result_submission: "enable" - security_rating_run_on_schedule: "enable" - send_pmtu_icmp: "enable" - sflowd_max_children_num: "6" - snat_route_change: "enable" - special_file_23_support: "disable" - speedtest_server: "enable" - split_port: "" - ssd_trim_date: "1" - ssd_trim_freq: "never" - ssd_trim_hour: "1" - ssd_trim_min: "60" - ssd_trim_weekday: "sunday" - ssh_cbc_cipher: "enable" - ssh_enc_algo: "chacha20-poly1305@openssh.com" - ssh_hmac_md5: "enable" - ssh_hostkey_algo: "ssh-rsa" - ssh_kex_algo: "diffie-hellman-group1-sha1" - ssh_kex_sha1: "enable" - ssh_mac_algo: "hmac-md5" - ssh_mac_weak: "enable" - ssl_min_proto_version: "SSLv3" - ssl_static_key_ciphers: "enable" - sslvpn_cipher_hardware_acceleration: "enable" - sslvpn_ems_sn_check: "enable" - sslvpn_kxp_hardware_acceleration: "enable" - sslvpn_max_worker_count: "0" - sslvpn_plugin_version_check: "enable" - strict_dirty_session_check: "enable" - strong_crypto: "enable" - switch_controller: "disable" - switch_controller_reserved_network: "" - sys_perf_log_interval: "5" - syslog_affinity: "" - tcp_halfclose_timer: "120" - tcp_halfopen_timer: "10" - tcp_option: "enable" - tcp_rst_timer: "5" - tcp_timewait_timer: "1" - tftp: "enable" - timezone: "01" - tp_mc_skip_policy: "enable" - traffic_priority: "tos" - traffic_priority_level: "low" - two_factor_email_expiry: "60" - two_factor_fac_expiry: "60" - two_factor_ftk_expiry: "60" - two_factor_ftm_expiry: "72" - two_factor_sms_expiry: "60" - udp_idle_timer: "180" - url_filter_affinity: "" - url_filter_count: "1" - user_device_store_max_devices: "20912" - user_device_store_max_unified_mem: "104562073" - user_device_store_max_users: "20912" - user_server_cert: " (source certificate.local.name)" - vdom_admin: "enable" - vdom_mode: "no-vdom" - vip_arp_range: "unlimited" - virtual_server_count: "20" - virtual_server_hardware_acceleration: "disable" - vpn_ems_sn_check: "enable" - wad_affinity: "" - wad_csvc_cs_count: "1" - wad_csvc_db_count: "0" - wad_memory_change_granularity: "10" - wad_restart_end_time: "" - wad_restart_mode: "none" - wad_restart_start_time: "" - wad_source_affinity: "disable" - wad_worker_count: "0" - wifi_ca_certificate: " (source certificate.ca.name)" - wifi_certificate: " (source certificate.local.name)" - wimax_4g_usb: "enable" - wireless_controller: "enable" - wireless_controller_port: "5246" - + admin_concurrent: "enable" + admin_console_timeout: "0" + admin_forticloud_sso_default_profile: " (source system.accprofile.name)" + admin_forticloud_sso_login: "enable" + admin_host: "myhostname" + admin_hsts_max_age: "15552000" + admin_https_pki_required: "enable" + admin_https_redirect: "enable" + admin_https_ssl_banned_ciphers: "RSA" + admin_https_ssl_ciphersuites: "TLS-AES-128-GCM-SHA256" + admin_https_ssl_versions: "tlsv1-1" + admin_lockout_duration: "60" + admin_lockout_threshold: "3" + admin_login_max: "100" + admin_maintainer: "enable" + admin_port: "80" + admin_restrict_local: "enable" + admin_scp: "enable" + admin_server_cert: " (source certificate.local.name)" + admin_sport: "443" + admin_ssh_grace_time: "120" + admin_ssh_password: "enable" + admin_ssh_port: "22" + admin_ssh_v1: "enable" + admin_telnet: "enable" + admin_telnet_port: "23" + admintimeout: "5" + alias: "" + allow_traffic_redirect: "enable" + anti_replay: "disable" + arp_max_entry: "131072" + asymroute: "enable" + auth_cert: " (source certificate.local.name)" + auth_http_port: "1000" + auth_https_port: "1003" + auth_ike_saml_port: "1001" + auth_keepalive: "enable" + auth_session_limit: "block-new" + auto_auth_extension_device: "enable" + autorun_log_fsck: "enable" + av_affinity: "" + av_failopen: "pass" + av_failopen_session: "enable" + batch_cmdb: "enable" + block_session_timer: "30" + br_fdb_max_entry: "8192" + cert_chain_max: "8" + cfg_revert_timeout: "600" + cfg_save: "automatic" + check_protocol_header: "loose" + check_reset_range: "strict" + cli_audit_log: "enable" + cloud_communication: "enable" + clt_cert_req: "enable" + cmdbsvr_affinity: "" + compliance_check: "enable" + compliance_check_time: "" + cpu_use_threshold: "90" + csr_ca_attribute: "enable" + daily_restart: "enable" + default_service_source_port: "" + device_identification_active_scan_delay: "1800" + device_idle_timeout: "300" + dh_params: "1024" + dnsproxy_worker_count: "1" + dst: "enable" + early_tcp_npu_session: "enable" + edit_vdom_prompt: "enable" + endpoint_control_fds_access: "enable" + endpoint_control_portal_port: "32767" + extender_controller_reserved_network: "" + failtime: "5" + faz_disk_buffer_size: "0" + fds_statistics: "enable" + fds_statistics_period: "60" + fec_port: "50000" + fgd_alert_subscription: "advisory" + forticarrier_bypass: "enable" + forticonverter_config_upload: "once" + forticonverter_integration: "enable" + fortiextender: "disable" + fortiextender_data_port: "25246" + fortiextender_discovery_lockdown: "disable" + fortiextender_provision_on_authorization: "enable" + fortiextender_vlan_mode: "enable" + fortiipam_integration: "enable" + fortiservice_port: "8013" + fortitoken_cloud: "enable" + fortitoken_cloud_push_status: "enable" + fortitoken_cloud_sync_interval: "24" + gui_allow_default_hostname: "enable" + gui_allow_incompatible_fabric_fgt: "enable" + gui_app_detection_sdwan: "enable" + gui_auto_upgrade_setup_warning: "enable" + gui_cdn_domain_override: "" + gui_cdn_usage: "enable" + gui_certificates: "enable" + gui_custom_language: "enable" + gui_date_format: "yyyy/MM/dd" + gui_date_time_source: "system" + gui_device_latitude: "" + gui_device_longitude: "" + gui_display_hostname: "enable" + gui_firmware_upgrade_warning: "enable" + gui_forticare_registration_setup_warning: "enable" + gui_fortigate_cloud_sandbox: "enable" + gui_fortiguard_resource_fetch: "enable" + gui_fortisandbox_cloud: "enable" + gui_ipv6: "enable" + gui_lines_per_page: "500" + gui_local_out: "enable" + gui_replacement_message_groups: "enable" + gui_rest_api_cache: "enable" + gui_theme: "jade" + gui_wireless_opensecurity: "enable" + gui_workflow_management: "enable" + ha_affinity: "" + honor_df: "enable" + hostname: "myhostname" + igmp_state_limit: "3200" + interface_subnet_usage: "disable" + internet_service_database: "mini" + internet_service_download_list: + - + id: "126 (source firewall.internet-service.id)" + interval: "5" + ip_fragment_mem_thresholds: "32" + ip_src_port_range: "" + ips_affinity: "" + ipsec_asic_offload: "enable" + ipsec_ha_seqjump_rate: "10" + ipsec_hmac_offload: "enable" + ipsec_round_robin: "enable" + ipsec_soft_dec_async: "enable" + ipv6_accept_dad: "1" + ipv6_allow_anycast_probe: "enable" + ipv6_allow_local_in_slient_drop: "enable" + ipv6_allow_multicast_probe: "enable" + ipv6_allow_traffic_redirect: "enable" + irq_time_accounting: "auto" + language: "english" + ldapconntimeout: "500" + lldp_reception: "enable" + lldp_transmission: "enable" + log_single_cpu_high: "enable" + log_ssl_connection: "enable" + log_uuid: "disable" + log_uuid_address: "enable" + log_uuid_policy: "enable" + login_timestamp: "enable" + long_vdom_name: "enable" + management_ip: "" + management_port: "443" + management_port_use_admin_sport: "enable" + management_vdom: " (source system.vdom.name)" + max_dlpstat_memory: "157" + max_route_cache_size: "0" + mc_ttl_notchange: "enable" + memory_use_threshold_extreme: "95" + memory_use_threshold_green: "82" + memory_use_threshold_red: "88" + miglog_affinity: "" + miglogd_children: "0" + multi_factor_authentication: "optional" + multicast_forward: "enable" + ndp_max_entry: "0" + per_user_bal: "enable" + per_user_bwl: "enable" + pmtu_discovery: "enable" + policy_auth_concurrent: "0" + post_login_banner: "disable" + pre_login_banner: "enable" + private_data_encryption: "disable" + proxy_auth_lifetime: "enable" + proxy_auth_lifetime_timeout: "480" + proxy_auth_timeout: "10" + proxy_cert_use_mgmt_vdom: "enable" + proxy_cipher_hardware_acceleration: "disable" + proxy_hardware_acceleration: "disable" + proxy_keep_alive_mode: "session" + proxy_kxp_hardware_acceleration: "disable" + proxy_re_authentication_mode: "session" + proxy_re_authentication_time: "30" + proxy_resource_mode: "enable" + proxy_worker_count: "0" + quic_ack_thresold: "3" + quic_congestion_control_algo: "cubic" + quic_max_datagram_size: "1500" + quic_pmtud: "enable" + quic_tls_handshake_timeout: "5" + quic_udp_payload_size_shaping_per_cid: "enable" + radius_port: "1812" + reboot_upon_config_restore: "enable" + refresh: "0" + remoteauthtimeout: "5" + reset_sessionless_tcp: "enable" + restart_time: "" + revision_backup_on_logout: "enable" + revision_image_auto_backup: "enable" + scanunit_count: "0" + security_rating_result_submission: "enable" + security_rating_run_on_schedule: "enable" + send_pmtu_icmp: "enable" + sflowd_max_children_num: "6" + snat_route_change: "enable" + special_file_23_support: "disable" + speedtest_server: "enable" + split_port: "" + ssd_trim_date: "1" + ssd_trim_freq: "never" + ssd_trim_hour: "1" + ssd_trim_min: "60" + ssd_trim_weekday: "sunday" + ssh_cbc_cipher: "enable" + ssh_enc_algo: "chacha20-poly1305@openssh.com" + ssh_hmac_md5: "enable" + ssh_hostkey_algo: "ssh-rsa" + ssh_kex_algo: "diffie-hellman-group1-sha1" + ssh_kex_sha1: "enable" + ssh_mac_algo: "hmac-md5" + ssh_mac_weak: "enable" + ssl_min_proto_version: "SSLv3" + ssl_static_key_ciphers: "enable" + sslvpn_cipher_hardware_acceleration: "enable" + sslvpn_ems_sn_check: "enable" + sslvpn_kxp_hardware_acceleration: "enable" + sslvpn_max_worker_count: "0" + sslvpn_plugin_version_check: "enable" + sslvpn_web_mode: "enable" + strict_dirty_session_check: "enable" + strong_crypto: "enable" + switch_controller: "disable" + switch_controller_reserved_network: "" + sys_perf_log_interval: "5" + syslog_affinity: "" + tcp_halfclose_timer: "120" + tcp_halfopen_timer: "10" + tcp_option: "enable" + tcp_rst_timer: "5" + tcp_timewait_timer: "1" + tftp: "enable" + timezone: "01" + tp_mc_skip_policy: "enable" + traffic_priority: "tos" + traffic_priority_level: "low" + two_factor_email_expiry: "60" + two_factor_fac_expiry: "60" + two_factor_ftk_expiry: "60" + two_factor_ftm_expiry: "72" + two_factor_sms_expiry: "60" + udp_idle_timer: "180" + url_filter_affinity: "" + url_filter_count: "1" + user_device_store_max_devices: "20921" + user_device_store_max_unified_mem: "104609177" + user_device_store_max_users: "20921" + user_server_cert: " (source certificate.local.name)" + vdom_admin: "enable" + vdom_mode: "no-vdom" + vip_arp_range: "unlimited" + virtual_server_count: "20" + virtual_server_hardware_acceleration: "disable" + vpn_ems_sn_check: "enable" + wad_affinity: "" + wad_csvc_cs_count: "1" + wad_csvc_db_count: "0" + wad_memory_change_granularity: "10" + wad_restart_end_time: "" + wad_restart_mode: "none" + wad_restart_start_time: "" + wad_source_affinity: "disable" + wad_worker_count: "0" + wifi_ca_certificate: " (source certificate.ca.name)" + wifi_certificate: " (source certificate.local.name)" + wimax_4g_usb: "enable" + wireless_controller: "enable" + wireless_controller_port: "5246" """ RETURN = """ @@ -2183,7 +2245,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -2297,9 +2358,12 @@ def filter_system_global_data(json): "fortiipam_integration", "fortiservice_port", "fortitoken_cloud", + "fortitoken_cloud_push_status", + "fortitoken_cloud_sync_interval", "gui_allow_default_hostname", "gui_allow_incompatible_fabric_fgt", "gui_app_detection_sdwan", + "gui_auto_upgrade_setup_warning", "gui_cdn_domain_override", "gui_cdn_usage", "gui_certificates", @@ -2389,6 +2453,12 @@ def filter_system_global_data(json): "proxy_re_authentication_time", "proxy_resource_mode", "proxy_worker_count", + "quic_ack_thresold", + "quic_congestion_control_algo", + "quic_max_datagram_size", + "quic_pmtud", + "quic_tls_handshake_timeout", + "quic_udp_payload_size_shaping_per_cid", "radius_port", "reboot_upon_config_restore", "refresh", @@ -2426,6 +2496,7 @@ def filter_system_global_data(json): "sslvpn_kxp_hardware_acceleration", "sslvpn_max_worker_count", "sslvpn_plugin_version_check", + "sslvpn_web_mode", "strict_dirty_session_check", "strong_crypto", "switch_controller", @@ -2558,7 +2629,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "global") if data["system_global"]: resp = system_global(data, fos) @@ -2575,18845 +2645,1282 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "language": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "english", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "french", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spanish", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "portuguese", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "japanese", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trach", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "simch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "korean", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "english"}, + {"value": "french"}, + {"value": "spanish"}, + {"value": "portuguese"}, + {"value": "japanese"}, + {"value": "trach"}, + {"value": "simch"}, + {"value": "korean"}, ], }, "gui_allow_incompatible_fabric_fgt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.12", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_replacement_message_groups": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_local_out": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_certificates": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_custom_language": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_wireless_opensecurity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_app_detection_sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_display_hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_fortigate_cloud_sandbox": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_firmware_upgrade_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "gui_allow_default_hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "gui_forticare_registration_setup_warning": { + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "gui_forticare_registration_setup_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "gui_auto_upgrade_setup_warning": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_workflow_management": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_cdn_usage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "admin_https_ssl_versions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "tlsv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tlsv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tlsv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "tlsv1-0", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "tlsv1-1"}, + {"value": "tlsv1-2"}, + {"value": "tlsv1-3", "v_range": [["v6.2.0", ""]]}, + {"value": "tlsv1-0", "v_range": [["v6.0.0", "v6.0.11"]]}, ], "multiple_values": True, "elements": "str", }, "admin_https_ssl_ciphersuites": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "list", "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "TLS-AES-128-CCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "TLS-AES-128-CCM-8-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "TLS-AES-128-GCM-SHA256"}, + {"value": "TLS-AES-256-GCM-SHA384"}, + {"value": "TLS-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-AES-128-CCM-SHA256"}, + {"value": "TLS-AES-128-CCM-8-SHA256"}, ], "multiple_values": True, "elements": "str", }, "admin_https_ssl_banned_ciphers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "list", "options": [ - { - "value": "RSA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "DHE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ECDHE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "DSS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ECDSA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "AES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "AESGCM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "CAMELLIA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "3DES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "SHA1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "STATIC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "CHACHA20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ARIA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "AESCCM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "RSA"}, + {"value": "DHE"}, + {"value": "ECDHE"}, + {"value": "DSS"}, + {"value": "ECDSA"}, + {"value": "AES"}, + {"value": "AESGCM"}, + {"value": "CAMELLIA"}, + {"value": "3DES"}, + {"value": "SHA1"}, + {"value": "SHA256"}, + {"value": "SHA384"}, + {"value": "STATIC"}, + {"value": "CHACHA20"}, + {"value": "ARIA"}, + {"value": "AESCCM"}, ], "multiple_values": True, "elements": "str", }, - "admintimeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_console_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "admintimeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_console_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ssd_trim_freq": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "never", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hourly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "daily", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weekly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monthly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "never"}, + {"value": "hourly"}, + {"value": "daily"}, + {"value": "weekly"}, + {"value": "monthly"}, ], }, - "ssd_trim_hour": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssd_trim_min": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ssd_trim_hour": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ssd_trim_min": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ssd_trim_weekday": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], }, - "ssd_trim_date": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ssd_trim_date": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "admin_concurrent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "admin_lockout_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_lockout_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "refresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "failtime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "admin_lockout_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_lockout_duration": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "refresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "failtime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "daily_restart": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "restart_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "restart_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "wad_restart_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "none", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "time", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "memory", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "wad_restart_start_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "wad_restart_end_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "radius_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_login_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "remoteauthtimeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ldapconntimeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "batch_cmdb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "multi_factor_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mandatory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - }, - "autorun_log_fsck": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "timezone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "01", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "02", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "03", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "04", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "05", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "81", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "06", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "07", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "08", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "09", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "13", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "74", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "77", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "15", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "87", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "17", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "75", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "22", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "23", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "80", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "79", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "25", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "26", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "27", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "78", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "29", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "30", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "31", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "33", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "34", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "35", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "36", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "37", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "38", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "83", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "84", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "85", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "39", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "41", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "42", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "43", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "44", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "45", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "46", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "47", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "51", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "48", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "49", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "50", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "52", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "53", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "54", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "55", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "56", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "57", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "58", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "59", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "60", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "61", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "62", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "63", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "64", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "65", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "66", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "67", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "68", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "69", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "70", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "71", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "72", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "00", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "82", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "73", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "86", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "76", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "traffic_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tos", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dscp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "traffic_priority_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "anti_replay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "loose", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "send_pmtu_icmp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "honor_df": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "pmtu_discovery": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "revision_image_auto_backup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "revision_backup_on_logout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "management_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "alias": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "strong_crypto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_static_key_ciphers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssh_kex_algo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "list", - "options": [ - { - "value": "diffie-hellman-group1-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "diffie-hellman-group14-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "diffie-hellman-group-exchange-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "diffie-hellman-group-exchange-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "curve25519-sha256@libssh.org", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ecdh-sha2-nistp256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ecdh-sha2-nistp384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ecdh-sha2-nistp521", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "ssh_enc_algo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "list", - "options": [ - { - "value": "chacha20-poly1305@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes128-ctr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes192-ctr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes256-ctr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "arcfour256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "arcfour128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes128-cbc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "3des-cbc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "blowfish-cbc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "cast128-cbc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes192-cbc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes256-cbc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "arcfour", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "rijndael-cbc@lysator.liu.se", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes128-gcm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "aes256-gcm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "ssh_mac_algo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "list", - "options": [ - { - "value": "hmac-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-md5-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-md5-96", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-md5-96-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-sha1-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-sha2-256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-sha2-256-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-sha2-512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-sha2-512-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-ripemd160", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-ripemd160@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "hmac-ripemd160-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "umac-64@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "umac-128@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "umac-64-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "umac-128-etm@openssh.com", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "ssh_hostkey_algo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "list", - "options": [ - {"value": "ssh-rsa", "revisions": {"v7.4.0": True}}, - {"value": "ecdsa-sha2-nistp521", "revisions": {"v7.4.0": True}}, - {"value": "rsa-sha2-256", "revisions": {"v7.4.0": True}}, - {"value": "rsa-sha2-512", "revisions": {"v7.4.0": True}}, - {"value": "ssh-ed25519", "revisions": {"v7.4.0": True}}, - ], - "multiple_values": True, - "elements": "str", - }, - "snat_route_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "speedtest_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "cli_audit_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dh_params": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3072", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6144", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "fds_statistics": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "fds_statistics_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "lldp_transmission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "lldp_reception": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "proxy_auth_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "proxy_keep_alive_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "session", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "traffic", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "re-authentication", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], - }, - "proxy_re_authentication_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "proxy_auth_lifetime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "proxy_auth_lifetime_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "proxy_resource_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "proxy_cert_use_mgmt_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], - }, - "sys_perf_log_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "check_protocol_header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "loose", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vip_arp_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "unlimited", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "restricted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "reset_sessionless_tcp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "allow_traffic_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipv6_allow_traffic_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "strict_dirty_session_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "tcp_halfclose_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_halfopen_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_timewait_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcp_rst_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "udp_idle_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "block_session_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip_src_port_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "pre_login_banner": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "post_login_banner": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "tftp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "av_failopen": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "off", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "one-shot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "av_failopen_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "memory_use_threshold_extreme": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "memory_use_threshold_red": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "memory_use_threshold_green": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip_fragment_mem_thresholds": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "cpu_use_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "log_single_cpu_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "check_reset_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "admin_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_sport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "admin_https_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "admin_hsts_max_age": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_ssh_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "admin_restrict_local": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "admin_ssh_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_ssh_grace_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "admin_ssh_v1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "admin_telnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "time"}, {"value": "memory"}], }, - "admin_telnet_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "wad_restart_start_time": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "wad_restart_end_time": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "radius_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_login_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "remoteauthtimeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ldapconntimeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "batch_cmdb": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "admin_forticloud_sso_login": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "multi_factor_authentication": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "optional"}, {"value": "mandatory"}], + }, + "ssl_min_proto_version": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v6.2.0", ""]]}, ], }, - "admin_forticloud_sso_default_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "autorun_log_fsck": { + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "default_service_source_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "timezone": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "01"}, + {"value": "02"}, + {"value": "03"}, + {"value": "04"}, + {"value": "05"}, + {"value": "81"}, + {"value": "06"}, + {"value": "07"}, + {"value": "08"}, + {"value": "09"}, + {"value": "10"}, + {"value": "11"}, + {"value": "12"}, + {"value": "13"}, + {"value": "74"}, + {"value": "14"}, + {"value": "77"}, + {"value": "15"}, + {"value": "87"}, + {"value": "16"}, + {"value": "17"}, + {"value": "18"}, + {"value": "19"}, + {"value": "20"}, + {"value": "75"}, + {"value": "21"}, + {"value": "22"}, + {"value": "23"}, + {"value": "24"}, + {"value": "80"}, + {"value": "79"}, + {"value": "25"}, + {"value": "26"}, + {"value": "27"}, + {"value": "28"}, + {"value": "78"}, + {"value": "29"}, + {"value": "30"}, + {"value": "31"}, + {"value": "32"}, + {"value": "33"}, + {"value": "34"}, + {"value": "35"}, + {"value": "36"}, + {"value": "37"}, + {"value": "38"}, + {"value": "83"}, + {"value": "84"}, + {"value": "40"}, + {"value": "85"}, + {"value": "39"}, + {"value": "41"}, + {"value": "42"}, + {"value": "43"}, + {"value": "44"}, + {"value": "45"}, + {"value": "46"}, + {"value": "47"}, + {"value": "51"}, + {"value": "48"}, + {"value": "49"}, + {"value": "50"}, + {"value": "52"}, + {"value": "53"}, + {"value": "54"}, + {"value": "55"}, + {"value": "56"}, + {"value": "57"}, + {"value": "58"}, + {"value": "59"}, + {"value": "60"}, + {"value": "61"}, + {"value": "62"}, + {"value": "63"}, + {"value": "64"}, + {"value": "65"}, + {"value": "66"}, + {"value": "67"}, + {"value": "68"}, + {"value": "69"}, + {"value": "70"}, + {"value": "71"}, + {"value": "72"}, + {"value": "00"}, + {"value": "82"}, + {"value": "73"}, + {"value": "86"}, + {"value": "76"}, + ], + }, + "traffic_priority": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "tos"}, {"value": "dscp"}], }, - "admin_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "traffic_priority_level": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "low"}, {"value": "medium"}, {"value": "high"}], }, - "admin_https_pki_required": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "quic_congestion_control_algo": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "cubic"}, + {"value": "bbr"}, + {"value": "bbr2"}, + {"value": "reno"}, ], }, - "wifi_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "quic_max_datagram_size": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "quic_udp_payload_size_shaping_per_cid": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "wifi_ca_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "quic_ack_thresold": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "quic_pmtud": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auth_http_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "quic_tls_handshake_timeout": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "anti_replay": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "loose"}, {"value": "strict"}], }, - "auth_https_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "send_pmtu_icmp": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auth_ike_saml_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "honor_df": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auth_keepalive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "pmtu_discovery": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "policy_auth_concurrent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "revision_image_auto_backup": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auth_session_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "revision_backup_on_logout": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "block-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "logout-inactive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auth_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "management_vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hostname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "alias": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "strong_crypto": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "clt_cert_req": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ssl_static_key_ciphers": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ssh_kex_algo": { + "v_range": [["v7.0.2", ""]], + "type": "list", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "diffie-hellman-group1-sha1"}, + {"value": "diffie-hellman-group14-sha1"}, + {"value": "diffie-hellman-group14-sha256", "v_range": [["v7.4.1", ""]]}, + {"value": "diffie-hellman-group16-sha512", "v_range": [["v7.4.1", ""]]}, + {"value": "diffie-hellman-group18-sha512", "v_range": [["v7.4.1", ""]]}, + {"value": "diffie-hellman-group-exchange-sha1"}, + {"value": "diffie-hellman-group-exchange-sha256"}, + {"value": "curve25519-sha256@libssh.org"}, + {"value": "ecdh-sha2-nistp256"}, + {"value": "ecdh-sha2-nistp384"}, + {"value": "ecdh-sha2-nistp521"}, ], + "multiple_values": True, + "elements": "str", }, - "fortiservice_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "cfg_save": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "ssh_enc_algo": { + "v_range": [["v7.0.2", ""]], + "type": "list", "options": [ - { - "value": "automatic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "revert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "chacha20-poly1305@openssh.com"}, + {"value": "aes128-ctr"}, + {"value": "aes192-ctr"}, + {"value": "aes256-ctr"}, + {"value": "arcfour256"}, + {"value": "arcfour128"}, + {"value": "aes128-cbc"}, + {"value": "3des-cbc"}, + {"value": "blowfish-cbc"}, + {"value": "cast128-cbc"}, + {"value": "aes192-cbc"}, + {"value": "aes256-cbc"}, + {"value": "arcfour"}, + {"value": "rijndael-cbc@lysator.liu.se"}, + {"value": "aes128-gcm@openssh.com"}, + {"value": "aes256-gcm@openssh.com"}, ], + "multiple_values": True, + "elements": "str", }, - "cfg_revert_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "reboot_upon_config_restore": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "ssh_mac_algo": { + "v_range": [["v7.0.2", ""]], + "type": "list", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "hmac-md5"}, + {"value": "hmac-md5-etm@openssh.com"}, + {"value": "hmac-md5-96"}, + {"value": "hmac-md5-96-etm@openssh.com"}, + {"value": "hmac-sha1"}, + {"value": "hmac-sha1-etm@openssh.com"}, + {"value": "hmac-sha2-256"}, + {"value": "hmac-sha2-256-etm@openssh.com"}, + {"value": "hmac-sha2-512"}, + {"value": "hmac-sha2-512-etm@openssh.com"}, + {"value": "hmac-ripemd160"}, + {"value": "hmac-ripemd160@openssh.com"}, + {"value": "hmac-ripemd160-etm@openssh.com"}, + {"value": "umac-64@openssh.com"}, + {"value": "umac-128@openssh.com"}, + {"value": "umac-64-etm@openssh.com"}, + {"value": "umac-128-etm@openssh.com"}, ], + "multiple_values": True, + "elements": "str", }, - "admin_scp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "ssh_hostkey_algo": { + "v_range": [["v7.4.0", ""]], + "type": "list", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ssh-rsa"}, + {"value": "ecdsa-sha2-nistp521"}, + {"value": "rsa-sha2-256"}, + {"value": "rsa-sha2-512"}, + {"value": "ssh-ed25519"}, ], + "multiple_values": True, + "elements": "str", }, - "security_rating_result_submission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "snat_route_change": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "security_rating_run_on_schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "speedtest_server": { + "v_range": [["v7.0.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "cli_audit_log": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "dh_params": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, + {"value": "3072"}, + {"value": "4096"}, + {"value": "6144"}, + {"value": "8192"}, ], }, - "wireless_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "fds_statistics": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "fds_statistics_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_option": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "lldp_transmission": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "lldp_reception": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "proxy_auth_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "proxy_keep_alive_mode": { + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "session"}, + {"value": "traffic"}, + {"value": "re-authentication"}, ], }, - "wireless_controller_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "proxy_re_authentication_time": { + "v_range": [["v7.2.4", ""]], "type": "integer", }, - "fortiextender_data_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "proxy_auth_lifetime": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "fortiextender": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "proxy_auth_lifetime_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "proxy_resource_mode": { + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "extender_controller_reserved_network": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "proxy_cert_use_mgmt_vdom": { + "v_range": [["v7.0.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "fortiextender_discovery_lockdown": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "sys_perf_log_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "check_protocol_header": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "loose"}, {"value": "strict"}], }, - "fortiextender_vlan_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "vip_arp_range": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "unlimited"}, {"value": "restricted"}], }, - "fortiextender_provision_on_authorization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "reset_sessionless_tcp": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "switch_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "allow_traffic_redirect": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ipv6_allow_traffic_redirect": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "strict_dirty_session_check": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "tcp_halfclose_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_halfopen_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_timewait_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcp_rst_timer": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "udp_idle_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "block_session_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip_src_port_range": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pre_login_banner": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "post_login_banner": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "switch_controller_reserved_network": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "tftp": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dnsproxy_worker_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "av_failopen": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "pass"}, {"value": "off"}, {"value": "one-shot"}], }, - "url_filter_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "av_failopen_session": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "proxy_worker_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "memory_use_threshold_extreme": { + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "scanunit_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "memory_use_threshold_red": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "memory_use_threshold_green": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip_fragment_mem_thresholds": { + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], "type": "integer", }, - "fgd_alert_subscription": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "advisory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "latest-threat", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "latest-virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "latest-attack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "new-antivirus-db", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "new-attack-db", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "ipv6_accept_dad": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "cpu_use_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "log_single_cpu_high": { + "v_range": [["v7.2.4", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ipv6_allow_anycast_probe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "check_reset_range": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "strict"}, {"value": "disable"}], }, - "ipv6_allow_multicast_probe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "admin_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_sport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_host": { + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], }, - "ipv6_allow_local_in_slient_drop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "admin_https_redirect": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "csr_ca_attribute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "admin_hsts_max_age": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_ssh_password": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "wimax_4g_usb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "admin_restrict_local": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "cert_chain_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "admin_ssh_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_ssh_grace_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_ssh_v1": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sslvpn_max_worker_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "admin_telnet": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "vpn_ems_sn_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "admin_telnet_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "admin_forticloud_sso_login": { + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "two_factor_ftk_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "admin_forticloud_sso_default_profile": { + "v_range": [["v7.2.4", ""]], + "type": "string", }, - "two_factor_email_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "default_service_source_port": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "admin_server_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "admin_https_pki_required": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "two_factor_sms_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "wifi_certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wifi_ca_certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_http_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_https_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_ike_saml_port": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "auth_keepalive": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "two_factor_fac_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "policy_auth_concurrent": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_session_limit": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "block-new"}, {"value": "logout-inactive"}], }, - "two_factor_ftm_expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "auth_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "clt_cert_req": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "per_user_bal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "fortiservice_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "cfg_save": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "automatic"}, + {"value": "manual"}, + {"value": "revert"}, ], }, - "wad_worker_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "cfg_revert_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "reboot_upon_config_restore": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "wad_csvc_cs_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "admin_scp": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "wad_csvc_db_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "security_rating_result_submission": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "wad_source_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "security_rating_run_on_schedule": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "wad_memory_change_granularity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "wireless_controller": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "login_timestamp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "wireless_controller_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fortiextender_data_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fortiextender": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "miglogd_children": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "extender_controller_reserved_network": { + "v_range": [["v7.0.2", ""]], + "type": "string", }, - "special_file_23_support": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "fortiextender_discovery_lockdown": { + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "log_uuid_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "fortiextender_vlan_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "log_ssl_connection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "fortiextender_provision_on_authorization": { + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "gui_rest_api_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "switch_controller": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "switch_controller_reserved_network": { + "v_range": [["v6.0.0", ""]], "type": "string", + }, + "dnsproxy_worker_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "url_filter_count": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "proxy_worker_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "scanunit_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fgd_alert_subscription": { + "v_range": [["v6.0.0", ""]], + "type": "list", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "advisory"}, + {"value": "latest-threat"}, + {"value": "latest-virus"}, + {"value": "latest-attack"}, + {"value": "new-antivirus-db"}, + {"value": "new-attack-db"}, ], + "multiple_values": True, + "elements": "str", }, - "gui_cdn_domain_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "ipv6_accept_dad": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipv6_allow_anycast_probe": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "arp_max_entry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "ipv6_allow_multicast_probe": { + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ha_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "ipv6_allow_local_in_slient_drop": { + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "cmdbsvr_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "csr_ca_attribute": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "av_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "wimax_4g_usb": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "cert_chain_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sslvpn_max_worker_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vpn_ems_sn_check": { + "v_range": [["v7.4.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "sslvpn_web_mode": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "two_factor_ftk_expiry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "two_factor_email_expiry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "two_factor_sms_expiry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "two_factor_fac_expiry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "two_factor_ftm_expiry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "per_user_bal": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "wad_worker_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "wad_csvc_cs_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "wad_csvc_db_count": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "wad_source_affinity": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "wad_memory_change_granularity": { + "v_range": [["v6.2.0", ""]], + "type": "integer", }, - "wad_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "login_timestamp": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ips_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "miglogd_children": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "special_file_23_support": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "miglog_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "log_uuid_address": { + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "syslog_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "log_ssl_connection": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "url_filter_affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "gui_rest_api_cache": { + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ndp_max_entry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "br_fdb_max_entry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_route_cache_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "gui_cdn_domain_override": { + "v_range": [["v7.0.12", "v7.0.12"], ["v7.2.1", ""]], + "type": "string", + }, + "arp_max_entry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ha_affinity": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "cmdbsvr_affinity": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "av_affinity": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wad_affinity": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ips_affinity": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "miglog_affinity": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "syslog_affinity": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "url_filter_affinity": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ndp_max_entry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "br_fdb_max_entry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_route_cache_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ipsec_round_robin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [ + ["v7.0.6", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, + "v_range": [ + ["v7.0.6", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, "ipsec_soft_dec_async": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "device_idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "device_idle_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "user_device_store_max_devices": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "user_device_store_max_users": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "integer", }, + "user_device_store_max_users": {"v_range": [["v6.4.4", ""]], "type": "integer"}, "user_device_store_max_unified_mem": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, - "gui_device_latitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gui_device_longitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "gui_device_latitude": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gui_device_longitude": {"v_range": [["v6.0.0", ""]], "type": "string"}, "private_data_encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "auto_auth_extension_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_theme": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "jade", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "neutrino", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mariner", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "graphite", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "melongene", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jet-stream", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "security-fabric", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "retro", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "dark-matter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "onyx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "eclipse", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "green", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "blue", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "red", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "jade", "v_range": [["v7.0.0", ""]]}, + {"value": "neutrino", "v_range": [["v6.2.0", ""]]}, + {"value": "mariner"}, + {"value": "graphite", "v_range": [["v7.0.0", ""]]}, + {"value": "melongene"}, + {"value": "jet-stream", "v_range": [["v7.4.0", ""]]}, + {"value": "security-fabric", "v_range": [["v7.4.0", ""]]}, + {"value": "retro", "v_range": [["v7.0.0", ""]]}, + {"value": "dark-matter", "v_range": [["v7.0.0", ""]]}, + {"value": "onyx", "v_range": [["v7.0.0", ""]]}, + {"value": "eclipse", "v_range": [["v7.0.0", ""]]}, + {"value": "green", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "blue", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "red", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, "gui_date_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "yyyy/MM/dd", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dd/MM/yyyy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MM/dd/yyyy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "yyyy-MM-dd", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dd-MM-yyyy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MM-dd-yyyy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "yyyy/MM/dd"}, + {"value": "dd/MM/yyyy"}, + {"value": "MM/dd/yyyy"}, + {"value": "yyyy-MM-dd"}, + {"value": "dd-MM-yyyy"}, + {"value": "MM-dd-yyyy"}, ], }, "gui_date_time_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "system", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "browser", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "igmp_state_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "system"}, {"value": "browser"}], }, + "igmp_state_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "cloud_communication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ipsec_ha_seqjump_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ipsec_ha_seqjump_rate": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "fortitoken_cloud": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "faz_disk_buffer_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "fortitoken_cloud_push_status": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "fortitoken_cloud_sync_interval": { + "v_range": [["v7.4.1", ""]], "type": "integer", }, + "faz_disk_buffer_size": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "irq_time_accounting": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "force", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "management_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "force"}], }, - "management_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "management_ip": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "management_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "management_port_use_admin_sport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticonverter_integration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticonverter_config_upload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "once", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "once"}, {"value": "disable"}], }, "internet_service_database": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "options": [ - { - "value": "mini", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "on-demand", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - }, - }, + {"value": "mini"}, + {"value": "standard"}, + {"value": "full"}, + {"value": "on-demand", "v_range": [["v7.2.4", ""]]}, ], }, "internet_service_download_list": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": {"v7.4.0": True}, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "id": {"v_range": [["v7.4.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v7.4.0", ""]], }, "early_tcp_npu_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "interface_subnet_usage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "sflowd_max_children_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "sflowd_max_children_num": {"v_range": [["v7.2.4", ""]], "type": "integer"}, "split_port": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "vdom_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "no-vdom", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "multi-vdom", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "split-vdom", - "revisions": { - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "no-vdom"}, + {"value": "multi-vdom"}, + {"value": "split-vdom", "v_range": [["v6.2.0", "v7.0.12"]]}, ], }, "long_vdom_name": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "edit_vdom_prompt": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_hardware_acceleration": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ipsec_hmac_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sslvpn_ems_sn_check": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipsec_asic_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "proxy_re_authentication_mode": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "gui_allow_default_hostname": { + "v_range": [["v6.2.0", "v7.4.0"]], "type": "string", - "options": [ - { - "value": "session", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "traffic", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "absolute", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "admin_maintainer": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "sslvpn_ems_sn_check": { + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sslvpn_plugin_version_check": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "proxy_re_authentication_mode": { + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "session"}, + {"value": "traffic"}, + {"value": "absolute"}, ], }, - "dst": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "admin_maintainer": { + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "user_server_cert": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "sslvpn_plugin_version_check": { + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_kxp_hardware_acceleration": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sslvpn_cipher_hardware_acceleration": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "dst": { + "v_range": [["v6.0.0", "v7.2.0"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "user_server_cert": {"v_range": [["v6.0.0", "v7.2.0"]], "type": "string"}, "forticarrier_bypass": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.2.0": True, "v7.0.5": True, "v7.0.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.2.0": True, "v7.0.5": True, "v7.0.4": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_fortiguard_resource_fetch": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.0.8": True, "v7.0.7": True, "v7.0.6": True}, - }, - { - "value": "disable", - "revisions": {"v7.0.8": True, "v7.0.7": True, "v7.0.6": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_cbc_cipher": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_hmac_md5": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_kex_sha1": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssh_mac_weak": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "fec_port": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "fec_port": {"v_range": [["v6.2.0", "v7.0.1"]], "type": "integer"}, "fortiipam_integration": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.0.1": True, "v7.0.0": True, "v6.4.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.0.1": True, "v7.0.0": True, "v6.4.4": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_fortisandbox_cloud": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "per_user_bwl": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_lines_per_page": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "log_uuid_policy": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "max_dlpstat_memory": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "max_dlpstat_memory": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "proxy_kxp_hardware_acceleration": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "proxy_cipher_hardware_acceleration": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "device_identification_active_scan_delay": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "vdom_admin": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "enable", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "disable", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, "virtual_server_count": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "virtual_server_hardware_acceleration": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "multicast_forward": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mc_ttl_notchange": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "asymroute": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "endpoint_control_portal_port": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", }, "endpoint_control_fds_access": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tp_mc_skip_policy": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_uuid": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "policy-only", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "extended", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "disable"}, + {"value": "policy-only"}, + {"value": "extended"}, ], }, "compliance_check": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "compliance_check_time": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "compliance_check_time": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, } @@ -21435,6 +3942,7 @@ def main(): "required": False, "type": "dict", "default": None, + "no_log": True, "options": {}, }, } @@ -21448,6 +3956,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gre_tunnel.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gre_tunnel.py index 52a8e74d7..a1bdf2013 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gre_tunnel.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_gre_tunnel.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -185,41 +185,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure GRE tunnel. - fortios_system_gre_tunnel: - vdom: "{{ vdom }}" +- name: Configure GRE tunnel. + fortinet.fortios.fortios_system_gre_tunnel: + vdom: "{{ vdom }}" state: "present" access_token: "" system_gre_tunnel: - checksum_reception: "disable" - checksum_transmission: "disable" - diffservcode: "" - dscp_copying: "disable" - interface: " (source system.interface.name)" - ip_version: "4" - keepalive_failtimes: "10" - keepalive_interval: "0" - key_inbound: "0" - key_outbound: "0" - local_gw: "" - local_gw6: "" - name: "default_name_15" - remote_gw: "" - remote_gw6: "" - sequence_number_reception: "disable" - sequence_number_transmission: "disable" - use_sdwan: "disable" - + checksum_reception: "disable" + checksum_transmission: "disable" + diffservcode: "" + dscp_copying: "disable" + interface: " (source system.interface.name)" + ip_version: "4" + keepalive_failtimes: "10" + keepalive_interval: "0" + key_inbound: "0" + key_outbound: "0" + local_gw: "" + local_gw6: "" + name: "default_name_15" + remote_gw: "" + remote_gw6: "" + sequence_number_reception: "disable" + sequence_number_transmission: "disable" + use_sdwan: "disable" """ RETURN = """ @@ -278,7 +267,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -306,6 +294,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_gre_tunnel_data(json): @@ -354,7 +345,6 @@ def underscore_to_hyphen(data): def system_gre_tunnel(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -390,11 +380,16 @@ def system_gre_tunnel(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -442,13 +437,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "gre-tunnel") if data["system_gre_tunnel"]: resp = system_gre_tunnel(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_gre_tunnel")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -463,876 +457,128 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "remote_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "4"}, {"value": "6"}], }, + "remote_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, "use_sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sequence_number_transmission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, "sequence_number_reception": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, "checksum_transmission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, "checksum_reception": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.0.0", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, "key_outbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "integer", }, "key_inbound": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "integer", }, "dscp_copying": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "diffservcode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "keepalive_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "keepalive_failtimes": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "diffservcode": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "keepalive_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "keepalive_failtimes": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1367,6 +613,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha.py index 536fddad5..af4bb8263 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -164,7 +164,7 @@ options: type: str id: description: - - Table ID. + - Table ID. see Notes. required: true type: int interface: @@ -188,7 +188,7 @@ options: type: int hb_interval_in_milliseconds: description: - - 'Number of milliseconds for each heartbeat interval: 100ms or 10ms.' + - Units of heartbeat interval time between sending heartbeat packets. Default is 100ms. type: str choices: - '100ms' @@ -546,7 +546,7 @@ options: suboptions: id: description: - - Table ID. + - Table ID. see Notes. required: true type: int peer_ip: @@ -572,6 +572,15 @@ options: choices: - 'enable' - 'disable' + upgrade_mode: + description: + - The mode to upgrade a cluster. + type: str + choices: + - 'simultaneous' + - 'uninterruptible' + - 'local-only' + - 'secondary-only' vcluster: description: - Virtual cluster table. @@ -623,7 +632,7 @@ options: type: int vcluster_id: description: - - ID. + - ID. see Notes. required: true type: int vdom: @@ -666,135 +675,125 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure HA. - fortios_system_ha: - vdom: "{{ vdom }}" +- name: Configure HA. + fortinet.fortios.fortios_system_ha: + vdom: "{{ vdom }}" system_ha: - arps: "5" - arps_interval: "8" - authentication: "enable" - cpu_threshold: "" - encryption: "enable" - evpn_ttl: "60" - failover_hold_time: "0" - ftp_proxy_threshold: "" - gratuitous_arps: "enable" - group_id: "0" - group_name: "" - ha_direct: "enable" - ha_eth_type: "" - ha_mgmt_interfaces: - - - dst: "" - gateway: "" - gateway6: "" - id: "20" - interface: " (source system.interface.name)" - ha_mgmt_status: "enable" - ha_uptime_diff_margin: "300" - hb_interval: "2" - hb_interval_in_milliseconds: "100ms" - hb_lost_threshold: "20" - hbdev: "" - hc_eth_type: "" - hello_holddown: "20" - http_proxy_threshold: "" - imap_proxy_threshold: "" - inter_cluster_session_sync: "enable" - key: "" - l2ep_eth_type: "" - link_failed_signal: "enable" - load_balance_all: "enable" - logical_sn: "enable" - memory_based_failover: "enable" - memory_compatible_mode: "enable" - memory_failover_flip_timeout: "6" - memory_failover_monitor_period: "60" - memory_failover_sample_rate: "1" - memory_failover_threshold: "0" - memory_threshold: "" - mode: "standalone" - monitor: " (source system.interface.name)" - multicast_ttl: "600" - nntp_proxy_threshold: "" - override: "enable" - override_wait_time: "0" - password: "" - pingserver_failover_threshold: "0" - pingserver_flip_timeout: "60" - pingserver_monitor_interface: " (source system.interface.name)" - pingserver_secondary_force_reset: "enable" - pingserver_slave_force_reset: "enable" - pop3_proxy_threshold: "" - priority: "128" - route_hold: "10" - route_ttl: "10" - route_wait: "0" - schedule: "none" - secondary_vcluster: - monitor: " (source system.interface.name)" - override: "enable" - override_wait_time: "0" - pingserver_failover_threshold: "0" - pingserver_monitor_interface: " (source system.interface.name)" - pingserver_secondary_force_reset: "enable" - pingserver_slave_force_reset: "enable" - priority: "128" - vcluster_id: "1" - vdom: "" - session_pickup: "enable" - session_pickup_connectionless: "enable" - session_pickup_delay: "enable" - session_pickup_expectation: "enable" - session_pickup_nat: "enable" - session_sync_dev: " (source system.interface.name)" - smtp_proxy_threshold: "" - ssd_failover: "enable" - standalone_config_sync: "enable" - standalone_mgmt_vdom: "enable" - sync_config: "enable" - sync_packet_balance: "enable" - unicast_gateway: "" - unicast_hb: "enable" - unicast_hb_netmask: "" - unicast_hb_peerip: "" - unicast_peers: - - - id: "91" - peer_ip: "" - unicast_status: "enable" - uninterruptible_primary_wait: "30" - uninterruptible_upgrade: "enable" - vcluster: - - - monitor: " (source system.interface.name)" - override: "enable" - override_wait_time: "0" - pingserver_failover_threshold: "0" - pingserver_monitor_interface: " (source system.interface.name)" - pingserver_secondary_force_reset: "enable" - pingserver_slave_force_reset: "enable" - priority: "128" - vcluster_id: "1" - vdom: - - - name: "default_name_107 (source system.vdom.name)" - vcluster_id: "0" - vcluster_status: "enable" - vcluster2: "enable" - vdom: "" - weight: "" - + arps: "5" + arps_interval: "8" + authentication: "enable" + cpu_threshold: "" + encryption: "enable" + evpn_ttl: "60" + failover_hold_time: "0" + ftp_proxy_threshold: "" + gratuitous_arps: "enable" + group_id: "0" + group_name: "" + ha_direct: "enable" + ha_eth_type: "" + ha_mgmt_interfaces: + - + dst: "" + gateway: "" + gateway6: "" + id: "20" + interface: " (source system.interface.name)" + ha_mgmt_status: "enable" + ha_uptime_diff_margin: "300" + hb_interval: "2" + hb_interval_in_milliseconds: "100ms" + hb_lost_threshold: "20" + hbdev: "" + hc_eth_type: "" + hello_holddown: "20" + http_proxy_threshold: "" + imap_proxy_threshold: "" + inter_cluster_session_sync: "enable" + key: "" + l2ep_eth_type: "" + link_failed_signal: "enable" + load_balance_all: "enable" + logical_sn: "enable" + memory_based_failover: "enable" + memory_compatible_mode: "enable" + memory_failover_flip_timeout: "6" + memory_failover_monitor_period: "60" + memory_failover_sample_rate: "1" + memory_failover_threshold: "0" + memory_threshold: "" + mode: "standalone" + monitor: " (source system.interface.name)" + multicast_ttl: "600" + nntp_proxy_threshold: "" + override: "enable" + override_wait_time: "0" + password: "" + pingserver_failover_threshold: "0" + pingserver_flip_timeout: "60" + pingserver_monitor_interface: " (source system.interface.name)" + pingserver_secondary_force_reset: "enable" + pingserver_slave_force_reset: "enable" + pop3_proxy_threshold: "" + priority: "128" + route_hold: "10" + route_ttl: "10" + route_wait: "0" + schedule: "none" + secondary_vcluster: + monitor: " (source system.interface.name)" + override: "enable" + override_wait_time: "0" + pingserver_failover_threshold: "0" + pingserver_monitor_interface: " (source system.interface.name)" + pingserver_secondary_force_reset: "enable" + pingserver_slave_force_reset: "enable" + priority: "128" + vcluster_id: "1" + vdom: "" + session_pickup: "enable" + session_pickup_connectionless: "enable" + session_pickup_delay: "enable" + session_pickup_expectation: "enable" + session_pickup_nat: "enable" + session_sync_dev: " (source system.interface.name)" + smtp_proxy_threshold: "" + ssd_failover: "enable" + standalone_config_sync: "enable" + standalone_mgmt_vdom: "enable" + sync_config: "enable" + sync_packet_balance: "enable" + unicast_gateway: "" + unicast_hb: "enable" + unicast_hb_netmask: "" + unicast_hb_peerip: "" + unicast_peers: + - + id: "91" + peer_ip: "" + unicast_status: "enable" + uninterruptible_primary_wait: "30" + uninterruptible_upgrade: "enable" + upgrade_mode: "simultaneous" + vcluster: + - + monitor: " (source system.interface.name)" + override: "enable" + override_wait_time: "0" + pingserver_failover_threshold: "0" + pingserver_monitor_interface: " (source system.interface.name)" + pingserver_secondary_force_reset: "enable" + pingserver_slave_force_reset: "enable" + priority: "128" + vcluster_id: "" + vdom: + - + name: "default_name_108 (source system.vdom.name)" + vcluster_id: "0" + vcluster_status: "enable" + vcluster2: "enable" + vdom: "" + weight: "" """ RETURN = """ @@ -853,7 +852,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -955,6 +953,7 @@ def filter_system_ha_data(json): "unicast_status", "uninterruptible_primary_wait", "uninterruptible_upgrade", + "upgrade_mode", "vcluster", "vcluster_id", "vcluster_status", @@ -1044,7 +1043,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ha") if data["system_ha"]: resp = system_ha(data, fos) @@ -1061,4958 +1059,440 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "group_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "group_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "group_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "group_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "standalone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "a-a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "a-p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "standalone"}, {"value": "a-a"}, {"value": "a-p"}], }, "sync_packet_balance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "hbdev": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "unicast_hb": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [], "type": "string", "options": [ { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, - "unicast_hb_peerip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "unicast_hb_netmask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "unicast_hb_peerip": {"v_range": [], "type": "string"}, + "unicast_hb_netmask": {"v_range": [], "type": "string"}, "session_sync_dev": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, - "route_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "route_wait": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "route_hold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "multicast_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "evpn_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "route_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "route_wait": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "route_hold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "multicast_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "evpn_ttl": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "load_balance_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sync_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "hb_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "hb_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "hb_interval_in_milliseconds": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "100ms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "10ms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "hb_lost_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hello_holddown": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "100ms"}, {"value": "10ms"}], }, + "hb_lost_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hello_holddown": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "gratuitous_arps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "arps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "arps_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "arps": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "arps_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "session_pickup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "session_pickup_connectionless": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "session_pickup_expectation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "session_pickup_nat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "session_pickup_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "link_failed_signal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "uninterruptible_upgrade": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "upgrade_mode": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "simultaneous"}, + {"value": "uninterruptible"}, + {"value": "local-only"}, + {"value": "secondary-only"}, ], }, "uninterruptible_primary_wait": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, "standalone_mgmt_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ha_mgmt_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ha_mgmt_interfaces": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ha_eth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hc_eth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "l2ep_eth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ha_uptime_diff_margin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway6": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "ha_eth_type": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hc_eth_type": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "l2ep_eth_type": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ha_uptime_diff_margin": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "standalone_config_sync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unicast_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [], "type": "string", "options": [ { "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, { "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], }, ], }, - "unicast_gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "unicast_gateway": {"v_range": [], "type": "string"}, "unicast_peers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], "type": "integer", "required": True, }, "peer_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [ + ["v7.0.0", "v7.0.12"], + ["v7.2.1", "v7.2.2"], + ["v7.4.0", ""], + ], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [], }, "logical_sn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "leastconnection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weight-round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "random", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipport", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hub", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "leastconnection"}, + {"value": "round-robin"}, + {"value": "weight-round-robin"}, + {"value": "random"}, + {"value": "ip"}, + {"value": "ipport"}, + {"value": "hub", "v_range": [["v6.0.0", "v7.2.0"]]}, ], }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cpu_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "memory_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_proxy_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ftp_proxy_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "imap_proxy_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "nntp_proxy_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "pop3_proxy_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "smtp_proxy_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "weight": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cpu_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "memory_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_proxy_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ftp_proxy_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "imap_proxy_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "nntp_proxy_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pop3_proxy_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "smtp_proxy_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, "override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "override_wait_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "override_wait_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "pingserver_monitor_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "pingserver_failover_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "pingserver_secondary_force_reset": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "pingserver_flip_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "pingserver_flip_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "vcluster_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vcluster": { "type": "list", "elements": "dict", "children": { "vcluster_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", "required": True, }, "override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", - }, - "override_wait_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "priority": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "override_wait_time": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "monitor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "pingserver_monitor_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "pingserver_failover_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, "pingserver_secondary_force_reset": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vdom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], }, "pingserver_slave_force_reset": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.2.0": True}}, - {"value": "disable", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "ha_direct": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssd_failover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "memory_compatible_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "memory_based_failover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "memory_failover_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "memory_failover_threshold": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "memory_failover_monitor_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "memory_failover_sample_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", }, + "memory_failover_sample_rate": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "memory_failover_flip_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", }, - "failover_hold_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "pingserver_slave_force_reset": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "failover_hold_time": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "uninterruptible_upgrade": { + "v_range": [["v6.0.0", "v7.4.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "vdom": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "pingserver_slave_force_reset": { + "v_range": [["v6.0.0", "v6.4.1"], ["v7.2.0", "v7.2.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vdom": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, "vcluster2": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secondary_vcluster": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "dict", "children": { "override": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "priority": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "priority": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "integer"}, "override_wait_time": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "integer", }, "monitor": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "list", "multiple_values": True, "elements": "str", }, "pingserver_monitor_interface": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "list", "multiple_values": True, "elements": "str", }, "pingserver_failover_threshold": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.12"]], "type": "integer", }, "pingserver_secondary_force_reset": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "vdom": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vcluster_id": { - "revisions": { - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vdom": {"v_range": [["v6.0.0", "v7.0.12"]], "type": "string"}, + "vcluster_id": {"v_range": [["v6.0.0", "v7.0.5"]], "type": "integer"}, "pingserver_slave_force_reset": { - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, - "vcluster_id": { - "revisions": { - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "vcluster_id": {"v_range": [["v6.0.0", "v7.0.5"]], "type": "integer"}, "inter_cluster_session_sync": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -6048,6 +1528,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha_monitor.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha_monitor.py index a660e0605..e3f8b92f2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha_monitor.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ha_monitor.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -98,24 +98,13 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure HA monitor. - fortios_system_ha_monitor: - vdom: "{{ vdom }}" +- name: Configure HA monitor. + fortinet.fortios.fortios_system_ha_monitor: + vdom: "{{ vdom }}" system_ha_monitor: - monitor_vlan: "enable" - vlan_hb_interval: "5" - vlan_hb_lost_threshold: "3" - + monitor_vlan: "enable" + vlan_hb_interval: "5" + vlan_hb_lost_threshold: "3" """ RETURN = """ @@ -174,7 +163,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -247,7 +235,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ha-monitor") if data["system_ha_monitor"]: resp = system_ha_monitor(data, fos) @@ -264,181 +251,16 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "monitor_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vlan_hb_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vlan_hb_lost_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vlan_hb_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vlan_hb_lost_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -473,6 +295,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ike.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ike.py index 78843858a..b7ceac35e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ike.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ike.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -531,96 +531,85 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IKE global attributes. - fortios_system_ike: - vdom: "{{ vdom }}" +- name: Configure IKE global attributes. + fortinet.fortios.fortios_system_ike: + vdom: "{{ vdom }}" system_ike: - dh_group_1: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_14: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_15: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_16: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_17: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_18: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_19: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_2: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_20: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_21: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_27: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_28: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_29: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_30: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_31: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_32: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_group_5: - keypair_cache: "global" - keypair_count: "0" - mode: "software" - dh_keypair_cache: "enable" - dh_keypair_count: "100" - dh_keypair_throttle: "enable" - dh_mode: "software" - dh_multiprocess: "enable" - dh_worker_count: "0" - embryonic_limit: "10000" - + dh_group_1: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_14: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_15: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_16: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_17: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_18: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_19: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_2: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_20: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_21: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_27: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_28: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_29: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_30: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_31: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_32: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_group_5: + keypair_cache: "global" + keypair_count: "0" + mode: "software" + dh_keypair_cache: "enable" + dh_keypair_count: "100" + dh_keypair_throttle: "enable" + dh_mode: "software" + dh_multiprocess: "enable" + dh_worker_count: "0" + embryonic_limit: "10000" """ RETURN = """ @@ -679,7 +668,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -775,7 +763,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ike") if data["system_ike"]: resp = system_ike(data, fos) @@ -792,3324 +779,387 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { - "embryonic_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, + "embryonic_limit": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "dh_multiprocess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "dh_worker_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dh_worker_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "dh_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "software"}, {"value": "hardware"}], }, "dh_keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "dh_keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dh_keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "dh_keypair_throttle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dh_group_1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_5": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_14": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_15": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_16": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_17": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_18": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_19": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_20": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_21": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_27": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_28": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_29": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_30": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_31": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, "dh_group_32": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "software", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "hardware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "software"}, + {"value": "hardware"}, + {"value": "global"}, ], }, "keypair_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "keypair_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "global"}, {"value": "custom"}], }, + "keypair_count": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, }, }, @@ -4146,6 +1196,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_interface.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_interface.py index 3b04f9374..a1ee1706b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_interface.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_interface.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -232,7 +232,7 @@ options: type: int id: description: - - ID. + - ID. see Notes. required: true type: int ip: @@ -367,6 +367,10 @@ options: choices: - 'enable' - 'disable' + dhcp_relay_circuit_id: + description: + - DHCP relay circuit ID. + type: str dhcp_relay_interface: description: - Specify outgoing interface to reach server. Source system.interface.name. @@ -402,6 +406,10 @@ options: choices: - 'disable' - 'enable' + dhcp_relay_source_ip: + description: + - IP address used by the DHCP relay as its source IP. + type: str dhcp_relay_type: description: - DHCP relay type (regular or IPsec). @@ -826,7 +834,7 @@ options: suboptions: iaid: description: - - Identity association identifier. + - Identity association identifier. see Notes. required: true type: int prefix_hint: @@ -867,6 +875,10 @@ options: description: - DHCPv6 prefix hint valid life time (sec). type: int + dhcp6_relay_interface_id: + description: + - DHCP6 relay interface ID. + type: str dhcp6_relay_ip: description: - DHCPv6 relay IP address. @@ -886,6 +898,10 @@ options: choices: - 'disable' - 'enable' + dhcp6_relay_source_ip: + description: + - IPv6 address used by the DHCP6 relay as its source IP. + type: str dhcp6_relay_type: description: - DHCPv6 relay type. @@ -956,7 +972,7 @@ options: - 'disable' prefix_id: description: - - Prefix ID. + - Prefix ID. see Notes. required: true type: int rdnss: @@ -1218,7 +1234,7 @@ options: type: int vrid: description: - - Virtual router identifier (1 - 255). + - Virtual router identifier (1 - 255). see Notes. required: true type: int vrip6: @@ -1616,7 +1632,7 @@ options: type: int id: description: - - ID. + - ID. see Notes. required: true type: int ip: @@ -1705,6 +1721,7 @@ options: - '10000full' - '10000auto' - '40000full' + - '40000auto' - '100Gfull' - '1000half' spillover_threshold: @@ -1893,6 +1910,24 @@ options: choices: - 'disable' - 'enable' + switch_controller_offload: + description: + - Enable/disable managed FortiSwitch routing offload. + type: str + choices: + - 'enable' + - 'disable' + switch_controller_offload_gw: + description: + - Enable/disable managed FortiSwitch routing offload gateway. + type: str + choices: + - 'enable' + - 'disable' + switch_controller_offload_ip: + description: + - IP for routing offload on FortiSwitch. + type: str switch_controller_rspan_mode: description: - Stop Layer2 MAC learning and interception of BPDUs and other packets on this interface. @@ -2077,7 +2112,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int ip: @@ -2117,7 +2152,7 @@ options: type: int vrid: description: - - Virtual router identifier (1 - 255). + - Virtual router identifier (1 - 255). see Notes. required: true type: int vrip: @@ -2149,393 +2184,389 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure interfaces. - fortios_system_interface: - vdom: "{{ vdom }}" +- name: Configure interfaces. + fortinet.fortios.fortios_system_interface: + vdom: "{{ vdom }}" state: "present" access_token: "" system_interface: - ac_name: "" - aggregate: "" - aggregate_type: "physical" - algorithm: "L2" - alias: "" - allowaccess: "ping" - ap_discover: "enable" - arpforward: "enable" - auth_cert: " (source vpn.certificate.local.name)" - auth_portal_addr: "" - auth_type: "auto" - auto_auth_extension_device: "enable" - bandwidth_measure_time: "0" - bfd: "global" - bfd_desired_min_tx: "250" - bfd_detect_mult: "3" - bfd_required_min_rx: "250" - broadcast_forticlient_discovery: "enable" - broadcast_forward: "enable" - captive_portal: "2147483647" - cli_conn_status: "0" - client_options: - - - code: "0" - id: "26" - ip: "" - type: "hex" - value: "" - color: "0" - dedicated_to: "none" - default_purdue_level: "1" - defaultgw: "enable" - description: "" - detected_peer_mtu: "0" - detectprotocol: "ping" - detectserver: "" - device_access_list: "" - device_identification: "enable" - device_identification_active_scan: "enable" - device_netscan: "disable" - device_user_identification: "enable" - devindex: "0" - dhcp_broadcast_flag: "disable" - dhcp_classless_route_addition: "enable" - dhcp_client_identifier: "myId_46" - dhcp_relay_agent_option: "enable" - dhcp_relay_interface: " (source system.interface.name)" - dhcp_relay_interface_select_method: "auto" - dhcp_relay_ip: "" - dhcp_relay_link_selection: "" - dhcp_relay_request_all_server: "disable" - dhcp_relay_service: "disable" - dhcp_relay_type: "regular" - dhcp_renew_time: "0" - dhcp_smart_relay: "disable" - dhcp_snooping_server_list: - - - name: "default_name_58" - server_ip: "" - disc_retry_timeout: "1" - disconnect_threshold: "0" - distance: "5" - dns_server_override: "enable" - dns_server_protocol: "cleartext" - drop_fragment: "enable" - drop_overlapped_fragment: "enable" - eap_ca_cert: " (source certificate.ca.name)" - eap_identity: "" - eap_method: "tls" - eap_password: "" - eap_supplicant: "enable" - eap_user_cert: " (source certificate.local.name)" - egress_cos: "disable" - egress_queues: - cos0: " (source system.isf-queue-profile.name)" - cos1: " (source system.isf-queue-profile.name)" - cos2: " (source system.isf-queue-profile.name)" - cos3: " (source system.isf-queue-profile.name)" - cos4: " (source system.isf-queue-profile.name)" - cos5: " (source system.isf-queue-profile.name)" - cos6: " (source system.isf-queue-profile.name)" - cos7: " (source system.isf-queue-profile.name)" - egress_shaping_profile: " (source firewall.shaping-profile.profile-name)" - endpoint_compliance: "enable" - estimated_downstream_bandwidth: "0" - estimated_upstream_bandwidth: "0" - explicit_ftp_proxy: "enable" - explicit_web_proxy: "enable" - external: "enable" - fail_action_on_extender: "soft-restart" - fail_alert_interfaces: - - - name: "default_name_92 (source system.interface.name)" - fail_alert_method: "link-failed-signal" - fail_detect: "enable" - fail_detect_option: "detectserver" - fortiheartbeat: "enable" - fortilink: "enable" - fortilink_backup_link: "0" - fortilink_neighbor_detect: "lldp" - fortilink_split_interface: "enable" - fortilink_stacking: "enable" - forward_domain: "0" - gi_gk: "enable" - gwdetect: "enable" - ha_priority: "1" - icmp_accept_redirect: "enable" - icmp_send_redirect: "enable" - ident_accept: "enable" - idle_timeout: "0" - ike_saml_server: " (source user.saml.name)" - inbandwidth: "0" - ingress_cos: "disable" - ingress_shaping_profile: " (source firewall.shaping-profile.profile-name)" - ingress_spillover_threshold: "0" - interface: " (source system.interface.name)" - internal: "0" - ip: "" - ip_managed_by_fortiipam: "inherit-global" - ipmac: "enable" - ips_sniffer_mode: "enable" - ipunnumbered: "" - ipv6: - autoconf: "enable" - cli_conn6_status: "0" - dhcp6_client_options: "rapid" - dhcp6_iapd_list: - - - iaid: "0" - prefix_hint: "" - prefix_hint_plt: "604800" - prefix_hint_vlt: "2592000" - dhcp6_information_request: "enable" - dhcp6_prefix_delegation: "enable" - dhcp6_prefix_hint: "" - dhcp6_prefix_hint_plt: "604800" - dhcp6_prefix_hint_vlt: "2592000" - dhcp6_relay_ip: "" - dhcp6_relay_service: "disable" - dhcp6_relay_source_interface: "disable" - dhcp6_relay_type: "regular" - icmp6_send_redirect: "enable" - interface_identifier: "myId_141" - ip6_address: "" - ip6_allowaccess: "ping" - ip6_default_life: "1800" - ip6_delegated_prefix_iaid: "0" - ip6_delegated_prefix_list: - - - autonomous_flag: "enable" - delegated_prefix_iaid: "0" - onlink_flag: "enable" - prefix_id: "0" - rdnss: "" - rdnss_service: "delegated" - subnet: "" - upstream_interface: " (source system.interface.name)" - ip6_dns_server_override: "enable" - ip6_extra_addr: - - - prefix: "" - ip6_hop_limit: "0" - ip6_link_mtu: "0" - ip6_manage_flag: "enable" - ip6_max_interval: "600" - ip6_min_interval: "198" - ip6_mode: "static" - ip6_other_flag: "enable" - ip6_prefix_list: - - - autonomous_flag: "enable" - dnssl: - - - domain: "" - onlink_flag: "enable" - preferred_life_time: "604800" - prefix: "" - rdnss: "" - valid_life_time: "2592000" - ip6_prefix_mode: "dhcp6" - ip6_reachable_time: "0" - ip6_retrans_time: "0" - ip6_send_adv: "enable" - ip6_subnet: "" - ip6_upstream_interface: " (source system.interface.name)" - nd_cert: " (source certificate.local.name)" - nd_cga_modifier: "" - nd_mode: "basic" - nd_security_level: "0" - nd_timestamp_delta: "300" - nd_timestamp_fuzz: "1" - ra_send_mtu: "enable" - unique_autoconf_addr: "enable" - vrip6_link_local: "" - vrrp_virtual_mac6: "enable" - vrrp6: - - - accept_mode: "enable" - adv_interval: "1" - preempt: "enable" - priority: "100" - start_time: "3" - status: "enable" - vrdst6: "" - vrgrp: "0" - vrid: "0" - vrip6: "" - l2forward: "enable" - lacp_ha_secondary: "enable" - lacp_ha_slave: "enable" - lacp_mode: "static" - lacp_speed: "slow" - lcp_echo_interval: "5" - lcp_max_echo_fails: "3" - link_up_delay: "50" - lldp_network_policy: " (source system.lldp.network-policy.name)" - lldp_reception: "enable" - lldp_transmission: "enable" - macaddr: "" - managed_device: - - - name: "default_name_214" - managed_subnetwork_size: "32" - management_ip: "" - measured_downstream_bandwidth: "0" - measured_upstream_bandwidth: "0" - mediatype: "cfp2-sr10" - member: - - - interface_name: " (source system.interface.name)" - min_links: "1" - min_links_down: "operational" - mode: "static" - monitor_bandwidth: "enable" - mtu: "1500" - mtu_override: "enable" - name: "default_name_228" - ndiscforward: "enable" - netbios_forward: "disable" - netflow_sampler: "disable" - outbandwidth: "0" - padt_retry_timeout: "1" - password: "" - ping_serv_status: "0" - polling_interval: "20" - pppoe_unnumbered_negotiate: "enable" - pptp_auth_type: "auto" - pptp_client: "enable" - pptp_password: "" - pptp_server_ip: "" - pptp_timeout: "0" - pptp_user: "" - preserve_session_route: "enable" - priority: "1" - priority_override: "enable" - proxy_captive_portal: "enable" - reachable_time: "30000" - redundant_interface: "" - remote_ip: "" - replacemsg_override_group: "" - ring_rx: "0" - ring_tx: "0" - role: "lan" - sample_direction: "tx" - sample_rate: "2000" - scan_botnet_connections: "disable" - secondary_IP: "enable" - secondaryip: - - - allowaccess: "ping" - detectprotocol: "ping" - detectserver: "" - gwdetect: "enable" - ha_priority: "1" - id: "265" - ip: "" - ping_serv_status: "0" - secip_relay_ip: "" - security_exempt_list: "" - security_external_logout: "" - security_external_web: "" - security_groups: - - - name: "default_name_273 (source user.group.name)" - security_mac_auth_bypass: "mac-auth-only" - security_mode: "none" - security_redirect_url: "" - service_name: "" - sflow_sampler: "enable" - snmp_index: "0" - speed: "auto" - spillover_threshold: "0" - src_check: "enable" - status: "up" - stp: "disable" - stp_ha_secondary: "disable" - stp_ha_slave: "disable" - stpforward: "enable" - stpforward_mode: "rpl-all-ext-id" - subst: "enable" - substitute_dst_mac: "" - sw_algorithm: "l2" - swc_first_create: "0" - swc_vlan: "0" - switch: "" - switch_controller_access_vlan: "enable" - switch_controller_arp_inspection: "enable" - switch_controller_dhcp_snooping: "enable" - switch_controller_dhcp_snooping_option82: "enable" - switch_controller_dhcp_snooping_verify_mac: "enable" - switch_controller_dynamic: " (source switch-controller.fortilink-settings.name)" - switch_controller_feature: "none" - switch_controller_igmp_snooping: "enable" - switch_controller_igmp_snooping_fast_leave: "enable" - switch_controller_igmp_snooping_proxy: "enable" - switch_controller_iot_scanning: "enable" - switch_controller_learning_limit: "0" - switch_controller_mgmt_vlan: "4094" - switch_controller_nac: " (source switch-controller.fortilink-settings.name)" - switch_controller_netflow_collect: "disable" - switch_controller_rspan_mode: "disable" - switch_controller_source_ip: "outbound" - switch_controller_traffic_policy: " (source switch-controller.traffic-policy.name)" - system_id: "" - system_id_type: "auto" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_317" - tags: - - - name: "default_name_319 (source system.object-tagging.tags.name)" - tcp_mss: "0" - trust_ip_1: "" - trust_ip_2: "" - trust_ip_3: "" - trust_ip6_1: "" - trust_ip6_2: "" - trust_ip6_3: "" - type: "physical" - username: "" - vdom: " (source system.vdom.name)" - vindex: "0" - vlan_protocol: "8021q" - vlanforward: "enable" - vlanid: "0" - vrf: "0" - vrrp: - - - accept_mode: "enable" - adv_interval: "1" - ignore_default_route: "enable" - preempt: "enable" - priority: "100" - proxy_arp: - - - id: "342" - ip: "" - start_time: "3" - status: "enable" - version: "2" - vrdst: "" - vrdst_priority: "0" - vrgrp: "0" - vrid: "0" - vrip: "" - vrrp_virtual_mac: "enable" - wccp: "enable" - weight: "0" - wins_ip: "" - + ac_name: "" + aggregate: "" + aggregate_type: "physical" + algorithm: "L2" + alias: "" + allowaccess: "ping" + ap_discover: "enable" + arpforward: "enable" + auth_cert: " (source vpn.certificate.local.name)" + auth_portal_addr: "" + auth_type: "auto" + auto_auth_extension_device: "enable" + bandwidth_measure_time: "0" + bfd: "global" + bfd_desired_min_tx: "250" + bfd_detect_mult: "3" + bfd_required_min_rx: "250" + broadcast_forticlient_discovery: "enable" + broadcast_forward: "enable" + captive_portal: "2147483647" + cli_conn_status: "0" + client_options: + - + code: "0" + id: "26" + ip: "" + type: "hex" + value: "" + color: "0" + dedicated_to: "none" + default_purdue_level: "1" + defaultgw: "enable" + description: "" + detected_peer_mtu: "0" + detectprotocol: "ping" + detectserver: "" + device_access_list: "" + device_identification: "enable" + device_identification_active_scan: "enable" + device_netscan: "disable" + device_user_identification: "enable" + devindex: "0" + dhcp_broadcast_flag: "disable" + dhcp_classless_route_addition: "enable" + dhcp_client_identifier: "myId_46" + dhcp_relay_agent_option: "enable" + dhcp_relay_circuit_id: "" + dhcp_relay_interface: " (source system.interface.name)" + dhcp_relay_interface_select_method: "auto" + dhcp_relay_ip: "" + dhcp_relay_link_selection: "" + dhcp_relay_request_all_server: "disable" + dhcp_relay_service: "disable" + dhcp_relay_source_ip: "" + dhcp_relay_type: "regular" + dhcp_renew_time: "0" + dhcp_smart_relay: "disable" + dhcp_snooping_server_list: + - + name: "default_name_60" + server_ip: "" + disc_retry_timeout: "1" + disconnect_threshold: "0" + distance: "5" + dns_server_override: "enable" + dns_server_protocol: "cleartext" + drop_fragment: "enable" + drop_overlapped_fragment: "enable" + eap_ca_cert: " (source certificate.ca.name)" + eap_identity: "" + eap_method: "tls" + eap_password: "" + eap_supplicant: "enable" + eap_user_cert: " (source certificate.local.name)" + egress_cos: "disable" + egress_queues: + cos0: " (source system.isf-queue-profile.name)" + cos1: " (source system.isf-queue-profile.name)" + cos2: " (source system.isf-queue-profile.name)" + cos3: " (source system.isf-queue-profile.name)" + cos4: " (source system.isf-queue-profile.name)" + cos5: " (source system.isf-queue-profile.name)" + cos6: " (source system.isf-queue-profile.name)" + cos7: " (source system.isf-queue-profile.name)" + egress_shaping_profile: " (source firewall.shaping-profile.profile-name)" + endpoint_compliance: "enable" + estimated_downstream_bandwidth: "0" + estimated_upstream_bandwidth: "0" + explicit_ftp_proxy: "enable" + explicit_web_proxy: "enable" + external: "enable" + fail_action_on_extender: "soft-restart" + fail_alert_interfaces: + - + name: "default_name_94 (source system.interface.name)" + fail_alert_method: "link-failed-signal" + fail_detect: "enable" + fail_detect_option: "detectserver" + fortiheartbeat: "enable" + fortilink: "enable" + fortilink_backup_link: "0" + fortilink_neighbor_detect: "lldp" + fortilink_split_interface: "enable" + fortilink_stacking: "enable" + forward_domain: "0" + gi_gk: "enable" + gwdetect: "enable" + ha_priority: "1" + icmp_accept_redirect: "enable" + icmp_send_redirect: "enable" + ident_accept: "enable" + idle_timeout: "0" + ike_saml_server: " (source user.saml.name)" + inbandwidth: "0" + ingress_cos: "disable" + ingress_shaping_profile: " (source firewall.shaping-profile.profile-name)" + ingress_spillover_threshold: "0" + interface: " (source system.interface.name)" + internal: "0" + ip: "" + ip_managed_by_fortiipam: "inherit-global" + ipmac: "enable" + ips_sniffer_mode: "enable" + ipunnumbered: "" + ipv6: + autoconf: "enable" + cli_conn6_status: "0" + dhcp6_client_options: "rapid" + dhcp6_iapd_list: + - + iaid: "" + prefix_hint: "" + prefix_hint_plt: "604800" + prefix_hint_vlt: "2592000" + dhcp6_information_request: "enable" + dhcp6_prefix_delegation: "enable" + dhcp6_prefix_hint: "" + dhcp6_prefix_hint_plt: "604800" + dhcp6_prefix_hint_vlt: "2592000" + dhcp6_relay_interface_id: "" + dhcp6_relay_ip: "" + dhcp6_relay_service: "disable" + dhcp6_relay_source_interface: "disable" + dhcp6_relay_source_ip: "" + dhcp6_relay_type: "regular" + icmp6_send_redirect: "enable" + interface_identifier: "myId_145" + ip6_address: "" + ip6_allowaccess: "ping" + ip6_default_life: "1800" + ip6_delegated_prefix_iaid: "0" + ip6_delegated_prefix_list: + - + autonomous_flag: "enable" + delegated_prefix_iaid: "0" + onlink_flag: "enable" + prefix_id: "" + rdnss: "" + rdnss_service: "delegated" + subnet: "" + upstream_interface: " (source system.interface.name)" + ip6_dns_server_override: "enable" + ip6_extra_addr: + - + prefix: "" + ip6_hop_limit: "0" + ip6_link_mtu: "0" + ip6_manage_flag: "enable" + ip6_max_interval: "600" + ip6_min_interval: "198" + ip6_mode: "static" + ip6_other_flag: "enable" + ip6_prefix_list: + - + autonomous_flag: "enable" + dnssl: + - + domain: "" + onlink_flag: "enable" + preferred_life_time: "604800" + prefix: "" + rdnss: "" + valid_life_time: "2592000" + ip6_prefix_mode: "dhcp6" + ip6_reachable_time: "0" + ip6_retrans_time: "0" + ip6_send_adv: "enable" + ip6_subnet: "" + ip6_upstream_interface: " (source system.interface.name)" + nd_cert: " (source certificate.local.name)" + nd_cga_modifier: "" + nd_mode: "basic" + nd_security_level: "0" + nd_timestamp_delta: "300" + nd_timestamp_fuzz: "1" + ra_send_mtu: "enable" + unique_autoconf_addr: "enable" + vrip6_link_local: "" + vrrp_virtual_mac6: "enable" + vrrp6: + - + accept_mode: "enable" + adv_interval: "1" + preempt: "enable" + priority: "100" + start_time: "3" + status: "enable" + vrdst6: "" + vrgrp: "0" + vrid: "" + vrip6: "" + l2forward: "enable" + lacp_ha_secondary: "enable" + lacp_ha_slave: "enable" + lacp_mode: "static" + lacp_speed: "slow" + lcp_echo_interval: "5" + lcp_max_echo_fails: "3" + link_up_delay: "50" + lldp_network_policy: " (source system.lldp.network-policy.name)" + lldp_reception: "enable" + lldp_transmission: "enable" + macaddr: "" + managed_device: + - + name: "default_name_218" + managed_subnetwork_size: "32" + management_ip: "" + measured_downstream_bandwidth: "0" + measured_upstream_bandwidth: "0" + mediatype: "cfp2-sr10" + member: + - + interface_name: " (source system.interface.name)" + min_links: "1" + min_links_down: "operational" + mode: "static" + monitor_bandwidth: "enable" + mtu: "1500" + mtu_override: "enable" + name: "default_name_232" + ndiscforward: "enable" + netbios_forward: "disable" + netflow_sampler: "disable" + outbandwidth: "0" + padt_retry_timeout: "1" + password: "" + ping_serv_status: "0" + polling_interval: "20" + pppoe_unnumbered_negotiate: "enable" + pptp_auth_type: "auto" + pptp_client: "enable" + pptp_password: "" + pptp_server_ip: "" + pptp_timeout: "0" + pptp_user: "" + preserve_session_route: "enable" + priority: "1" + priority_override: "enable" + proxy_captive_portal: "enable" + reachable_time: "30000" + redundant_interface: "" + remote_ip: "" + replacemsg_override_group: "" + ring_rx: "0" + ring_tx: "0" + role: "lan" + sample_direction: "tx" + sample_rate: "2000" + scan_botnet_connections: "disable" + secondary_IP: "enable" + secondaryip: + - + allowaccess: "ping" + detectprotocol: "ping" + detectserver: "" + gwdetect: "enable" + ha_priority: "1" + id: "269" + ip: "" + ping_serv_status: "0" + secip_relay_ip: "" + security_exempt_list: "" + security_external_logout: "" + security_external_web: "" + security_groups: + - + name: "default_name_277 (source user.group.name)" + security_mac_auth_bypass: "mac-auth-only" + security_mode: "none" + security_redirect_url: "" + service_name: "" + sflow_sampler: "enable" + snmp_index: "0" + speed: "auto" + spillover_threshold: "0" + src_check: "enable" + status: "up" + stp: "disable" + stp_ha_secondary: "disable" + stp_ha_slave: "disable" + stpforward: "enable" + stpforward_mode: "rpl-all-ext-id" + subst: "enable" + substitute_dst_mac: "" + sw_algorithm: "l2" + swc_first_create: "0" + swc_vlan: "0" + switch: "" + switch_controller_access_vlan: "enable" + switch_controller_arp_inspection: "enable" + switch_controller_dhcp_snooping: "enable" + switch_controller_dhcp_snooping_option82: "enable" + switch_controller_dhcp_snooping_verify_mac: "enable" + switch_controller_dynamic: " (source switch-controller.fortilink-settings.name)" + switch_controller_feature: "none" + switch_controller_igmp_snooping: "enable" + switch_controller_igmp_snooping_fast_leave: "enable" + switch_controller_igmp_snooping_proxy: "enable" + switch_controller_iot_scanning: "enable" + switch_controller_learning_limit: "0" + switch_controller_mgmt_vlan: "4094" + switch_controller_nac: " (source switch-controller.fortilink-settings.name)" + switch_controller_netflow_collect: "disable" + switch_controller_offload: "enable" + switch_controller_offload_gw: "enable" + switch_controller_offload_ip: "" + switch_controller_rspan_mode: "disable" + switch_controller_source_ip: "outbound" + switch_controller_traffic_policy: " (source switch-controller.traffic-policy.name)" + system_id: "" + system_id_type: "auto" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_324" + tags: + - + name: "default_name_326 (source system.object-tagging.tags.name)" + tcp_mss: "0" + trust_ip_1: "" + trust_ip_2: "" + trust_ip_3: "" + trust_ip6_1: "" + trust_ip6_2: "" + trust_ip6_3: "" + type: "physical" + username: "" + vdom: " (source system.vdom.name)" + vindex: "0" + vlan_protocol: "8021q" + vlanforward: "enable" + vlanid: "0" + vrf: "0" + vrrp: + - + accept_mode: "enable" + adv_interval: "1" + ignore_default_route: "enable" + preempt: "enable" + priority: "100" + proxy_arp: + - + id: "349" + ip: "" + start_time: "3" + status: "enable" + version: "2" + vrdst: "" + vrdst_priority: "0" + vrgrp: "0" + vrid: "" + vrip: "" + vrrp_virtual_mac: "enable" + wccp: "enable" + weight: "0" + wins_ip: "" """ RETURN = """ @@ -2594,7 +2625,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -2622,6 +2652,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_interface_data(json): @@ -2666,12 +2699,14 @@ def filter_system_interface_data(json): "dhcp_classless_route_addition", "dhcp_client_identifier", "dhcp_relay_agent_option", + "dhcp_relay_circuit_id", "dhcp_relay_interface", "dhcp_relay_interface_select_method", "dhcp_relay_ip", "dhcp_relay_link_selection", "dhcp_relay_request_all_server", "dhcp_relay_service", + "dhcp_relay_source_ip", "dhcp_relay_type", "dhcp_renew_time", "dhcp_smart_relay", @@ -2827,6 +2862,9 @@ def filter_system_interface_data(json): "switch_controller_mgmt_vlan", "switch_controller_nac", "switch_controller_netflow_collect", + "switch_controller_offload", + "switch_controller_offload_gw", + "switch_controller_offload_ip", "switch_controller_rspan_mode", "switch_controller_source_ip", "switch_controller_traffic_policy", @@ -2923,7 +2961,6 @@ def underscore_to_hyphen(data): def system_interface(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -2960,11 +2997,16 @@ def system_interface(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -3012,13 +3054,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "interface") if data["system_interface"]: resp = system_interface(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_interface")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -3033,2421 +3074,174 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vrf": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fortilink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "outbound", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "fixed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "outbound"}, {"value": "fixed"}], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pppoe", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "static"}, {"value": "dhcp"}, {"value": "pppoe"}], }, "client_options": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "code": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "hex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "hex"}, + {"value": "string"}, + {"value": "ip"}, + {"value": "fqdn"}, ], }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "value": {"v_range": [["v6.4.0", ""]], "type": "string"}, "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.4.0", ""]], }, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dhcp_relay_interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "dhcp_relay_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "dhcp_broadcast_flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dhcp_relay_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dhcp_relay_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, - "dhcp_relay_link_selection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "dhcp_relay_source_ip": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "dhcp_relay_circuit_id": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "dhcp_relay_link_selection": {"v_range": [["v7.0.4", ""]], "type": "string"}, "dhcp_relay_request_all_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dhcp_relay_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipsec", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "regular"}, {"value": "ipsec"}], }, "dhcp_smart_relay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dhcp_relay_agent_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_classless_route_addition": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "management_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "management_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fgfm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "radius-acct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "probe-response", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fabric", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ftm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "speed-test", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "capwap", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "ping"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, + {"value": "http"}, + {"value": "telnet"}, + {"value": "fgfm"}, + {"value": "radius-acct"}, + {"value": "probe-response"}, + {"value": "fabric", "v_range": [["v6.2.0", ""]]}, + {"value": "ftm"}, + {"value": "speed-test", "v_range": [["v7.0.1", ""]]}, + {"value": "capwap", "v_range": [["v6.0.0", "v6.0.11"]]}, ], "multiple_values": True, "elements": "str", }, "gwdetect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "detectserver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "detectserver": {"v_range": [["v6.0.0", ""]], "type": "string"}, "detectprotocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ping"}, + {"value": "tcp-echo"}, + {"value": "udp-echo"}, ], "multiple_values": True, "elements": "str", }, - "ha_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ha_priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fail_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fail_detect_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "detectserver", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "link-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "detectserver"}, {"value": "link-down"}], "multiple_values": True, "elements": "str", }, "fail_alert_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "link-failed-signal"}, {"value": "link-down"}], + }, + "fail_action_on_extender": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "link-failed-signal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "link-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "fail_action_on_extender": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "soft-restart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hard-restart", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reboot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "soft-restart"}, + {"value": "hard-restart"}, + {"value": "reboot"}, ], }, "fail_alert_interfaces": { @@ -5455,14774 +3249,968 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, - "dhcp_client_identifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "dhcp_client_identifier": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dhcp_renew_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipunnumbered": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pppoe_unnumbered_negotiate": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "idle_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "disc_retry_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "padt_retry_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "service_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ac_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "lcp_echo_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "lcp_max_echo_fails": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "defaultgw": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dhcp_renew_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipunnumbered": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "dns_server_override": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "dns_server_protocol": { + "v_range": [["v7.0.4", ""]], + "type": "list", + "options": [{"value": "cleartext"}, {"value": "dot"}, {"value": "doh"}], + "multiple_values": True, + "elements": "str", }, - "pppoe_unnumbered_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "auth_type": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "pap"}, + {"value": "chap"}, + {"value": "mschapv1"}, + {"value": "mschapv2"}, ], }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "pptp_client": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "pptp_user": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pptp_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pptp_server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pptp_auth_type": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "auto"}, + {"value": "pap"}, + {"value": "chap"}, + {"value": "mschapv1"}, + {"value": "mschapv2"}, + ], }, - "disc_retry_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "pptp_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "arpforward": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "padt_retry_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "ndiscforward": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "service_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "broadcast_forward": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ac_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "bfd": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "global"}, {"value": "enable"}, {"value": "disable"}], }, - "lcp_echo_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "bfd_desired_min_tx": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "bfd_detect_mult": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "bfd_required_min_rx": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "l2forward": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "lcp_max_echo_fails": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "icmp_send_redirect": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "defaultgw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "icmp_accept_redirect": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dns_server_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "reachable_time": {"v_range": [["v7.0.4", ""]], "type": "integer"}, + "vlanforward": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dns_server_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "list", - "options": [ - { - "value": "cleartext", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "dot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "doh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", + "stpforward": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "stpforward_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "rpl-all-ext-id"}, + {"value": "rpl-bridge-ext-id"}, + {"value": "rpl-nothing"}, ], }, - "pptp_client": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ips_sniffer_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "pptp_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ident_accept": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "pptp_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ipmac": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "pptp_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "subst": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "pptp_auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "macaddr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "substitute_dst_mac": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "speed": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ + {"value": "auto"}, + {"value": "10full"}, + {"value": "10half"}, + {"value": "100full"}, + {"value": "100half"}, + {"value": "1000full"}, + {"value": "1000auto"}, + {"value": "10000full"}, + {"value": "10000auto"}, + {"value": "40000full"}, + {"value": "40000auto", "v_range": [["v7.4.0", ""]]}, { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "100Gfull", + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], }, + {"value": "1000half", "v_range": [["v6.0.0", "v7.0.3"]]}, ], }, - "pptp_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "status": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "up"}, {"value": "down"}], }, - "arpforward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "netbios_forward": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ndiscforward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "wins_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "type": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ + {"value": "physical"}, + {"value": "vlan"}, + {"value": "aggregate"}, + {"value": "redundant"}, + {"value": "tunnel"}, + {"value": "vdom-link"}, + {"value": "loopback"}, + {"value": "switch"}, + {"value": "vap-switch"}, + {"value": "wl-mesh"}, + {"value": "fext-wan"}, + {"value": "vxlan"}, + {"value": "geneve", "v_range": [["v6.2.0", ""]]}, + {"value": "hdlc"}, + {"value": "switch-vlan"}, + {"value": "emac-vlan"}, + {"value": "ssl", "v_range": [["v7.0.0", ""]]}, + {"value": "lan-extension", "v_range": [["v7.0.2", ""]]}, { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "hard-switch", + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], }, ], }, - "broadcast_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "dedicated_to": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "none"}, {"value": "management"}], + }, + "trust_ip_1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trust_ip_2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trust_ip_3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trust_ip6_1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trust_ip6_2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trust_ip6_3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ring_rx": {"v_range": [], "type": "integer"}, + "ring_tx": {"v_range": [], "type": "integer"}, + "wccp": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "netflow_sampler": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "tx"}, + {"value": "rx"}, + {"value": "both"}, ], }, - "bfd_desired_min_tx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bfd_detect_mult": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "sflow_sampler": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "bfd_required_min_rx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "drop_overlapped_fragment": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "l2forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "drop_fragment": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "icmp_send_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "src_check": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "icmp_accept_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "sample_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "polling_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sample_direction": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "reachable_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "vlanforward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "stpforward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "stpforward_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "rpl-all-ext-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rpl-bridge-ext-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rpl-nothing", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ips_sniffer_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ident_accept": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipmac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "subst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "macaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "substitute_dst_mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "speed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100half", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10000full", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10000auto", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40000full", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100Gfull", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000half", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netbios_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "wins_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "physical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aggregate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "redundant", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom-link", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "loopback", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "switch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vap-switch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wl-mesh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fext-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vxlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "geneve", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "hdlc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "switch-vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "emac-vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "lan-extension", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "hard-switch", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dedicated_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "management", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "trust_ip_1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trust_ip_2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trust_ip_3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trust_ip6_1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trust_ip6_2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trust_ip6_3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mtu_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ring_rx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "ring_tx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "wccp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "netflow_sampler": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sflow_sampler": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "drop_overlapped_fragment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "drop_fragment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "src_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sample_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "polling_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sample_direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "tx"}, {"value": "rx"}, {"value": "both"}], }, "explicit_web_proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "explicit_ftp_proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_captive_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "tcp_mss": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "inbandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "outbandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "egress_shaping_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ingress_shaping_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "disconnect_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "spillover_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ingress_spillover_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "tcp_mss": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "inbandwidth": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "outbandwidth": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "egress_shaping_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ingress_shaping_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "spillover_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ingress_spillover_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "external": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "vlan_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "mtu_override": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "8021q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "8021ad", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "vlanid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "forward_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "remote_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "mtu": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vlan_protocol": { + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "8021q"}, {"value": "8021ad"}], }, + "vlanid": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "forward_domain": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "remote_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "lacp_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "static"}, {"value": "passive"}, {"value": "active"}], }, "lacp_ha_secondary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "system_id_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "system_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "user"}], }, + "system_id": {"v_range": [["v7.0.2", ""]], "type": "string"}, "lacp_speed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "slow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "min_links": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "slow"}, {"value": "fast"}], }, + "min_links": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "min_links_down": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "operational", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "administrative", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "operational"}, {"value": "administrative"}], }, "algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "L2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "L3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "L4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Source-MAC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "L2"}, + {"value": "L3"}, + {"value": "L4"}, + {"value": "Source-MAC", "v_range": [["v7.2.1", ""]]}, ], }, - "link_up_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "link_up_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "aggregate_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "physical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "vxlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "physical"}, {"value": "vxlan"}], }, "priority_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "alias": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "alias": {"v_range": [["v6.0.0", ""]], "type": "string"}, "security_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "captive-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.1X", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "captive-portal"}, + {"value": "802.1X"}, ], }, "security_mac_auth_bypass": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "mac-auth-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "security_external_web": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "security_external_logout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replacemsg_override_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "security_redirect_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "auth_portal_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "security_exempt_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [ + {"value": "mac-auth-only", "v_range": [["v6.2.0", ""]]}, + {"value": "enable"}, + {"value": "disable"}, + ], }, + "security_external_web": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "security_external_logout": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "replacemsg_override_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "security_redirect_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_cert": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "auth_portal_addr": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "security_exempt_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, "security_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ike_saml_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "ike_saml_server": {"v_range": [["v7.2.0", ""]], "type": "string"}, "device_identification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "device_user_identification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "lldp_reception": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "vdom"}], }, "lldp_transmission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "lldp_network_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "vdom"}], }, + "lldp_network_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, "estimated_upstream_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "estimated_downstream_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "measured_upstream_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "measured_upstream_bandwidth": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "measured_downstream_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "bandwidth_measure_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, + "bandwidth_measure_time": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "monitor_bandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vrrp_virtual_mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vrrp": { "type": "list", "elements": "dict", "children": { "vrid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vrip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "2"}, {"value": "3"}], }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "adv_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "vrgrp": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vrip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "adv_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "preempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "accept_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vrdst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, - "vrdst_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "vrdst_priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ignore_default_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proxy_arp": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "lan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dmz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "undefined", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "lan"}, + {"value": "wan"}, + {"value": "dmz"}, + {"value": "undefined"}, ], }, - "snmp_index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "snmp_index": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "secondary_IP": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secondaryip": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "secip_relay_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fgfm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "radius-acct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "probe-response", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fabric", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ftm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "speed-test", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "capwap", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ping"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, + {"value": "http"}, + {"value": "telnet"}, + {"value": "fgfm"}, + {"value": "radius-acct"}, + {"value": "probe-response"}, + {"value": "fabric", "v_range": [["v6.2.0", ""]]}, + {"value": "ftm"}, + {"value": "speed-test", "v_range": [["v7.0.1", ""]]}, + {"value": "capwap", "v_range": [["v6.0.0", "v6.0.11"]]}, ], "multiple_values": True, "elements": "str", }, "gwdetect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "detectserver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "detectserver": {"v_range": [["v6.0.0", ""]], "type": "string"}, "detectprotocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ping"}, + {"value": "tcp-echo"}, + {"value": "udp-echo"}, ], "multiple_values": True, "elements": "str", }, - "ha_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ha_priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ping_serv_status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "preserve_session_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_auth_extension_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ap_discover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortilink_neighbor_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "lldp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fortilink", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "lldp"}, {"value": "fortilink"}], }, "ip_managed_by_fortiipam": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "inherit-global", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "inherit-global", "v_range": [["v7.4.0", ""]]}, + {"value": "enable"}, + {"value": "disable"}, ], }, "managed_subnetwork_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "64", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - { - "value": "256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "1024", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "2048", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "8192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "16384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "32768", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "65536", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "32", "v_range": [["v7.0.2", ""]]}, + {"value": "64", "v_range": [["v7.0.2", ""]]}, + {"value": "128", "v_range": [["v7.0.2", ""]]}, + {"value": "256"}, + {"value": "512"}, + {"value": "1024"}, + {"value": "2048"}, + {"value": "4096"}, + {"value": "8192"}, + {"value": "16384"}, + {"value": "32768"}, + {"value": "65536"}, ], }, "fortilink_split_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "internal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "internal": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "switch_controller_access_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_traffic_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", }, "switch_controller_rspan_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "switch_controller_netflow_collect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "switch_controller_mgmt_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "switch_controller_mgmt_vlan": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "switch_controller_igmp_snooping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_igmp_snooping_proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_igmp_snooping_fast_leave": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_dhcp_snooping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_dhcp_snooping_verify_mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_dhcp_snooping_option82": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_snooping_server_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, }, - "server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "server_ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, + "v_range": [["v7.0.1", ""]], }, "switch_controller_arp_inspection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_learning_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "switch_controller_nac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "switch_controller_dynamic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "switch_controller_nac": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "switch_controller_dynamic": {"v_range": [["v7.0.0", ""]], "type": "string"}, "switch_controller_feature": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "default-vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "quarantine", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "rspan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "voice", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "video", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "nac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "nac-segment", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, + {"value": "none"}, + {"value": "default-vlan"}, + {"value": "quarantine"}, + {"value": "rspan"}, + {"value": "voice"}, + {"value": "video"}, + {"value": "nac"}, + {"value": "nac-segment", "v_range": [["v7.0.1", ""]]}, ], }, "switch_controller_iot_scanning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "swc_first_create": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tagging": { - "type": "list", - "elements": "dict", - "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tags": { - "type": "list", - "elements": "dict", - "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "eap_supplicant": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "eap_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "tls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "peap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "eap_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "switch_controller_offload": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "eap_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "switch_controller_offload_ip": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "switch_controller_offload_gw": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "eap_ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "swc_first_create": {"v_range": [["v6.4.4", ""]], "type": "integer"}, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tagging": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "required": True, + }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tags": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v6.0.0", ""]], + }, }, + "v_range": [["v6.0.0", ""]], + }, + "eap_supplicant": { + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "eap_user_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "eap_method": { + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "tls"}, {"value": "peap"}], }, + "eap_identity": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "eap_password": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "eap_ca_cert": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "eap_user_cert": {"v_range": [["v7.2.0", ""]], "type": "string"}, "default_purdue_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "1", "revisions": {"v7.4.0": True}}, - {"value": "1.5", "revisions": {"v7.4.0": True}}, - {"value": "2", "revisions": {"v7.4.0": True}}, - {"value": "2.5", "revisions": {"v7.4.0": True}}, - {"value": "3", "revisions": {"v7.4.0": True}}, - {"value": "3.5", "revisions": {"v7.4.0": True}}, - {"value": "4", "revisions": {"v7.4.0": True}}, - {"value": "5", "revisions": {"v7.4.0": True}}, - {"value": "5.5", "revisions": {"v7.4.0": True}}, + {"value": "1"}, + {"value": "1.5"}, + {"value": "2"}, + {"value": "2.5"}, + {"value": "3"}, + {"value": "3.5"}, + {"value": "4"}, + {"value": "5"}, + {"value": "5.5"}, ], }, "ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ip6_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pppoe", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "delegated", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "static"}, + {"value": "dhcp"}, + {"value": "pppoe"}, + {"value": "delegated"}, ], }, "nd_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SEND-compatible", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "nd_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "nd_security_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "nd_timestamp_delta": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "nd_timestamp_fuzz": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "nd_cga_modifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "basic"}, {"value": "SEND-compatible"}], }, + "nd_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "nd_security_level": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "nd_timestamp_delta": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "nd_timestamp_fuzz": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "nd_cga_modifier": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip6_dns_server_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ip6_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ip6_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip6_extra_addr": { "type": "list", "elements": "dict", "children": { "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ip6_allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fgfm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fabric", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "capwap", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ping"}, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp"}, + {"value": "http"}, + {"value": "telnet"}, + {"value": "fgfm"}, + {"value": "fabric", "v_range": [["v6.2.0", ""]]}, + {"value": "capwap", "v_range": [["v6.0.0", "v6.0.11"]]}, ], "multiple_values": True, "elements": "str", }, "ip6_send_adv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "icmp6_send_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip6_manage_flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip6_other_flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ip6_max_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip6_min_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip6_link_mtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ip6_max_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip6_min_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip6_link_mtu": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ra_send_mtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "ip6_reachable_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip6_retrans_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip6_default_life": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip6_hop_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ip6_reachable_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip6_retrans_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip6_default_life": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip6_hop_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "autoconf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unique_autoconf_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "interface_identifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "interface_identifier": {"v_range": [["v6.4.0", ""]], "type": "string"}, "ip6_prefix_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "dhcp6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ra", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "dhcp6"}, {"value": "ra"}], }, "ip6_delegated_prefix_iaid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, "ip6_upstream_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, + "ip6_subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip6_prefix_list": { "type": "list", "elements": "dict", "children": { "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "autonomous_flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "onlink_flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "valid_life_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "preferred_life_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "rdnss": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", @@ -20232,2892 +4220,447 @@ versioned_schema = { "elements": "dict", "children": { "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ip6_delegated_prefix_list": { "type": "list", "elements": "dict", "children": { "prefix_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "upstream_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "delegated_prefix_iaid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, "autonomous_flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "onlink_flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rdnss_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "delegated", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "delegated"}, + {"value": "default"}, + {"value": "specify"}, ], }, "rdnss": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dhcp6_relay_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dhcp6_relay_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "regular"}], }, "dhcp6_relay_source_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "dhcp6_relay_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, + "dhcp6_relay_source_ip": { + "v_range": [["v7.4.1", ""]], + "type": "string", + }, + "dhcp6_relay_interface_id": { + "v_range": [["v7.4.1", ""]], + "type": "string", + }, "dhcp6_prefix_delegation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp6_information_request": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp6_iapd_list": { "type": "list", "elements": "dict", "children": { "iaid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", "required": True, }, - "prefix_hint": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, + "prefix_hint": {"v_range": [["v7.0.2", ""]], "type": "string"}, "prefix_hint_plt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, "prefix_hint_vlt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "vrrp_virtual_mac6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vrip6_link_local": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + }, }, + "v_range": [["v7.0.2", ""]], + }, + "vrrp_virtual_mac6": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vrip6_link_local": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vrrp6": { "type": "list", "elements": "dict", "children": { "vrid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "vrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vrip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "vrgrp": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vrip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "adv_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, + "start_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "preempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "accept_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vrdst6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dhcp6_client_options": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "list", "options": [ - { - "value": "rapid", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iapd", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "iana", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "rapid"}, + {"value": "iapd"}, + {"value": "iana"}, ], "multiple_values": True, "elements": "str", }, "cli_conn6_status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "dhcp6_prefix_hint": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "string", }, "dhcp6_prefix_hint_plt": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "integer", }, "dhcp6_prefix_hint_vlt": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.1"]], "type": "integer", }, }, }, - "mediatype": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "sw_algorithm": { + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - { - "value": "cfp2-sr10", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "options": [{"value": "l2"}, {"value": "l3"}, {"value": "eh"}], + }, + "egress_queues": { + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], + "type": "dict", + "children": { + "cos0": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", }, - { - "value": "cfp2-lr4", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "cos1": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", + }, + "cos2": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", + }, + "cos3": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", + }, + "cos4": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", + }, + "cos5": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", + }, + "cos6": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", + }, + "cos7": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", }, - ], - }, - "gi_gk": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, }, + }, + "ingress_cos": { + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "cos0"}, + {"value": "cos1"}, + {"value": "cos2"}, + {"value": "cos3"}, + {"value": "cos4"}, + {"value": "cos5"}, + {"value": "cos6"}, + {"value": "cos7"}, ], }, - "stp": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "egress_cos": { + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "cos0"}, + {"value": "cos1"}, + {"value": "cos2"}, + {"value": "cos3"}, + {"value": "cos4"}, + {"value": "cos5"}, + {"value": "cos6"}, + {"value": "cos7"}, + ], + }, + "disconnect_threshold": {"v_range": [["v6.0.0", "v7.4.0"]], "type": "integer"}, + "mediatype": { + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], ], + "type": "string", + "options": [{"value": "cfp2-sr10"}, {"value": "cfp2-lr4"}], + }, + "gi_gk": { + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "stp": { + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, "stp_ha_secondary": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.12"], ["v7.2.1", "v7.2.4"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "priority-adjust", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "priority-adjust"}, ], }, "cli_conn_status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "ping_serv_status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "detected_peer_mtu": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "lacp_ha_slave": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sw_algorithm": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "string", - "options": [ - {"value": "l2", "revisions": {"v7.2.0": True}}, - {"value": "l3", "revisions": {"v7.2.0": True}}, - {"value": "eh", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "aggregate": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "redundant_interface": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "devindex": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "vindex": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "switch": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "fortilink_backup_link": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "swc_vlan": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, - "egress_queues": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "dict", - "children": { - "cos0": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - "cos1": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - "cos2": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - "cos3": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - "cos4": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - "cos5": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - "cos6": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - "cos7": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - }, - }, - "ingress_cos": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos0", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos1", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos2", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos3", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos4", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos5", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos6", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos7", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - ], - }, - "egress_cos": { - "revisions": { - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos0", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos1", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos2", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos3", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos4", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos5", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos6", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "cos7", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - ], - }, "stp_ha_slave": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.4"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "priority-adjust", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "priority-adjust"}, ], }, "fortilink_stacking": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "broadcast_forticlient_discovery": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "captive_portal": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "device_identification_active_scan": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "device_access_list": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "scan_botnet_connections": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "block", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monitor", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "block"}, {"value": "monitor"}], }, "managed_device": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "device_netscan": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "fortiheartbeat": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "endpoint_compliance": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -23152,6 +4695,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipam.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipam.py index c47d27ce1..007b3caf7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipam.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipam.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -183,7 +183,7 @@ options: suboptions: name: description: - - Ipam pool name. Source system.ipam.pools.name. + - IPAM pool name. Source system.ipam.pools.name. required: true type: str role: @@ -213,48 +213,37 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IP address management services. - fortios_system_ipam: - vdom: "{{ vdom }}" +- name: Configure IP address management services. + fortinet.fortios.fortios_system_ipam: + vdom: "{{ vdom }}" system_ipam: - automatic_conflict_resolution: "disable" - manage_lan_addresses: "disable" - manage_lan_extension_addresses: "disable" - manage_ssid_addresses: "disable" - pool_subnet: "" - pools: - - - description: "" - name: "default_name_10" - subnet: "" - rules: - - - description: "" - device: - - - name: "default_name_15" - dhcp: "enable" - interface: - - - name: "default_name_18" - name: "default_name_19" - pool: - - - name: "default_name_21 (source system.ipam.pools.name)" - role: "any" - server_type: "fabric-root" - status: "enable" - + automatic_conflict_resolution: "disable" + manage_lan_addresses: "disable" + manage_lan_extension_addresses: "disable" + manage_ssid_addresses: "disable" + pool_subnet: "" + pools: + - + description: "" + name: "default_name_10" + subnet: "" + rules: + - + description: "" + device: + - + name: "default_name_15" + dhcp: "enable" + interface: + - + name: "default_name_18" + name: "default_name_19" + pool: + - + name: "default_name_21 (source system.ipam.pools.name)" + role: "any" + server_type: "fabric-root" + status: "enable" """ RETURN = """ @@ -313,7 +302,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -394,7 +382,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ipam") if data["system_ipam"]: resp = system_ipam(data, fos) @@ -411,380 +398,99 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "fabric-root", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "cloud", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "fabric-root"}, + {"value": "cloud", "v_range": [["v7.0.2", "v7.2.4"]]}, ], }, "automatic_conflict_resolution": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "manage_lan_addresses": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "manage_lan_extension_addresses": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "manage_ssid_addresses": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "pools": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, + "description": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "subnet": {"v_range": [["v7.2.1", ""]], "type": "string"}, }, + "v_range": [["v7.2.1", ""]], }, "rules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "description": {"v_range": [["v7.2.1", ""]], "type": "string"}, "device": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, "interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, "role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "lan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "dmz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "undefined", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "any"}, + {"value": "lan"}, + {"value": "wan"}, + {"value": "dmz"}, + {"value": "undefined"}, ], }, "pool": { @@ -792,81 +498,22 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, "dhcp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - }, - }, - "pool_subnet": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", + "v_range": [["v7.2.1", ""]], }, + "pool_subnet": {"v_range": [["v7.0.2", "v7.2.0"]], "type": "string"}, }, } @@ -901,6 +548,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipip_tunnel.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipip_tunnel.py index 3f1bb9354..97ce80dae 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipip_tunnel.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipip_tunnel.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,29 +122,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IP in IP Tunneling. - fortios_system_ipip_tunnel: - vdom: "{{ vdom }}" +- name: Configure IP in IP Tunneling. + fortinet.fortios.fortios_system_ipip_tunnel: + vdom: "{{ vdom }}" state: "present" access_token: "" system_ipip_tunnel: - auto_asic_offload: "enable" - interface: " (source system.interface.name)" - local_gw: "" - name: "default_name_6" - remote_gw: "" - use_sdwan: "disable" - + auto_asic_offload: "enable" + interface: " (source system.interface.name)" + local_gw: "" + name: "default_name_6" + remote_gw: "" + use_sdwan: "disable" """ RETURN = """ @@ -203,7 +192,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -231,6 +219,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_ipip_tunnel_data(json): @@ -267,7 +258,6 @@ def underscore_to_hyphen(data): def system_ipip_tunnel(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -303,11 +293,16 @@ def system_ipip_tunnel(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -357,13 +352,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "ipip-tunnel") if data["system_ipip_tunnel"]: resp = system_ipip_tunnel(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_ipip_tunnel")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -378,295 +372,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, "use_sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "auto_asic_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -701,6 +422,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips.py index 66721a1b5..448dff5cd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,23 +94,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS system settings. - fortios_system_ips: - vdom: "{{ vdom }}" +- name: Configure IPS system settings. + fortinet.fortios.fortios_system_ips: + vdom: "{{ vdom }}" system_ips: - override_signature_hold_by_id: "enable" - signature_hold_time: "" - + override_signature_hold_by_id: "enable" + signature_hold_time: "" """ RETURN = """ @@ -169,7 +158,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -240,7 +228,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ips") if data["system_ips"]: resp = system_ips(data, fos) @@ -257,111 +244,17 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "dict", "children": { "signature_hold_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "override_signature_hold_by_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -397,6 +290,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns.py index a5b30a76a..cb2cde784 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -110,26 +110,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS URL filter DNS servers. - fortios_system_ips_urlfilter_dns: - vdom: "{{ vdom }}" +- name: Configure IPS URL filter DNS servers. + fortinet.fortios.fortios_system_ips_urlfilter_dns: + vdom: "{{ vdom }}" state: "present" access_token: "" system_ips_urlfilter_dns: - address: "" - ipv6_capability: "enable" - status: "enable" - + address: "" + ipv6_capability: "enable" + status: "enable" """ RETURN = """ @@ -188,7 +177,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -216,6 +204,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_ips_urlfilter_dns_data(json): @@ -245,7 +236,6 @@ def underscore_to_hyphen(data): def system_ips_urlfilter_dns(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -281,11 +271,16 @@ def system_ips_urlfilter_dns(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -335,7 +330,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "ips-urlfilter-dns") if data["system_ips_urlfilter_dns"]: resp = system_ips_urlfilter_dns(data, fos, check_mode) @@ -343,7 +337,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_ips_urlfilter_dns") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -358,241 +352,19 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "address": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv6_capability": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -629,6 +401,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns6.py index 14ce5b1d5..93e162334 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ips_urlfilter_dns6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,25 +103,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS URL filter IPv6 DNS servers. - fortios_system_ips_urlfilter_dns6: - vdom: "{{ vdom }}" +- name: Configure IPS URL filter IPv6 DNS servers. + fortinet.fortios.fortios_system_ips_urlfilter_dns6: + vdom: "{{ vdom }}" state: "present" access_token: "" system_ips_urlfilter_dns6: - address6: "" - status: "enable" - + address6: "" + status: "enable" """ RETURN = """ @@ -180,7 +169,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -208,6 +196,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_ips_urlfilter_dns6_data(json): @@ -237,7 +228,6 @@ def underscore_to_hyphen(data): def system_ips_urlfilter_dns6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -273,11 +263,16 @@ def system_ips_urlfilter_dns6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -327,7 +322,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "ips-urlfilter-dns6") if data["system_ips_urlfilter_dns6"]: resp = system_ips_urlfilter_dns6(data, fos, check_mode) @@ -335,7 +329,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_ips_urlfilter_dns6") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -350,152 +344,14 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "address6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "address6": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -532,6 +388,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipsec_aggregate.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipsec_aggregate.py index be308052c..136ac5927 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipsec_aggregate.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipsec_aggregate.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,28 +117,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure an aggregate of IPsec tunnels. - fortios_system_ipsec_aggregate: - vdom: "{{ vdom }}" +- name: Configure an aggregate of IPsec tunnels. + fortinet.fortios.fortios_system_ipsec_aggregate: + vdom: "{{ vdom }}" state: "present" access_token: "" system_ipsec_aggregate: - algorithm: "L3" - member: - - - tunnel_name: " (source vpn.ipsec.phase1-interface.name)" - name: "default_name_6" - + algorithm: "L3" + member: + - + tunnel_name: " (source vpn.ipsec.phase1-interface.name)" + name: "default_name_6" """ RETURN = """ @@ -197,7 +186,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -225,6 +213,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_ipsec_aggregate_data(json): @@ -254,7 +245,6 @@ def underscore_to_hyphen(data): def system_ipsec_aggregate(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -290,11 +280,16 @@ def system_ipsec_aggregate(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -344,13 +339,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "ipsec-aggregate") if data["system_ipsec_aggregate"]: resp = system_ipsec_aggregate(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_ipsec_aggregate")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,271 +359,32 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, "member": { "type": "list", "elements": "dict", "children": { "tunnel_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "L3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "L4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "redundant", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "weighted-round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "L3"}, + {"value": "L4"}, + {"value": "round-robin"}, + {"value": "redundant"}, + {"value": "weighted-round-robin", "v_range": [["v6.4.0", ""]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -666,6 +421,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_neighbor_cache.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_neighbor_cache.py index 37dcee3cd..40614d64b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_neighbor_cache.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_neighbor_cache.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Unique integer ID of the entry. + - Unique integer ID of the entry. see Notes. required: true type: int interface: @@ -108,27 +110,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 neighbor cache table. - fortios_system_ipv6_neighbor_cache: - vdom: "{{ vdom }}" +- name: Configure IPv6 neighbor cache table. + fortinet.fortios.fortios_system_ipv6_neighbor_cache: + vdom: "{{ vdom }}" state: "present" access_token: "" system_ipv6_neighbor_cache: - id: "3" - interface: " (source system.interface.name)" - ipv6: "" - mac: "" - + id: "3" + interface: " (source system.interface.name)" + ipv6: "" + mac: "" """ RETURN = """ @@ -187,7 +178,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +205,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_ipv6_neighbor_cache_data(json): @@ -244,7 +237,6 @@ def underscore_to_hyphen(data): def system_ipv6_neighbor_cache(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -280,11 +272,16 @@ def system_ipv6_neighbor_cache(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -334,7 +331,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "ipv6-neighbor-cache") if data["system_ipv6_neighbor_cache"]: resp = system_ipv6_neighbor_cache(data, fos, check_mode) @@ -342,7 +338,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_ipv6_neighbor_cache") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -357,150 +353,12 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mac": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -537,6 +395,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_tunnel.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_tunnel.py index 78e39c930..dc33a6c30 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_tunnel.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ipv6_tunnel.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,29 +122,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6/IPv4 in IPv6 tunnel. - fortios_system_ipv6_tunnel: - vdom: "{{ vdom }}" +- name: Configure IPv6/IPv4 in IPv6 tunnel. + fortinet.fortios.fortios_system_ipv6_tunnel: + vdom: "{{ vdom }}" state: "present" access_token: "" system_ipv6_tunnel: - auto_asic_offload: "enable" - destination: "" - interface: " (source system.interface.name)" - name: "default_name_6" - source: "" - use_sdwan: "disable" - + auto_asic_offload: "enable" + destination: "" + interface: " (source system.interface.name)" + name: "default_name_6" + source: "" + use_sdwan: "disable" """ RETURN = """ @@ -203,7 +192,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -231,6 +219,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_ipv6_tunnel_data(json): @@ -267,7 +258,6 @@ def underscore_to_hyphen(data): def system_ipv6_tunnel(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -303,11 +293,16 @@ def system_ipv6_tunnel(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -357,13 +352,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "ipv6-tunnel") if data["system_ipv6_tunnel"]: resp = system_ipv6_tunnel(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_ipv6_tunnel")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -378,295 +372,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "destination": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "source": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "destination": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "use_sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "auto_asic_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -701,6 +422,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_isf_queue_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_isf_queue_profile.py index 8e720bad1..129f0e3f5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_isf_queue_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_isf_queue_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -144,30 +144,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Create a queue profile of switch. - fortios_system_isf_queue_profile: - vdom: "{{ vdom }}" +- name: Create a queue profile of switch. + fortinet.fortios.fortios_system_isf_queue_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" system_isf_queue_profile: - bandwidth_unit: "kbps" - burst_bps_granularity: "disable" - burst_control: "disable" - burst_pps_granularity: "disable" - guaranteed_bandwidth: "0" - maximum_bandwidth: "0" - name: "default_name_9" - + bandwidth_unit: "kbps" + burst_bps_granularity: "disable" + burst_control: "disable" + burst_pps_granularity: "disable" + guaranteed_bandwidth: "0" + maximum_bandwidth: "0" + name: "default_name_9" """ RETURN = """ @@ -226,7 +215,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -254,6 +242,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_isf_queue_profile_data(json): @@ -291,7 +282,6 @@ def underscore_to_hyphen(data): def system_isf_queue_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -327,11 +317,16 @@ def system_isf_queue_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -381,7 +376,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "isf-queue-profile") if data["system_isf_queue_profile"]: resp = system_isf_queue_profile(data, fos, check_mode) @@ -389,7 +383,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_isf_queue_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -405,64 +399,58 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "required": True, }, "guaranteed_bandwidth": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "integer", }, "maximum_bandwidth": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "integer", }, "bandwidth_unit": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "kbps", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "pps", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - ], + "options": [{"value": "kbps"}, {"value": "pps"}], }, "burst_bps_granularity": { - "revisions": {"v7.2.0": True, "v6.4.0": False}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ - {"value": "disable", "revisions": {"v7.2.0": True}}, - {"value": "512-bytes", "revisions": {"v7.2.0": True}}, - {"value": "1k-bytes", "revisions": {"v7.2.0": True}}, - {"value": "2k-bytes", "revisions": {"v7.2.0": True}}, - {"value": "4k-bytes", "revisions": {"v7.2.0": True}}, - {"value": "8k-bytes", "revisions": {"v7.2.0": True}}, - {"value": "16k-bytes", "revisions": {"v7.2.0": True}}, - {"value": "32k-bytes", "revisions": {"v7.2.0": True}}, + {"value": "disable"}, + {"value": "512-bytes"}, + {"value": "1k-bytes"}, + {"value": "2k-bytes"}, + {"value": "4k-bytes"}, + {"value": "8k-bytes"}, + {"value": "16k-bytes"}, + {"value": "32k-bytes"}, ], }, "burst_pps_granularity": { - "revisions": {"v7.2.0": True, "v6.4.0": False}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ - {"value": "disable", "revisions": {"v7.2.0": True}}, - {"value": "half-packet", "revisions": {"v7.2.0": True}}, - {"value": "1-packet", "revisions": {"v7.2.0": True}}, - {"value": "2-packets", "revisions": {"v7.2.0": True}}, - {"value": "4-packets", "revisions": {"v7.2.0": True}}, - {"value": "16-packets", "revisions": {"v7.2.0": True}}, - {"value": "65-packets", "revisions": {"v7.2.0": True}}, - {"value": "262-packets", "revisions": {"v7.2.0": True}}, + {"value": "disable"}, + {"value": "half-packet"}, + {"value": "1-packet"}, + {"value": "2-packets"}, + {"value": "4-packets"}, + {"value": "16-packets"}, + {"value": "65-packets"}, + {"value": "262-packets"}, ], }, "burst_control": { - "revisions": {"v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v6.4.0": True}}, - {"value": "enable", "revisions": {"v6.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], } @@ -499,6 +487,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_link_monitor.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_link_monitor.py index 44e8ed4a3..57f3b9d94 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_link_monitor.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_link_monitor.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -174,6 +174,7 @@ options: - 'tcp-echo' - 'udp-echo' - 'http' + - 'https' - 'twamp' - 'ping6' recoverytime: @@ -228,7 +229,7 @@ options: type: str id: description: - - Server ID. + - Server ID. see Notes. required: true type: int port: @@ -245,6 +246,7 @@ options: - 'tcp-echo' - 'udp-echo' - 'http' + - 'https' - 'twamp' weight: description: @@ -307,67 +309,56 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Link Health Monitor. - fortios_system_link_monitor: - vdom: "{{ vdom }}" +- name: Configure Link Health Monitor. + fortinet.fortios.fortios_system_link_monitor: + vdom: "{{ vdom }}" state: "present" access_token: "" system_link_monitor: - addr_mode: "ipv4" - class_id: "0" - diffservcode: "" - fail_weight: "0" - failtime: "5" - gateway_ip: "" - gateway_ip6: "" - ha_priority: "1" - http_agent: "" - http_get: "" - http_match: "" - interval: "500" - name: "default_name_15" - packet_size: "124" - password: "" - port: "0" - probe_count: "30" - probe_timeout: "500" - protocol: "ping" - recoverytime: "5" - route: - - - subnet: "" - security_mode: "none" - server: - - - address: "" - server_config: "default" - server_list: - - - dst: "" - id: "31" - port: "0" - protocol: "ping" - weight: "0" - server_type: "static" - service_detection: "enable" - source_ip: "84.230.14.43" - source_ip6: "" - srcintf: " (source system.interface.name)" - status: "enable" - update_cascade_interface: "enable" - update_policy_route: "enable" - update_static_route: "enable" - + addr_mode: "ipv4" + class_id: "0" + diffservcode: "" + fail_weight: "0" + failtime: "5" + gateway_ip: "" + gateway_ip6: "" + ha_priority: "1" + http_agent: "" + http_get: "" + http_match: "" + interval: "500" + name: "default_name_15" + packet_size: "124" + password: "" + port: "0" + probe_count: "30" + probe_timeout: "500" + protocol: "ping" + recoverytime: "5" + route: + - + subnet: "" + security_mode: "none" + server: + - + address: "" + server_config: "default" + server_list: + - + dst: "" + id: "31" + port: "0" + protocol: "ping" + weight: "0" + server_type: "static" + service_detection: "enable" + source_ip: "84.230.14.43" + source_ip6: "" + srcintf: " (source system.interface.name)" + status: "enable" + update_cascade_interface: "enable" + update_policy_route: "enable" + update_static_route: "enable" """ RETURN = """ @@ -426,7 +417,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -454,6 +444,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_link_monitor_data(json): @@ -548,7 +541,6 @@ def underscore_to_hyphen(data): def system_link_monitor(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -585,11 +577,16 @@ def system_link_monitor(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -639,13 +636,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "link-monitor") if data["system_link_monitor"]: resp = system_link_monitor(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_link_monitor")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -660,1865 +656,148 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "srcintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "srcintf": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_config": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "individual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "default"}, {"value": "individual"}], }, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "static"}, {"value": "dynamic"}], }, "server": { "type": "list", "elements": "dict", "children": { "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "twamp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ping"}, + {"value": "tcp-echo"}, + {"value": "udp-echo"}, + {"value": "http"}, + {"value": "https", "v_range": [["v7.4.1", ""]]}, + {"value": "twamp"}, { "value": "ping6", - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, ], "multiple_values": True, "elements": "str", }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "gateway_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "gateway_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "route": { "type": "list", "elements": "dict", "children": { "subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_get": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_agent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v7.0.0", ""]], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_get": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_agent": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_match": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "probe_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "failtime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "recoverytime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "probe_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, + "failtime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "recoverytime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "probe_count": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "security_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authentication", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "packet_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ha_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fail_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "none"}, {"value": "authentication"}], }, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "packet_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ha_priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fail_weight": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "update_cascade_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_static_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_policy_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "diffservcode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "diffservcode": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "class_id": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "service_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, - "dst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, + "dst": {"v_range": [["v7.0.1", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "list", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tcp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "udp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "twamp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "ping"}, + {"value": "tcp-echo"}, + {"value": "udp-echo"}, + {"value": "http"}, + {"value": "https", "v_range": [["v7.4.1", ""]]}, + {"value": "twamp"}, ], "multiple_values": True, "elements": "str", }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "port": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "weight": {"v_range": [["v7.0.1", ""]], "type": "integer"}, }, + "v_range": [["v7.0.1", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2553,6 +832,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lldp_network_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lldp_network_policy.py index d50ab32d0..f70e735bd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lldp_network_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lldp_network_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -356,73 +356,62 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure LLDP network policy. - fortios_system_lldp_network_policy: - vdom: "{{ vdom }}" +- name: Configure LLDP network policy. + fortinet.fortios.fortios_system_lldp_network_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" system_lldp_network_policy: - comment: "Comment." - guest: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - guest_voice_signaling: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - name: "default_name_16" - softphone: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - streaming_video: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - video_conferencing: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - video_signaling: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - voice: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - voice_signaling: - dscp: "46" - priority: "5" - status: "disable" - tag: "none" - vlan: "0" - + comment: "Comment." + guest: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" + guest_voice_signaling: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" + name: "default_name_16" + softphone: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" + streaming_video: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" + video_conferencing: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" + video_signaling: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" + voice: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" + voice_signaling: + dscp: "46" + priority: "5" + status: "disable" + tag: "none" + vlan: "0" """ RETURN = """ @@ -481,7 +470,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -509,6 +497,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_lldp_network_policy_data(json): @@ -549,7 +540,6 @@ def underscore_to_hyphen(data): def system_lldp_network_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -585,11 +575,16 @@ def system_lldp_network_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -639,7 +634,6 @@ def is_successful_status(resp): def fortios_system_lldp(data, fos, check_mode): - fos.do_member_operation("system.lldp", "network-policy") if data["system_lldp_network_policy"]: resp = system_lldp_network_policy(data, fos, check_mode) @@ -647,7 +641,7 @@ def fortios_system_lldp(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_lldp_network_policy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -662,2419 +656,194 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "voice": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, "voice_signaling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, "guest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, "guest_voice_signaling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, "softphone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, "video_conferencing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, "streaming_video": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, "video_signaling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dot1p", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "dot1q"}, + {"value": "dot1p"}, ], }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "vlan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -3111,6 +880,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lte_modem.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lte_modem.py index 2daa481f1..2e7db2145 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lte_modem.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_lte_modem.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,6 +119,12 @@ options: description: - Authentication password for PDP-IP packet data calls. type: str + pdptype: + description: + - Packet Data Protocol (PDP) context type. + type: str + choices: + - 'IPv4' status: description: - Enable/disable USB LTE/WIMAX device. @@ -133,31 +139,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure USB LTE/WIMAX devices. - fortios_system_lte_modem: - vdom: "{{ vdom }}" +- name: Configure USB LTE/WIMAX devices. + fortinet.fortios.fortios_system_lte_modem: + vdom: "{{ vdom }}" system_lte_modem: - apn: "" - authtype: "none" - extra_init: "" - holddown_timer: "30" - interface: " (source system.interface.name)" - mode: "standalone" - modem_port: "255" - passwd: "" - status: "enable" - username: "" - + apn: "" + authtype: "none" + extra_init: "" + holddown_timer: "30" + interface: " (source system.interface.name)" + mode: "standalone" + modem_port: "255" + passwd: "" + pdptype: "IPv4" + status: "enable" + username: "" """ RETURN = """ @@ -216,7 +212,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,6 +245,7 @@ def filter_system_lte_modem_data(json): "mode", "modem_port", "passwd", + "pdptype", "status", "username", ] @@ -300,7 +296,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "lte-modem") if data["system_lte_modem"]: resp = system_lte_modem(data, fos) @@ -317,425 +312,36 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "extra_init": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "extra_init": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pdptype": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "IPv4"}], }, "authtype": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "username": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "pap"}, {"value": "chap"}], }, - "passwd": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "apn": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "modem_port": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "passwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "apn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "modem_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "standalone", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "redundant", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "holddown_timer": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "interface": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "standalone"}, {"value": "redundant"}], }, + "holddown_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -770,6 +376,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mac_address_table.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mac_address_table.py index 24d1ed5f1..63855474f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mac_address_table.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mac_address_table.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure MAC address tables. - fortios_system_mac_address_table: - vdom: "{{ vdom }}" +- name: Configure MAC address tables. + fortinet.fortios.fortios_system_mac_address_table: + vdom: "{{ vdom }}" state: "present" access_token: "" system_mac_address_table: - interface: " (source system.interface.name)" - mac: "" - reply_substitute: "" - + interface: " (source system.interface.name)" + mac: "" + reply_substitute: "" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -210,6 +198,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_mac_address_table_data(json): @@ -239,7 +230,6 @@ def underscore_to_hyphen(data): def system_mac_address_table(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -275,11 +265,16 @@ def system_mac_address_table(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -329,7 +324,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "mac-address-table") if data["system_mac_address_table"]: resp = system_mac_address_table(data, fos, check_mode) @@ -337,7 +331,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_mac_address_table") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -352,121 +346,11 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "reply_substitute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "mac": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "reply_substitute": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -503,6 +387,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_management_tunnel.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_management_tunnel.py index a43d20117..4be0173f5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_management_tunnel.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_management_tunnel.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -129,28 +129,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Management tunnel configuration. - fortios_system_management_tunnel: - vdom: "{{ vdom }}" +- name: Management tunnel configuration. + fortinet.fortios.fortios_system_management_tunnel: + vdom: "{{ vdom }}" system_management_tunnel: - allow_collect_statistics: "enable" - allow_config_restore: "enable" - allow_push_configuration: "enable" - allow_push_firmware: "enable" - authorized_manager_only: "enable" - serial_number: "" - status: "enable" - + allow_collect_statistics: "enable" + allow_config_restore: "enable" + allow_push_configuration: "enable" + allow_push_firmware: "enable" + authorized_manager_only: "enable" + serial_number: "" + status: "enable" """ RETURN = """ @@ -209,7 +198,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -290,7 +278,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "management-tunnel") if data["system_management_tunnel"]: resp = system_management_tunnel(data, fos) @@ -309,597 +296,40 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_config_restore": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_push_configuration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_push_firmware": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_collect_statistics": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authorized_manager_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "serial_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "serial_number": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -936,6 +366,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mem_mgr.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mem_mgr.py index 18a687b8e..9a7ca1724 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mem_mgr.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mem_mgr.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure memory manager. - fortios_system_mem_mgr: - vdom: "{{ vdom }}" +- name: Configure memory manager. + fortinet.fortios.fortios_system_mem_mgr: + vdom: "{{ vdom }}" system_mem_mgr: - mass_mmsd: "30" - + mass_mmsd: "30" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -234,7 +222,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "mem-mgr") if data["system_mem_mgr"]: resp = system_mem_mgr(data, fos) @@ -251,30 +238,9 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "dict", - "children": { - "mass_mmsd": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - } - }, + "children": {"mass_mmsd": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}}, } @@ -308,6 +274,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mobile_tunnel.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mobile_tunnel.py index 4d43424e7..c9427d43f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mobile_tunnel.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_mobile_tunnel.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -135,7 +135,7 @@ options: suboptions: id: description: - - Network entry ID. + - Network entry ID. see Notes. required: true type: int interface: @@ -178,42 +178,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Mobile tunnels, an implementation of Network Mobility (NEMO) extensions for Mobile IPv4 RFC5177. - fortios_system_mobile_tunnel: - vdom: "{{ vdom }}" +- name: Configure Mobile tunnels, an implementation of Network Mobility (NEMO) extensions for Mobile IPv4 RFC5177. + fortinet.fortios.fortios_system_mobile_tunnel: + vdom: "{{ vdom }}" state: "present" access_token: "" system_mobile_tunnel: - hash_algorithm: "hmac-md5" - home_address: "" - home_agent: "" - lifetime: "65535" - n_mhae_key: "" - n_mhae_key_type: "ascii" - n_mhae_spi: "256" - name: "default_name_10" - network: - - - id: "12" - interface: " (source system.interface.name)" - prefix: "" - reg_interval: "5" - reg_retry: "3" - renew_interval: "60" - roaming_interface: " (source system.interface.name)" - status: "disable" - tunnel_mode: "gre" - + hash_algorithm: "hmac-md5" + home_address: "" + home_agent: "" + lifetime: "65535" + n_mhae_key: "" + n_mhae_key_type: "ascii" + n_mhae_spi: "256" + name: "default_name_10" + network: + - + id: "12" + interface: " (source system.interface.name)" + prefix: "" + reg_interval: "5" + reg_retry: "3" + renew_interval: "60" + roaming_interface: " (source system.interface.name)" + status: "disable" + tunnel_mode: "gre" """ RETURN = """ @@ -272,7 +261,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -300,6 +288,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_mobile_tunnel_data(json): @@ -345,7 +336,6 @@ def underscore_to_hyphen(data): def system_mobile_tunnel(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -381,11 +371,16 @@ def system_mobile_tunnel(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -435,13 +430,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "mobile-tunnel") if data["system_mobile_tunnel"]: resp = system_mobile_tunnel(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_mobile_tunnel")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -456,742 +450,52 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "roaming_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "home_agent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "home_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "renew_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "lifetime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "reg_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "reg_retry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "n_mhae_spi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "roaming_interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "home_agent": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "home_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "renew_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "lifetime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "reg_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "reg_retry": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "n_mhae_spi": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "n_mhae_key_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "ascii", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "base64", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "n_mhae_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "ascii"}, {"value": "base64"}], }, + "n_mhae_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "hash_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "hmac-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "hmac-md5"}], }, "tunnel_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "gre", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "gre"}], }, "network": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "prefix": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1226,6 +530,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_modem.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_modem.py index e842e8c50..a2b3b6c88 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_modem.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_modem.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -294,7 +294,7 @@ options: - 'disable' priority: description: - - Priority of learned routes (0 - 4294967295). + - Priority of learned routes (1 - 65535). type: int redial: description: @@ -349,67 +349,56 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure MODEM. - fortios_system_modem: - vdom: "{{ vdom }}" +- name: Configure MODEM. + fortinet.fortios.fortios_system_modem: + vdom: "{{ vdom }}" system_modem: - action: "dial" - altmode: "enable" - authtype1: "pap" - authtype2: "pap" - authtype3: "pap" - auto_dial: "enable" - connect_timeout: "90" - dial_cmd1: "" - dial_cmd2: "" - dial_cmd3: "" - dial_on_demand: "enable" - distance: "1" - dont_send_CR1: "enable" - dont_send_CR2: "enable" - dont_send_CR3: "enable" - extra_init1: "" - extra_init2: "" - extra_init3: "" - holddown_timer: "60" - idle_timer: "5" - interface: " (source system.interface.name)" - lockdown_lac: "" - mode: "standalone" - network_init: "" - passwd1: "" - passwd2: "" - passwd3: "" - peer_modem1: "generic" - peer_modem2: "generic" - peer_modem3: "generic" - phone1: "" - phone2: "" - phone3: "" - pin_init: "" - ppp_echo_request1: "enable" - ppp_echo_request2: "enable" - ppp_echo_request3: "enable" - priority: "0" - redial: "none" - reset: "0" - status: "enable" - traffic_check: "enable" - username1: "" - username2: "" - username3: "" - wireless_port: "0" - + action: "dial" + altmode: "enable" + authtype1: "pap" + authtype2: "pap" + authtype3: "pap" + auto_dial: "enable" + connect_timeout: "90" + dial_cmd1: "" + dial_cmd2: "" + dial_cmd3: "" + dial_on_demand: "enable" + distance: "1" + dont_send_CR1: "enable" + dont_send_CR2: "enable" + dont_send_CR3: "enable" + extra_init1: "" + extra_init2: "" + extra_init3: "" + holddown_timer: "60" + idle_timer: "5" + interface: " (source system.interface.name)" + lockdown_lac: "" + mode: "standalone" + network_init: "" + passwd1: "" + passwd2: "" + passwd3: "" + peer_modem1: "generic" + peer_modem2: "generic" + peer_modem3: "generic" + phone1: "" + phone2: "" + phone3: "" + pin_init: "" + ppp_echo_request1: "enable" + ppp_echo_request2: "enable" + ppp_echo_request3: "enable" + priority: "1" + redial: "none" + reset: "0" + status: "enable" + traffic_check: "enable" + username1: "" + username2: "" + username3: "" + wireless_port: "0" """ RETURN = """ @@ -468,7 +457,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -618,7 +606,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "modem") if data["system_modem"]: resp = system_modem(data, fos) @@ -635,2489 +622,180 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "pin_init": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "network_init": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "lockdown_lac": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "pin_init": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "network_init": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "lockdown_lac": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "standalone", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "redundant", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "standalone"}, {"value": "redundant"}], }, "auto_dial": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dial_on_demand": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "idle_timer": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "idle_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "redial": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "7", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "9", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "1"}, + {"value": "2"}, + {"value": "3"}, + {"value": "4"}, + {"value": "5"}, + {"value": "6"}, + {"value": "7"}, + {"value": "8"}, + {"value": "9"}, + {"value": "10"}, ], }, - "reset": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "holddown_timer": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "connect_timeout": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "interface": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wireless_port": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "reset": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "holddown_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "connect_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wireless_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dont_send_CR1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "phone1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dial_cmd1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "username1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "passwd1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "extra_init1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "phone1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dial_cmd1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "username1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "passwd1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "extra_init1": {"v_range": [["v6.0.0", ""]], "type": "string"}, "peer_modem1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "generic", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "actiontec", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ascend_TNT", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "generic"}, + {"value": "actiontec"}, + {"value": "ascend_TNT"}, ], }, "ppp_echo_request1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authtype1": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "pap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pap"}, + {"value": "chap"}, + {"value": "mschap"}, + {"value": "mschapv2"}, ], "multiple_values": True, "elements": "str", }, "dont_send_CR2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "phone2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dial_cmd2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "username2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "passwd2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "extra_init2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "phone2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dial_cmd2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "username2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "passwd2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "extra_init2": {"v_range": [["v6.0.0", ""]], "type": "string"}, "peer_modem2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "generic", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "actiontec", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ascend_TNT", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "generic"}, + {"value": "actiontec"}, + {"value": "ascend_TNT"}, ], }, "ppp_echo_request2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authtype2": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "pap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pap"}, + {"value": "chap"}, + {"value": "mschap"}, + {"value": "mschapv2"}, ], "multiple_values": True, "elements": "str", }, "dont_send_CR3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "phone3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dial_cmd3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "username3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "passwd3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "extra_init3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "phone3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dial_cmd3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "username3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "passwd3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "extra_init3": {"v_range": [["v6.0.0", ""]], "type": "string"}, "peer_modem3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "generic", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "actiontec", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ascend_TNT", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "generic"}, + {"value": "actiontec"}, + {"value": "ascend_TNT"}, ], }, "ppp_echo_request3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "altmode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authtype3": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "pap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschap", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "pap"}, + {"value": "chap"}, + {"value": "mschap"}, + {"value": "mschapv2"}, ], "multiple_values": True, "elements": "str", }, "traffic_check": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "dial", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "stop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "distance": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "dial"}, {"value": "stop"}, {"value": "none"}], }, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -3152,6 +830,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nat64.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nat64.py index 336e52875..ce83f7469 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nat64.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nat64.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -137,31 +137,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NAT64. - fortios_system_nat64: - vdom: "{{ vdom }}" +- name: Configure NAT64. + fortinet.fortios.fortios_system_nat64: + vdom: "{{ vdom }}" system_nat64: - always_synthesize_aaaa_record: "enable" - generate_ipv6_fragment_header: "enable" - nat46_force_ipv4_packet_forwarding: "enable" - nat64_prefix: "" - secondary_prefix: - - - name: "default_name_8" - nat64_prefix: "" - secondary_prefix_status: "enable" - status: "enable" - + always_synthesize_aaaa_record: "enable" + generate_ipv6_fragment_header: "enable" + nat46_force_ipv4_packet_forwarding: "enable" + nat64_prefix: "" + secondary_prefix: + - + name: "default_name_8" + nat64_prefix: "" + secondary_prefix_status: "enable" + status: "enable" """ RETURN = """ @@ -220,7 +209,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -299,7 +287,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "nat64") if data["system_nat64"]: resp = system_nat64(data, fos) @@ -316,338 +303,47 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "nat64_prefix": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "nat64_prefix": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, "secondary_prefix_status": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secondary_prefix": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "required": True, }, - "nat64_prefix": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "nat64_prefix": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v7.0.0"]], }, "always_synthesize_aaaa_record": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "generate_ipv6_fragment_header": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat46_force_ipv4_packet_forwarding": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -683,6 +379,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nd_proxy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nd_proxy.py index 6e0ba5c6a..2aa0107ed 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nd_proxy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_nd_proxy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,25 +101,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 neighbor discovery proxy (RFC4389). - fortios_system_nd_proxy: - vdom: "{{ vdom }}" +- name: Configure IPv6 neighbor discovery proxy (RFC4389). + fortinet.fortios.fortios_system_nd_proxy: + vdom: "{{ vdom }}" system_nd_proxy: - member: - - - interface_name: " (source system.interface.name)" - status: "enable" - + member: + - + interface_name: " (source system.interface.name)" + status: "enable" """ RETURN = """ @@ -178,7 +167,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -251,7 +239,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "nd-proxy") if data["system_nd_proxy"]: resp = system_nd_proxy(data, fos) @@ -268,184 +255,25 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "member": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -481,6 +309,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_netflow.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_netflow.py index 0e1d4b9cd..3b1ea6d5d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_netflow.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_netflow.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,30 +123,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NetFlow. - fortios_system_netflow: - vdom: "{{ vdom }}" +- name: Configure NetFlow. + fortinet.fortios.fortios_system_netflow: + vdom: "{{ vdom }}" system_netflow: - active_flow_timeout: "1800" - collector_ip: "" - collector_port: "2055" - inactive_flow_timeout: "15" - interface: " (source system.interface.name)" - interface_select_method: "auto" - source_ip: "84.230.14.43" - template_tx_counter: "20" - template_tx_timeout: "1800" - + active_flow_timeout: "1800" + collector_ip: "" + collector_port: "2055" + inactive_flow_timeout: "15" + interface: " (source system.interface.name)" + interface_select_method: "auto" + source_ip: "84.230.14.43" + template_tx_counter: "20" + template_tx_timeout: "1800" """ RETURN = """ @@ -205,7 +194,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -288,7 +276,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "netflow") if data["system_netflow"]: resp = system_netflow(data, fos) @@ -305,351 +292,22 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "collector_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "collector_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "active_flow_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "inactive_flow_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "template_tx_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "template_tx_counter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "collector_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "collector_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "active_flow_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "inactive_flow_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "template_tx_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "template_tx_counter": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, } @@ -684,6 +342,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_network_visibility.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_network_visibility.py index 374619130..338c2224c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_network_visibility.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_network_visibility.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,27 +119,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure network visibility settings. - fortios_system_network_visibility: - vdom: "{{ vdom }}" +- name: Configure network visibility settings. + fortinet.fortios.fortios_system_network_visibility: + vdom: "{{ vdom }}" system_network_visibility: - destination_hostname_visibility: "disable" - destination_location: "disable" - destination_visibility: "disable" - hostname_limit: "5000" - hostname_ttl: "86400" - source_location: "disable" - + destination_hostname_visibility: "disable" + destination_location: "disable" + destination_visibility: "disable" + hostname_limit: "5000" + hostname_ttl: "86400" + source_location: "disable" """ RETURN = """ @@ -198,7 +187,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,7 +266,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "network-visibility") if data["system_network_visibility"]: resp = system_network_visibility(data, fos) @@ -297,447 +284,30 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "destination_visibility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "source_location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "destination_hostname_visibility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "hostname_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "hostname_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "hostname_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "hostname_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "destination_location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, } @@ -775,6 +345,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_np6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_np6.py index 31b4dba45..c6b435c5d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_np6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_np6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -471,7 +471,7 @@ options: - 'enable' name: description: - - Device Name. (Please note that configurations to np6_0 will apply to all NP6s.) + - Device Name. required: true type: str per_session_accounting: @@ -504,85 +504,74 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NP6 attributes. - fortios_system_np6: - vdom: "{{ vdom }}" +- name: Configure NP6 attributes. + fortinet.fortios.fortios_system_np6: + vdom: "{{ vdom }}" state: "present" access_token: "" system_np6: - fastpath: "disable" - fp_anomaly: - icmp_csum_err: "drop" - icmp_frag: "allow" - icmp_land: "allow" - ipv4_csum_err: "drop" - ipv4_land: "allow" - ipv4_optlsrr: "allow" - ipv4_optrr: "allow" - ipv4_optsecurity: "allow" - ipv4_optssrr: "allow" - ipv4_optstream: "allow" - ipv4_opttimestamp: "allow" - ipv4_proto_err: "allow" - ipv4_unknopt: "allow" - ipv6_daddr_err: "allow" - ipv6_land: "allow" - ipv6_optendpid: "allow" - ipv6_opthomeaddr: "allow" - ipv6_optinvld: "allow" - ipv6_optjumbo: "allow" - ipv6_optnsap: "allow" - ipv6_optralert: "allow" - ipv6_opttunnel: "allow" - ipv6_proto_err: "allow" - ipv6_saddr_err: "allow" - ipv6_unknopt: "allow" - tcp_csum_err: "drop" - tcp_fin_noack: "allow" - tcp_fin_only: "allow" - tcp_land: "allow" - tcp_no_flag: "allow" - tcp_syn_data: "allow" - tcp_syn_fin: "allow" - tcp_winnuke: "allow" - udp_csum_err: "drop" - udp_land: "allow" - garbage_session_collector: "disable" - hpe: - arp_max: "200000" - enable_shaper: "disable" - esp_max: "200000" - icmp_max: "200000" - ip_frag_max: "200000" - ip_others_max: "200000" - l2_others_max: "200000" - pri_type_max: "200000" - sctp_max: "200000" - tcp_max: "600000" - tcpfin_rst_max: "600000" - tcpsyn_ack_max: "600000" - tcpsyn_max: "600000" - udp_max: "600000" - ipsec_ob_hash_function: "global-hash" - ipsec_outbound_hash: "disable" - low_latency_mode: "disable" - name: "default_name_59" - per_session_accounting: "disable" - session_collector_interval: "64" - session_timeout_fixed: "disable" - session_timeout_interval: "40" - session_timeout_random_range: "8" - + fastpath: "disable" + fp_anomaly: + icmp_csum_err: "drop" + icmp_frag: "allow" + icmp_land: "allow" + ipv4_csum_err: "drop" + ipv4_land: "allow" + ipv4_optlsrr: "allow" + ipv4_optrr: "allow" + ipv4_optsecurity: "allow" + ipv4_optssrr: "allow" + ipv4_optstream: "allow" + ipv4_opttimestamp: "allow" + ipv4_proto_err: "allow" + ipv4_unknopt: "allow" + ipv6_daddr_err: "allow" + ipv6_land: "allow" + ipv6_optendpid: "allow" + ipv6_opthomeaddr: "allow" + ipv6_optinvld: "allow" + ipv6_optjumbo: "allow" + ipv6_optnsap: "allow" + ipv6_optralert: "allow" + ipv6_opttunnel: "allow" + ipv6_proto_err: "allow" + ipv6_saddr_err: "allow" + ipv6_unknopt: "allow" + tcp_csum_err: "drop" + tcp_fin_noack: "allow" + tcp_fin_only: "allow" + tcp_land: "allow" + tcp_no_flag: "allow" + tcp_syn_data: "allow" + tcp_syn_fin: "allow" + tcp_winnuke: "allow" + udp_csum_err: "drop" + udp_land: "allow" + garbage_session_collector: "disable" + hpe: + arp_max: "200000" + enable_shaper: "disable" + esp_max: "200000" + icmp_max: "200000" + ip_frag_max: "200000" + ip_others_max: "200000" + l2_others_max: "200000" + pri_type_max: "200000" + sctp_max: "200000" + tcp_max: "600000" + tcpfin_rst_max: "600000" + tcpsyn_ack_max: "600000" + tcpsyn_max: "600000" + udp_max: "600000" + ipsec_ob_hash_function: "global-hash" + ipsec_outbound_hash: "disable" + low_latency_mode: "disable" + name: "default_name_59" + per_session_accounting: "disable" + session_collector_interval: "64" + session_timeout_fixed: "disable" + session_timeout_interval: "40" + session_timeout_random_range: "8" """ RETURN = """ @@ -641,7 +630,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -669,6 +657,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_np6_data(json): @@ -712,7 +703,6 @@ def underscore_to_hyphen(data): def system_np6(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -746,11 +736,16 @@ def system_np6(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -798,13 +793,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "np6") if data["system_np6"]: resp = system_np6(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_np6")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -819,4250 +813,394 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "fastpath": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "low_latency_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "per_session_accounting": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "traffic-log-only", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "traffic-log-only"}, + {"value": "enable"}, ], }, "garbage_session_collector": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "session_collector_interval": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "session_timeout_interval": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "session_collector_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "session_timeout_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "session_timeout_random_range": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "session_timeout_fixed": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipsec_outbound_hash": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipsec_ob_hash_function": { - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global-hash", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin-global", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "hpe": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "tcpsyn_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tcpsyn_ack_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "tcpfin_rst_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "tcp_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "udp_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "icmp_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sctp_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "esp_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip_frag_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip_others_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "arp_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "l2_others_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "tcpsyn_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tcpsyn_ack_max": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "tcpfin_rst_max": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "tcp_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "udp_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "icmp_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sctp_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "esp_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip_frag_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip_others_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "arp_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "l2_others_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "pri_type_max": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], "type": "integer", }, "enable_shaper": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "fp_anomaly": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "tcp_syn_fin": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "tcp_fin_noack": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "tcp_fin_only": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "tcp_no_flag": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "tcp_syn_data": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "tcp_winnuke": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "tcp_land": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "udp_land": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "icmp_land": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "icmp_frag": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_land": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_proto_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_unknopt": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_optrr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_optssrr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_optlsrr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_optstream": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_optsecurity": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_opttimestamp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv4_csum_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "drop"}, {"value": "trap-to-host"}], }, "tcp_csum_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "drop"}, {"value": "trap-to-host"}], }, "udp_csum_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "drop"}, {"value": "trap-to-host"}], }, "icmp_csum_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "drop"}, {"value": "trap-to-host"}], }, "ipv6_land": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_proto_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_unknopt": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_saddr_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_daddr_err": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_optralert": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_optjumbo": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_opttunnel": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_opthomeaddr": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_optnsap": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_optendpid": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, "ipv6_optinvld": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "drop", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap-to-host", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "drop"}, + {"value": "trap-to-host"}, ], }, }, }, + "ipsec_outbound_hash": { + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "ipsec_ob_hash_function": { + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], + "type": "string", + "options": [{"value": "global-hash"}, {"value": "round-robin-global"}], + }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -5097,6 +1235,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_npu.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_npu.py index 1de923747..f63ed6a29 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_npu.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_npu.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -384,6 +384,28 @@ options: - '4G' - '5G' - '6G' + - '7G' + - '8G' + - '9G' + sw_tr_hash: + description: + - Configure switch traditional hashing. + type: dict + suboptions: + draco15: + description: + - Enable/disable DRACO15 hashing. + type: str + choices: + - 'enable' + - 'disable' + tcp_udp_port: + description: + - Include/exclude TCP/UDP source and destination port for unicast trunk traffic. + type: str + choices: + - 'include' + - 'exclude' uesp_offload: description: - Enable/disable UDP-encapsulated ESP offload . @@ -394,74 +416,66 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NPU attributes. - fortios_system_npu: - vdom: "{{ vdom }}" +- name: Configure NPU attributes. + fortinet.fortios.fortios_system_npu: + vdom: "{{ vdom }}" system_npu: - capwap_offload: "enable" - dedicated_management_affinity: "" - dedicated_management_cpu: "enable" - fastpath: "disable" - gtp_enhanced_cpu_range: "0" - gtp_enhanced_mode: "enable" - intf_shaping_offload: "enable" - ipsec_dec_subengine_mask: "" - ipsec_enc_subengine_mask: "" - ipsec_inbound_cache: "enable" - ipsec_mtu_override: "disable" - ipsec_over_vlink: "enable" - isf_np_queues: - cos0: " (source system.isf-queue-profile.name)" - cos1: " (source system.isf-queue-profile.name)" - cos2: " (source system.isf-queue-profile.name)" - cos3: " (source system.isf-queue-profile.name)" - cos4: " (source system.isf-queue-profile.name)" - cos5: " (source system.isf-queue-profile.name)" - cos6: " (source system.isf-queue-profile.name)" - cos7: " (source system.isf-queue-profile.name)" - lag_out_port_select: "disable" - mcast_session_accounting: "tpe-based" - port_cpu_map: - - - cpu_core: "" - interface: "" - port_npu_map: - - - interface: "" - npu_group_index: "0" - priority_protocol: - bfd: "enable" - bgp: "enable" - slbc: "enable" - qos_mode: "disable" - rdp_offload: "enable" - session_denied_offload: "disable" - sse_backpressure: "enable" - strip_clear_text_padding: "enable" - strip_esp_padding: "enable" - sw_eh_hash: - computation: "xor16" - destination_ip_lower_16: "include" - destination_ip_upper_16: "include" - destination_port: "include" - ip_protocol: "include" - netmask_length: "32" - source_ip_lower_16: "include" - source_ip_upper_16: "include" - source_port: "include" - sw_np_bandwidth: "0G" - uesp_offload: "enable" - + capwap_offload: "enable" + dedicated_management_affinity: "" + dedicated_management_cpu: "enable" + fastpath: "disable" + gtp_enhanced_cpu_range: "0" + gtp_enhanced_mode: "enable" + intf_shaping_offload: "enable" + ipsec_dec_subengine_mask: "" + ipsec_enc_subengine_mask: "" + ipsec_inbound_cache: "enable" + ipsec_mtu_override: "disable" + ipsec_over_vlink: "enable" + isf_np_queues: + cos0: " (source system.isf-queue-profile.name)" + cos1: " (source system.isf-queue-profile.name)" + cos2: " (source system.isf-queue-profile.name)" + cos3: " (source system.isf-queue-profile.name)" + cos4: " (source system.isf-queue-profile.name)" + cos5: " (source system.isf-queue-profile.name)" + cos6: " (source system.isf-queue-profile.name)" + cos7: " (source system.isf-queue-profile.name)" + lag_out_port_select: "disable" + mcast_session_accounting: "tpe-based" + port_cpu_map: + - + cpu_core: "" + interface: "" + port_npu_map: + - + interface: "" + npu_group_index: "0" + priority_protocol: + bfd: "enable" + bgp: "enable" + slbc: "enable" + qos_mode: "disable" + rdp_offload: "enable" + session_denied_offload: "disable" + sse_backpressure: "enable" + strip_clear_text_padding: "enable" + strip_esp_padding: "enable" + sw_eh_hash: + computation: "xor16" + destination_ip_lower_16: "include" + destination_ip_upper_16: "include" + destination_port: "include" + ip_protocol: "include" + netmask_length: "32" + source_ip_lower_16: "include" + source_ip_upper_16: "include" + source_port: "include" + sw_np_bandwidth: "0G" + sw_tr_hash: + draco15: "enable" + tcp_udp_port: "include" + uesp_offload: "enable" """ RETURN = """ @@ -520,7 +534,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -572,6 +585,7 @@ def filter_system_npu_data(json): "strip_esp_padding", "sw_eh_hash", "sw_np_bandwidth", + "sw_tr_hash", "uesp_offload", ] @@ -619,7 +633,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "npu") if data["system_npu"]: resp = system_npu(data, fos) @@ -636,1886 +649,345 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "dedicated_management_cpu": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dedicated_management_affinity": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "fastpath": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "capwap_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipsec_enc_subengine_mask": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", }, - "ipsec_dec_subengine_mask": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port_npu_map": { + "port_cpu_map": { "type": "list", "elements": "dict", "children": { "interface": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", "required": True, }, - "npu_group_index": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "cpu_core": { + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], + "type": "string", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.0": False, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], + }, + "fastpath": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "capwap_offload": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ipsec_enc_subengine_mask": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipsec_dec_subengine_mask": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sw_np_bandwidth": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "0G", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "2G", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "4G", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "5G", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "6G", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "0G"}, + {"value": "2G"}, + {"value": "4G"}, + {"value": "5G"}, + {"value": "6G"}, + {"value": "7G", "v_range": [["v7.4.0", ""]]}, + {"value": "8G", "v_range": [["v7.4.0", ""]]}, + {"value": "9G", "v_range": [["v7.4.0", ""]]}, ], }, "gtp_enhanced_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp_enhanced_cpu_range": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "0", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "0"}, {"value": "1"}, {"value": "2"}], }, "intf_shaping_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "strip_esp_padding": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "strip_clear_text_padding": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipsec_inbound_cache": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sse_backpressure": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rdp_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipsec_over_vlink": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "uesp_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "lag_out_port_select": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "mcast_session_accounting": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tpe-based", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "session-based", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipsec_mtu_override": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - "v6.2.0": True, - }, - }, - ], - }, - "session_denied_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "priority_protocol": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "dict", - "children": { - "bgp": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "slbc": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "bfd": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - }, - }, - "port_cpu_map": { - "type": "list", - "elements": "dict", - "children": { - "interface": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - "required": True, - }, - "cpu_core": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, - "type": "string", - }, - }, - "revisions": { - "v7.2.0": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "options": [{"value": "enable"}, {"value": "disable"}], }, "qos_mode": { - "revisions": { - "v7.2.0": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ - {"value": "disable", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "priority", "revisions": {"v7.2.0": True, "v6.4.0": True}}, - {"value": "round-robin", "revisions": {"v7.2.0": True, "v6.4.0": True}}, + {"value": "disable"}, + {"value": "priority"}, + {"value": "round-robin"}, ], }, "isf_np_queues": { - "revisions": { - "v7.2.0": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "dict", "children": { "cos0": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, "cos1": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, "cos2": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, "cos3": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, "cos4": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, "cos5": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, "cos6": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, "cos7": { - "revisions": {"v7.2.0": True, "v6.4.0": True}, + "v_range": [ + ["v6.4.0", "v6.4.0"], + ["v7.2.0", "v7.2.0"], + ["v7.4.0", ""], + ], "type": "string", }, }, }, + "mcast_session_accounting": { + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v6.2.0"], + ["v6.2.5", "v6.2.7"], + ["v6.4.4", ""], + ], + "type": "string", + "options": [ + {"value": "tpe-based"}, + {"value": "session-based"}, + {"value": "disable"}, + ], + }, + "ipsec_mtu_override": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "lag_out_port_select": { + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, "sw_eh_hash": { - "revisions": { - "v7.2.0": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "dict", "children": { "computation": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", "options": [ - {"value": "xor16", "revisions": {"v7.2.0": True}}, - {"value": "xor8", "revisions": {"v7.2.0": True}}, - {"value": "xor4", "revisions": {"v7.2.0": True}}, - {"value": "crc16", "revisions": {"v7.2.0": True}}, + {"value": "xor16"}, + {"value": "xor8"}, + {"value": "xor4"}, + {"value": "crc16"}, ], }, "ip_protocol": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "include", "revisions": {"v7.2.0": True}}, - {"value": "exclude", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "source_ip_upper_16": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "include", "revisions": {"v7.2.0": True}}, - {"value": "exclude", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "source_ip_lower_16": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "include", "revisions": {"v7.2.0": True}}, - {"value": "exclude", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "destination_ip_upper_16": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "include", "revisions": {"v7.2.0": True}}, - {"value": "exclude", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "destination_ip_lower_16": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "include", "revisions": {"v7.2.0": True}}, - {"value": "exclude", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "source_port": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "include", "revisions": {"v7.2.0": True}}, - {"value": "exclude", "revisions": {"v7.2.0": True}}, - ], + "options": [{"value": "include"}, {"value": "exclude"}], }, "destination_port": { - "revisions": {"v7.2.0": True}, + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "include", "revisions": {"v7.2.0": True}}, - {"value": "exclude", "revisions": {"v7.2.0": True}}, + "options": [{"value": "include"}, {"value": "exclude"}], + }, + "netmask_length": { + "v_range": [["v7.2.0", "v7.2.0"], ["v7.4.0", ""]], + "type": "integer", + }, + }, + }, + "sw_tr_hash": { + "v_range": [["v7.4.0", ""]], + "type": "dict", + "children": { + "draco15": { + "v_range": [["v7.4.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "tcp_udp_port": { + "v_range": [["v7.4.0", ""]], + "type": "string", + "options": [{"value": "include"}, {"value": "exclude"}], + }, + }, + }, + "session_denied_offload": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "priority_protocol": { + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], + "type": "dict", + "children": { + "bgp": { + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "slbc": { + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "bfd": { + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + }, + }, + "port_npu_map": { + "type": "list", + "elements": "dict", + "children": { + "interface": { + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], ], + "type": "string", + "required": True, + }, + "npu_group_index": { + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], + "type": "integer", }, - "netmask_length": {"revisions": {"v7.2.0": True}, "type": "integer"}, }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], }, }, } @@ -2551,6 +1023,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ntp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ntp.py index bd662d4a5..26877a2b7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ntp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ntp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -128,7 +128,7 @@ options: - 'disable' id: description: - - NTP server ID. + - NTP server ID. see Notes. required: true type: int interface: @@ -199,44 +199,33 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure system NTP information. - fortios_system_ntp: - vdom: "{{ vdom }}" +- name: Configure system NTP information. + fortinet.fortios.fortios_system_ntp: + vdom: "{{ vdom }}" system_ntp: - authentication: "enable" - interface: - - - interface_name: " (source system.interface.name)" - key: "" - key_id: "0" - key_type: "MD5" - ntpserver: - - - authentication: "enable" - id: "11" - interface: " (source system.interface.name)" - interface_select_method: "auto" - key: "" - key_id: "0" - ntpv3: "enable" - server: "192.168.100.40" - ntpsync: "enable" - server_mode: "enable" - source_ip: "84.230.14.43" - source_ip6: "" - syncinterval: "60" - type: "fortiguard" - + authentication: "enable" + interface: + - + interface_name: " (source system.interface.name)" + key: "" + key_id: "0" + key_type: "MD5" + ntpserver: + - + authentication: "enable" + id: "11" + interface: " (source system.interface.name)" + interface_select_method: "auto" + key: "" + key_id: "0" + ntpv3: "enable" + server: "192.168.100.40" + ntpsync: "enable" + server_mode: "enable" + source_ip: "84.230.14.43" + source_ip6: "" + syncinterval: "60" + type: "fortiguard" """ RETURN = """ @@ -295,7 +284,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -379,7 +367,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ntp") if data["system_ntp"]: resp = system_ntp(data, fos) @@ -396,1132 +383,96 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ntpsync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "fortiguard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "syncinterval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "fortiguard"}, {"value": "custom"}], }, + "syncinterval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ntpserver": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ntpv3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "key_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "key_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "auto"}, + {"value": "sdwan"}, + {"value": "specify"}, ], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "key_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "MD5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SHA1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "key_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "MD5"}, {"value": "SHA1"}], }, + "key": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "key_id": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "interface": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -1557,6 +508,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_object_tagging.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_object_tagging.py index 9d06d31c4..0a041c077 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_object_tagging.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_object_tagging.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -142,32 +142,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure object tagging. - fortios_system_object_tagging: - vdom: "{{ vdom }}" +- name: Configure object tagging. + fortinet.fortios.fortios_system_object_tagging: + vdom: "{{ vdom }}" state: "present" access_token: "" system_object_tagging: - address: "disable" - category: "" - color: "0" - device: "disable" - interface: "disable" - multiple: "enable" - tags: - - - name: "default_name_10" - + address: "disable" + category: "" + color: "0" + device: "disable" + interface: "disable" + multiple: "enable" + tags: + - + name: "default_name_10" """ RETURN = """ @@ -226,7 +215,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -254,6 +242,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_object_tagging_data(json): @@ -291,7 +282,6 @@ def underscore_to_hyphen(data): def system_object_tagging(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -327,11 +317,16 @@ def system_object_tagging(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -381,13 +376,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "object-tagging") if data["system_object_tagging"]: resp = system_object_tagging(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_object_tagging")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -402,597 +396,54 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mandatory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "mandatory"}, + {"value": "optional"}, ], }, "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mandatory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "mandatory"}, + {"value": "optional"}, ], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mandatory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "mandatory"}, + {"value": "optional"}, ], }, "multiple": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "color": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1029,6 +480,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy.py index f45e41b3b..06156b261 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,33 +147,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. - fortios_system_password_policy: - vdom: "{{ vdom }}" +- name: Configure password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. + fortinet.fortios.fortios_system_password_policy: + vdom: "{{ vdom }}" system_password_policy: - apply_to: "admin-password" - change_4_characters: "enable" - expire_day: "90" - expire_status: "enable" - min_change_characters: "0" - min_lower_case_letter: "0" - min_non_alphanumeric: "0" - min_number: "0" - min_upper_case_letter: "0" - minimum_length: "8" - reuse_password: "enable" - status: "enable" - + apply_to: "admin-password" + change_4_characters: "enable" + expire_day: "90" + expire_status: "enable" + min_change_characters: "0" + min_lower_case_letter: "0" + min_non_alphanumeric: "0" + min_number: "0" + min_upper_case_letter: "0" + minimum_length: "8" + reuse_password: "enable" + status: "enable" """ RETURN = """ @@ -232,7 +221,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -350,7 +338,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "password-policy") if data["system_password_policy"]: resp = system_password_policy(data, fos) @@ -367,641 +354,42 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "apply_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "admin-password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipsec-preshared-key", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "admin-password"}, {"value": "ipsec-preshared-key"}], "multiple_values": True, "elements": "str", }, - "minimum_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_lower_case_letter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_upper_case_letter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_non_alphanumeric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_change_characters": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "minimum_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_lower_case_letter": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_upper_case_letter": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_non_alphanumeric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_number": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_change_characters": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "expire_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "expire_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "expire_day": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "reuse_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "change_4_characters": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -1040,6 +428,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy_guest_admin.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy_guest_admin.py index d4bc3779a..0c4b9954d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy_guest_admin.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_password_policy_guest_admin.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -146,33 +146,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure the password policy for guest administrators. - fortios_system_password_policy_guest_admin: - vdom: "{{ vdom }}" +- name: Configure the password policy for guest administrators. + fortinet.fortios.fortios_system_password_policy_guest_admin: + vdom: "{{ vdom }}" system_password_policy_guest_admin: - apply_to: "guest-admin-password" - change_4_characters: "enable" - expire_day: "90" - expire_status: "enable" - min_change_characters: "0" - min_lower_case_letter: "0" - min_non_alphanumeric: "0" - min_number: "0" - min_upper_case_letter: "0" - minimum_length: "8" - reuse_password: "enable" - status: "enable" - + apply_to: "guest-admin-password" + change_4_characters: "enable" + expire_day: "90" + expire_status: "enable" + min_change_characters: "0" + min_lower_case_letter: "0" + min_non_alphanumeric: "0" + min_number: "0" + min_upper_case_letter: "0" + minimum_length: "8" + reuse_password: "enable" + status: "enable" """ RETURN = """ @@ -231,7 +220,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -353,7 +341,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "password-policy-guest-admin") if data["system_password_policy_guest_admin"]: resp = system_password_policy_guest_admin(data, fos) @@ -372,612 +359,42 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "apply_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "guest-admin-password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - } - ], + "options": [{"value": "guest-admin-password"}], "multiple_values": True, "elements": "str", }, - "minimum_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_lower_case_letter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_upper_case_letter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_non_alphanumeric": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_change_characters": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "minimum_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_lower_case_letter": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_upper_case_letter": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_non_alphanumeric": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_number": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_change_characters": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "expire_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "expire_day": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "expire_day": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "reuse_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "change_4_characters": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -1016,6 +433,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pcp_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pcp_server.py index d15ff3107..2f422f193 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pcp_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pcp_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -208,49 +208,38 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure PCP server information. - fortios_system_pcp_server: - vdom: "{{ vdom }}" +- name: Configure PCP server information. + fortinet.fortios.fortios_system_pcp_server: + vdom: "{{ vdom }}" system_pcp_server: - pools: - - - allow_opcode: "map" - announcement_count: "3" - arp_reply: "disable" - client_mapping_limit: "0" - client_subnet: - - - subnet: "" - description: "" - ext_intf: " (source system.interface.name)" - extip: "" - extport: "" - id: "14" - intl_intf: - - - interface_name: " (source system.interface.name)" - mapping_filter_limit: "1" - maximal_lifetime: "86400" - minimal_lifetime: "120" - multicast_announcement: "enable" - name: "default_name_21" - recycle_delay: "0" - third_party: "allow" - third_party_subnet: - - - subnet: "" - status: "enable" - + pools: + - + allow_opcode: "map" + announcement_count: "3" + arp_reply: "disable" + client_mapping_limit: "0" + client_subnet: + - + subnet: "" + description: "" + ext_intf: " (source system.interface.name)" + extip: "" + extport: "" + id: "14" + intl_intf: + - + interface_name: " (source system.interface.name)" + mapping_filter_limit: "1" + maximal_lifetime: "86400" + minimal_lifetime: "120" + multicast_announcement: "enable" + name: "default_name_21" + recycle_delay: "0" + third_party: "allow" + third_party_subnet: + - + subnet: "" + status: "enable" """ RETURN = """ @@ -309,7 +298,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -412,7 +400,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "pcp-server") if data["system_pcp_server"]: resp = system_pcp_server(data, fos) @@ -429,119 +416,104 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "dict", "children": { "status": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pools": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, }, - "description": {"revisions": {"v7.4.0": True}, "type": "string"}, - "id": {"revisions": {"v7.4.0": True}, "type": "integer"}, + "description": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "id": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "client_subnet": { "type": "list", "elements": "dict", "children": { "subnet": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, - "ext_intf": {"revisions": {"v7.4.0": True}, "type": "string"}, + "ext_intf": {"v_range": [["v7.4.0", ""]], "type": "string"}, "arp_reply": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "extip": {"revisions": {"v7.4.0": True}, "type": "string"}, - "extport": {"revisions": {"v7.4.0": True}, "type": "string"}, - "minimal_lifetime": {"revisions": {"v7.4.0": True}, "type": "integer"}, - "maximal_lifetime": {"revisions": {"v7.4.0": True}, "type": "integer"}, + "extip": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "extport": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "minimal_lifetime": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "maximal_lifetime": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "client_mapping_limit": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "integer", }, "mapping_filter_limit": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "integer", }, "allow_opcode": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "list", "options": [ - {"value": "map", "revisions": {"v7.4.0": True}}, - {"value": "peer", "revisions": {"v7.4.0": True}}, - {"value": "announce", "revisions": {"v7.4.0": True}}, + {"value": "map"}, + {"value": "peer"}, + {"value": "announce"}, ], "multiple_values": True, "elements": "str", }, "third_party": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.4.0": True}}, - {"value": "disallow", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "allow"}, {"value": "disallow"}], }, "third_party_subnet": { "type": "list", "elements": "dict", "children": { "subnet": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, "multicast_announcement": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "announcement_count": { - "revisions": {"v7.4.0": True}, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "announcement_count": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "intl_intf": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, - "recycle_delay": {"revisions": {"v7.4.0": True}, "type": "integer"}, + "recycle_delay": {"v_range": [["v7.4.0", ""]], "type": "integer"}, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, }, } @@ -577,6 +549,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_performance_top.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_performance_top.py index e5f837bda..5088314dd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_performance_top.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_performance_top.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display information about the top CPU processes. - fortios_system_performance_top: - vdom: "{{ vdom }}" +- name: Display information about the top CPU processes. + fortinet.fortios.fortios_system_performance_top: + vdom: "{{ vdom }}" system_performance_top: - delay: "" - + delay: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_system_performance(data, fos): - fos.do_member_operation("system.performance", "top") if data["system_performance_top"]: resp = system_performance_top(data, fos) @@ -275,39 +262,15 @@ def fortios_system_performance(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "delay": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -346,6 +309,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_physical_switch.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_physical_switch.py index fd7f9047f..c4f6ae74d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_physical_switch.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_physical_switch.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -142,31 +142,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure physical switches. - fortios_system_physical_switch: - vdom: "{{ vdom }}" +- name: Configure physical switches. + fortinet.fortios.fortios_system_physical_switch: + vdom: "{{ vdom }}" state: "present" access_token: "" system_physical_switch: - age_enable: "enable" - age_val: "3158067" - name: "default_name_5" - port: - - - name: "default_name_7" - speed: "auto" - status: "up" - + age_enable: "enable" + age_val: "3158067" + name: "default_name_5" + port: + - + name: "default_name_7" + speed: "auto" + status: "up" """ RETURN = """ @@ -225,7 +214,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -253,6 +241,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_physical_switch_data(json): @@ -282,7 +273,6 @@ def underscore_to_hyphen(data): def system_physical_switch(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -318,11 +308,16 @@ def system_physical_switch(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -372,13 +367,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "physical-switch") if data["system_physical_switch"]: resp = system_physical_switch(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_physical_switch")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -394,111 +388,29 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", "required": True, }, "age_enable": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], ], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "age_val": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "integer", }, "port": { @@ -506,191 +418,38 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, "speed": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10full", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10half", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100full", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100half", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000full", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000half", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000auto", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10000full", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10000auto", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40000full", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100Gfull", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "10full"}, + {"value": "10half"}, + {"value": "100full"}, + {"value": "100half"}, + {"value": "1000full"}, + {"value": "1000half"}, + {"value": "1000auto"}, + {"value": "10000full"}, + {"value": "10000auto"}, + {"value": "40000full"}, + {"value": "100Gfull"}, ], }, "status": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "up", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "down", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "up"}, {"value": "down"}], }, }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, }, - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v7.0.12"], ["v7.2.1", "v7.2.4"]], } @@ -727,6 +486,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pppoe_interface.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pppoe_interface.py index 7fda14748..51237bd3f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pppoe_interface.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_pppoe_interface.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -171,39 +171,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure the PPPoE interfaces. - fortios_system_pppoe_interface: - vdom: "{{ vdom }}" +- name: Configure the PPPoE interfaces. + fortinet.fortios.fortios_system_pppoe_interface: + vdom: "{{ vdom }}" state: "present" access_token: "" system_pppoe_interface: - ac_name: "" - auth_type: "auto" - device: " (source system.interface.name)" - dial_on_demand: "enable" - disc_retry_timeout: "1" - idle_timeout: "0" - ipunnumbered: "" - ipv6: "enable" - lcp_echo_interval: "5" - lcp_max_echo_fails: "3" - name: "default_name_13" - padt_retry_timeout: "1" - password: "" - pppoe_unnumbered_negotiate: "enable" - service_name: "" - username: "" - + ac_name: "" + auth_type: "auto" + device: " (source system.interface.name)" + dial_on_demand: "enable" + disc_retry_timeout: "1" + idle_timeout: "0" + ipunnumbered: "" + ipv6: "enable" + lcp_echo_interval: "5" + lcp_max_echo_fails: "3" + name: "default_name_13" + padt_retry_timeout: "1" + password: "" + pppoe_unnumbered_negotiate: "enable" + service_name: "" + username: "" """ RETURN = """ @@ -262,7 +251,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -290,6 +278,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_pppoe_interface_data(json): @@ -336,7 +327,6 @@ def underscore_to_hyphen(data): def system_pppoe_interface(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -372,11 +362,16 @@ def system_pppoe_interface(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -426,13 +421,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "pppoe-interface") if data["system_pppoe_interface"]: resp = system_pppoe_interface(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_pppoe_interface")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -447,825 +441,46 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "dial_on_demand": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mschapv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "pap"}, + {"value": "chap"}, + {"value": "mschapv1"}, + {"value": "mschapv2"}, ], }, - "ipunnumbered": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ipunnumbered": {"v_range": [["v6.0.0", ""]], "type": "string"}, "pppoe_unnumbered_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "disc_retry_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "padt_retry_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "service_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ac_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "lcp_echo_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "lcp_max_echo_fails": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "idle_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "disc_retry_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "padt_retry_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "service_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ac_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "lcp_echo_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "lcp_max_echo_fails": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1302,6 +517,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_probe_response.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_probe_response.py index 8cbb83a34..73b553fd3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_probe_response.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_probe_response.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,28 +122,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure system probe response. - fortios_system_probe_response: - vdom: "{{ vdom }}" +- name: Configure system probe response. + fortinet.fortios.fortios_system_probe_response: + vdom: "{{ vdom }}" system_probe_response: - http_probe_value: "" - mode: "none" - password: "" - port: "8008" - security_mode: "none" - timeout: "300" - ttl_mode: "reinit" - + http_probe_value: "" + mode: "none" + password: "" + port: "8008" + security_mode: "none" + timeout: "300" + ttl_mode: "reinit" """ RETURN = """ @@ -202,7 +191,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -283,7 +271,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "probe-response") if data["system_probe_response"]: resp = system_probe_response(data, fos) @@ -300,475 +287,32 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "http_probe_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "http_probe_value": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ttl_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "reinit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "decrease", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "retain", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "reinit"}, + {"value": "decrease"}, + {"value": "retain"}, ], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-probe", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "twamp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http-probe"}, {"value": "twamp"}], }, "security_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authentication", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "none"}, {"value": "authentication"}], }, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -805,6 +349,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_proxy_arp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_proxy_arp.py index 6d5496eb0..2cb1ac668 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_proxy_arp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_proxy_arp.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +96,7 @@ options: type: str id: description: - - Unique integer ID of the entry. + - Unique integer ID of the entry. see Notes. required: true type: int interface: @@ -108,27 +110,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure proxy-ARP. - fortios_system_proxy_arp: - vdom: "{{ vdom }}" +- name: Configure proxy-ARP. + fortinet.fortios.fortios_system_proxy_arp: + vdom: "{{ vdom }}" state: "present" access_token: "" system_proxy_arp: - end_ip: "" - id: "4" - interface: " (source system.interface.name)" - ip: "" - + end_ip: "" + id: "4" + interface: " (source system.interface.name)" + ip: "" """ RETURN = """ @@ -187,7 +178,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +205,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_proxy_arp_data(json): @@ -244,7 +237,6 @@ def underscore_to_hyphen(data): def system_proxy_arp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -280,11 +272,16 @@ def system_proxy_arp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,13 +329,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "proxy-arp") if data["system_proxy_arp"]: resp = system_proxy_arp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_proxy_arp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -353,150 +349,12 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -531,6 +389,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ptp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ptp.py index bc8e5a67d..0f764d262 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ptp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_ptp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,7 +117,7 @@ options: - 'P2P' id: description: - - ID. + - ID. see Notes. required: true type: int server_interface_name: @@ -141,32 +141,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure system PTP information. - fortios_system_ptp: - vdom: "{{ vdom }}" +- name: Configure system PTP information. + fortinet.fortios.fortios_system_ptp: + vdom: "{{ vdom }}" system_ptp: - delay_mechanism: "E2E" - interface: " (source system.interface.name)" - mode: "multicast" - request_interval: "1" - server_interface: - - - delay_mechanism: "E2E" - id: "9" - server_interface_name: " (source system.interface.name)" - server_mode: "enable" - status: "enable" - + delay_mechanism: "E2E" + interface: " (source system.interface.name)" + mode: "multicast" + request_interval: "1" + server_interface: + - + delay_mechanism: "E2E" + id: "9" + server_interface_name: " (source system.interface.name)" + server_mode: "enable" + status: "enable" """ RETURN = """ @@ -225,7 +214,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -304,7 +292,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "ptp") if data["system_ptp"]: resp = system_ptp(data, fos) @@ -321,508 +308,51 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "multicast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "hybrid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "multicast"}, {"value": "hybrid"}], }, "delay_mechanism": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "E2E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "P2P", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "request_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "E2E"}, {"value": "P2P"}], }, + "request_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "interface": {"v_range": [["v6.2.0", ""]], "type": "string"}, "server_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_interface": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "integer", "required": True, }, "server_interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", }, "delay_mechanism": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "E2E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "P2P", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "E2E"}, {"value": "P2P"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.1", ""]], }, }, } @@ -858,6 +388,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_admin.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_admin.py index 2f0c37c04..7ebe725d9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_admin.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_admin.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_admin: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_admin: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_admin: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_admin_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_admin(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_admin(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "admin") if data["system_replacemsg_admin"]: resp = system_replacemsg_admin(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_admin")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_alertmail.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_alertmail.py index 3a00c0ace..cf7379d15 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_alertmail.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_alertmail.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_alertmail: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_alertmail: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_alertmail: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_alertmail_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_alertmail(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_alertmail(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,7 +338,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "alertmail") if data["system_replacemsg_alertmail"]: resp = system_replacemsg_alertmail(data, fos, check_mode) @@ -351,7 +345,7 @@ def fortios_system_replacemsg(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_replacemsg_alertmail") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,262 +361,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -659,6 +422,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_auth.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_auth.py index 64e3edb7b..b716d009a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_auth.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_auth.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_auth: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_auth: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_auth: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_auth_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_auth(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_auth(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "auth") if data["system_replacemsg_auth"]: resp = system_replacemsg_auth(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_auth")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_automation.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_automation.py index e5bda216f..233402668 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_automation.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_automation.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -116,27 +116,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_automation: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_automation: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_automation: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -195,7 +184,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -279,7 +267,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos): - fos.do_member_operation("system.replacemsg", "automation") if data["system_replacemsg_automation"]: resp = system_replacemsg_automation(data, fos) @@ -302,140 +289,26 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "text"}, {"value": "html"}], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -472,6 +345,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_device_detection_portal.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_device_detection_portal.py index 05a273b9f..fe30989c4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_device_detection_portal.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_device_detection_portal.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_device_detection_portal: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_device_detection_portal: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_device_detection_portal: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_device_detection_portal_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_device_detection_portal(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -297,11 +287,16 @@ def system_replacemsg_device_detection_portal(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -359,7 +354,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "device-detection-portal") if data["system_replacemsg_device_detection_portal"]: resp = system_replacemsg_device_detection_portal(data, fos, check_mode) @@ -367,7 +361,7 @@ def fortios_system_replacemsg(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_replacemsg_device_detection_portal") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -383,163 +377,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "header": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], } @@ -576,6 +438,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ec.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ec.py index 70e2db705..2e3eda80a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ec.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ec.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_ec: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_ec: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_ec: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_ec_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_ec(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_ec(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "ec") if data["system_replacemsg_ec"]: resp = system_replacemsg_ec(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_ec")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,56 +359,28 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, - "buffer": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "header": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "http", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "8bit", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "none", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "text", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "html", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "wml", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -449,6 +415,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_fortiguard_wf.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_fortiguard_wf.py index a76bc2e80..2b1a419fb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_fortiguard_wf.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_fortiguard_wf.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_fortiguard_wf: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_fortiguard_wf: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_fortiguard_wf: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_fortiguard_wf_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_fortiguard_wf(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -295,11 +285,16 @@ def system_replacemsg_fortiguard_wf(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -354,7 +349,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "fortiguard-wf") if data["system_replacemsg_fortiguard_wf"]: resp = system_replacemsg_fortiguard_wf(data, fos, check_mode) @@ -362,7 +356,7 @@ def fortios_system_replacemsg(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_replacemsg_fortiguard_wf") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -378,262 +372,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -670,6 +433,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ftp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ftp.py index 2477d27c4..019e35771 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ftp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_ftp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_ftp: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_ftp: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_ftp: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_ftp_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_ftp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_ftp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "ftp") if data["system_replacemsg_ftp"]: resp = system_replacemsg_ftp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_ftp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_group.py index eabf8466c..c2f121522 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -1190,215 +1190,204 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure replacement message groups. - fortios_system_replacemsg_group: - vdom: "{{ vdom }}" +- name: Configure replacement message groups. + fortinet.fortios.fortios_system_replacemsg_group: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_group: - admin: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - alertmail: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - auth: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - automation: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - comment: "Comment." - custom_message: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - device_detection_portal: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - ec: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - fortiguard_wf: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - ftp: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - group_type: "default" - http: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - icap: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - mail: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - mm1: - - - add_smil: "enable" - charset: "utf-8" - class: "not-included" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - rsp_status: "ok" - rsp_text: "" - sender_visibility: "not-specified" - smil_part: "" - subject: "" - mm3: - - - add_html: "enable" - charset: "utf-8" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - html_part: "" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - subject: "" - mm4: - - - add_smil: "enable" - charset: "utf-8" - class: "not-included" - domain: "" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - rsp_status: "ok" - smil_part: "" - subject: "" - mm7: - - - add_smil: "enable" - addr_type: "rfc2822-addr" - allow_content_adaptation: "enable" - charset: "utf-8" - class: "not-included" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - rsp_status: "success" - smil_part: "" - subject: "" - mms: - - - buffer: "" - charset: "utf-8" - format: "none" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - nac_quar: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - name: "default_name_140" - nntp: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - spam: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - sslvpn: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - traffic_quota: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - utm: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - webproxy: - - - buffer: "" - format: "none" - header: "none" - msg_type: "" - + admin: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + alertmail: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + auth: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + automation: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + comment: "Comment." + custom_message: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + device_detection_portal: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + ec: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + fortiguard_wf: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + ftp: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + group_type: "default" + http: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + icap: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + mail: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + mm1: + - + add_smil: "enable" + charset: "utf-8" + class: "not-included" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + rsp_status: "ok" + rsp_text: "" + sender_visibility: "not-specified" + smil_part: "" + subject: "" + mm3: + - + add_html: "enable" + charset: "utf-8" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + html_part: "" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + subject: "" + mm4: + - + add_smil: "enable" + charset: "utf-8" + class: "not-included" + domain: "" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + rsp_status: "ok" + smil_part: "" + subject: "" + mm7: + - + add_smil: "enable" + addr_type: "rfc2822-addr" + allow_content_adaptation: "enable" + charset: "utf-8" + class: "not-included" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + rsp_status: "success" + smil_part: "" + subject: "" + mms: + - + buffer: "" + charset: "utf-8" + format: "none" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" + nac_quar: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + name: "default_name_140" + nntp: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + spam: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + sslvpn: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + traffic_quota: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + utm: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" + webproxy: + - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -1457,7 +1446,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1485,6 +1473,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_group_data(json): @@ -1565,7 +1556,6 @@ def valid_attr_to_invalid_attrs(data): def system_replacemsg_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1602,11 +1592,16 @@ def system_replacemsg_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1656,13 +1651,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "replacemsg-group") if data["system_replacemsg_group"]: resp = system_replacemsg_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1677,185 +1671,16 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "group_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ec", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "default"}, + {"value": "utm"}, + {"value": "auth"}, + {"value": "ec", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, "mail": { @@ -1863,8400 +1688,1017 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "http": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "webproxy": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ftp": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "fortiguard_wf": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "spam": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "alertmail": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "admin": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "auth": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "sslvpn": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "nac_quar": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "traffic_quota": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "utm": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "custom_message": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "icap": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "automation": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v7.0.0", ""]], "type": "string"}, "header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], }, "nntp": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "header": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, "device_detection_portal": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "header": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, "mms": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "mm1": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, - "rsp_text": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "rsp_text": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "rsp_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "ok", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unspecified", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-srv-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-msg-fmt-corrupt", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-snd-addr-unresolv", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-msg-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-net-prob", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-content-not-accept", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unsupp-msg", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ok"}, + {"value": "err-unspecified"}, + {"value": "err-srv-denied"}, + {"value": "err-msg-fmt-corrupt"}, + {"value": "err-snd-addr-unresolv"}, + {"value": "err-msg-not-found"}, + {"value": "err-net-prob"}, + {"value": "err-content-not-accept"}, + {"value": "err-unsupp-msg"}, ], }, "class": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "personal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "advertisement", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "automatic", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "personal"}, + {"value": "advertisement"}, + {"value": "information"}, + {"value": "automatic"}, ], }, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "sender_visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-specified", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "show", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hide", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-specified"}, + {"value": "show"}, + {"value": "hide"}, ], }, "add_smil": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "smil_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "smil_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "mm3": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, "add_html": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "html_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "html_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "mm4": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "domain": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "domain": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, "class": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "personal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "informational", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "advertisement", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "personal"}, + {"value": "informational"}, + {"value": "advertisement"}, + {"value": "auto"}, ], }, "rsp_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "ok", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unspecified", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-srv-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-msg-fmt-corrupt", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-snd-addr-unresolv", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-net-prob", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-content-not-accept", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unsupp-msg", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ok"}, + {"value": "err-unspecified"}, + {"value": "err-srv-denied"}, + {"value": "err-msg-fmt-corrupt"}, + {"value": "err-snd-addr-unresolv"}, + {"value": "err-net-prob"}, + {"value": "err-content-not-accept"}, + {"value": "err-unsupp-msg"}, ], }, "add_smil": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "smil_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "smil_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "mm7": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "addr_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "rfc2822-addr", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "number", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "short-code", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "rfc2822-addr"}, + {"value": "number"}, + {"value": "short-code"}, ], }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, "class": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "personal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "informational", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "advertisement", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "personal"}, + {"value": "informational"}, + {"value": "advertisement"}, + {"value": "auto"}, ], }, "rsp_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "success", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partial-success", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oper-restrict", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "addr-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "addr-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "content-refused", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msg-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "link-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msg-fmt-corrupt", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "repl-app-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "srv-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "not-possible", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msg-rejected", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multiple-addr-not-supp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-addr-not-supp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gen-service-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "improper-ident", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unsupp-ver", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unsupp-oper", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "validation-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "service-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "service-unavail", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "service-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [["v6.0.0", "v6.2.7"]], + "type": "string", + "options": [ + {"value": "success"}, + {"value": "partial-success"}, + {"value": "client-err"}, + {"value": "oper-restrict"}, + {"value": "addr-err"}, + {"value": "addr-not-found"}, + {"value": "content-refused"}, + {"value": "msg-id-not-found"}, + {"value": "link-id-not-found"}, + {"value": "msg-fmt-corrupt"}, + {"value": "app-id-not-found"}, + {"value": "repl-app-id-not-found"}, + {"value": "srv-err"}, + {"value": "not-possible"}, + {"value": "msg-rejected"}, + {"value": "multiple-addr-not-supp"}, + {"value": "app-addr-not-supp"}, + {"value": "gen-service-err"}, + {"value": "improper-ident"}, + {"value": "unsupp-ver"}, + {"value": "unsupp-oper"}, + {"value": "validation-err"}, + {"value": "service-err"}, + {"value": "service-unavail"}, + {"value": "service-denied"}, + {"value": "app-denied"}, ], }, "allow_content_adaptation": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "add_smil": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "smil_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "smil_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "ec": { "type": "list", "elements": "dict", "children": { "msg_type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, - "buffer": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "header": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "http"}, + {"value": "8bit"}, ], }, "format": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -10293,6 +2735,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_http.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_http.py index 0cd38d222..9fff71bff 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_http.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_http.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_http: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_http: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_http: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_http_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_http(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_http(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "http") if data["system_replacemsg_http"]: resp = system_replacemsg_http(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_http")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_icap.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_icap.py index 3f6e41997..9fb06286d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_icap.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_icap.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_icap: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_icap: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_icap: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_icap_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_icap(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_icap(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "icap") if data["system_replacemsg_icap"]: resp = system_replacemsg_icap(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_icap")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_image.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_image.py index 3398a418a..e52d78d50 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_image.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_image.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -109,26 +109,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure replacement message images. - fortios_system_replacemsg_image: - vdom: "{{ vdom }}" +- name: Configure replacement message images. + fortinet.fortios.fortios_system_replacemsg_image: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_image: - image_base64: "" - image_type: "gif" - name: "default_name_5" - + image_base64: "" + image_type: "gif" + name: "default_name_5" """ RETURN = """ @@ -187,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +203,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_image_data(json): @@ -244,7 +235,6 @@ def underscore_to_hyphen(data): def system_replacemsg_image(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -280,11 +270,16 @@ def system_replacemsg_image(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -334,13 +329,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "replacemsg-image") if data["system_replacemsg_image"]: resp = system_replacemsg_image(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_image")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -355,239 +349,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "image_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "gif", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jpg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tiff", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "png", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "gif"}, + {"value": "jpg"}, + {"value": "tiff"}, + {"value": "png"}, ], }, - "image_base64": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "image_base64": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -624,6 +399,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mail.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mail.py index fed12acab..0ebb05358 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mail.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mail.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_mail: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_mail: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_mail: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_mail_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_mail(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_mail(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "mail") if data["system_replacemsg_mail"]: resp = system_replacemsg_mail(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_mail")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm1.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm1.py index 29d19c8d6..40c02eaea 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm1.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm1.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -199,39 +199,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_mm1: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_mm1: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_mm1: - add_smil: "enable" - charset: "utf-8" - class: "not-included" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - rsp_status: "ok" - rsp_text: "" - sender_visibility: "not-specified" - smil_part: "" - subject: "" - + add_smil: "enable" + charset: "utf-8" + class: "not-included" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + rsp_status: "ok" + rsp_text: "" + sender_visibility: "not-specified" + smil_part: "" + subject: "" """ RETURN = """ @@ -290,7 +279,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -318,6 +306,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_mm1_data(json): @@ -387,7 +378,6 @@ def valid_attr_to_invalid_attrs(data): def system_replacemsg_mm1(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -424,11 +414,16 @@ def system_replacemsg_mm1(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -478,13 +473,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "mm1") if data["system_replacemsg_mm1"]: resp = system_replacemsg_mm1(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_mm1")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -500,634 +494,93 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, - "rsp_text": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "rsp_text": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "rsp_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "ok", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unspecified", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-srv-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-msg-fmt-corrupt", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-snd-addr-unresolv", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-msg-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-net-prob", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-content-not-accept", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unsupp-msg", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ok"}, + {"value": "err-unspecified"}, + {"value": "err-srv-denied"}, + {"value": "err-msg-fmt-corrupt"}, + {"value": "err-snd-addr-unresolv"}, + {"value": "err-msg-not-found"}, + {"value": "err-net-prob"}, + {"value": "err-content-not-accept"}, + {"value": "err-unsupp-msg"}, ], }, "class": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "personal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "advertisement", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "automatic", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "personal"}, + {"value": "advertisement"}, + {"value": "information"}, + {"value": "automatic"}, ], }, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "sender_visibility": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-specified", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "show", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hide", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-specified"}, + {"value": "show"}, + {"value": "hide"}, ], }, "add_smil": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "smil_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "smil_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -1164,6 +617,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm3.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm3.py index 0134a5662..2916f154b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm3.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm3.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -163,35 +163,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_mm3: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_mm3: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_mm3: - add_html: "enable" - charset: "utf-8" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - html_part: "" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - subject: "" - + add_html: "enable" + charset: "utf-8" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + html_part: "" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + subject: "" """ RETURN = """ @@ -250,7 +239,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,6 +266,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_mm3_data(json): @@ -343,7 +334,6 @@ def valid_attr_to_invalid_attrs(data): def system_replacemsg_mm3(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -380,11 +370,16 @@ def system_replacemsg_mm3(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -434,13 +429,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "mm3") if data["system_replacemsg_mm3"]: resp = system_replacemsg_mm3(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_mm3")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -456,376 +450,57 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, "add_html": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "html_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "html_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -862,6 +537,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm4.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm4.py index 789174b39..3136cca64 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm4.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm4.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -190,38 +190,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_mm4: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_mm4: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_mm4: - add_smil: "enable" - charset: "utf-8" - class: "not-included" - domain: "" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - rsp_status: "ok" - smil_part: "" - subject: "" - + add_smil: "enable" + charset: "utf-8" + class: "not-included" + domain: "" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + rsp_status: "ok" + smil_part: "" + subject: "" """ RETURN = """ @@ -280,7 +269,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -308,6 +296,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_mm4_data(json): @@ -376,7 +367,6 @@ def valid_attr_to_invalid_attrs(data): def system_replacemsg_mm4(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -413,11 +403,16 @@ def system_replacemsg_mm4(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -467,13 +462,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "mm4") if data["system_replacemsg_mm4"]: resp = system_replacemsg_mm4(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_mm4")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -489,572 +483,83 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "domain": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "domain": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, "class": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "personal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "informational", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "advertisement", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "personal"}, + {"value": "informational"}, + {"value": "advertisement"}, + {"value": "auto"}, ], }, "rsp_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "ok", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unspecified", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-srv-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-msg-fmt-corrupt", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-snd-addr-unresolv", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-net-prob", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-content-not-accept", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "err-unsupp-msg", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ok"}, + {"value": "err-unspecified"}, + {"value": "err-srv-denied"}, + {"value": "err-msg-fmt-corrupt"}, + {"value": "err-snd-addr-unresolv"}, + {"value": "err-net-prob"}, + {"value": "err-content-not-accept"}, + {"value": "err-unsupp-msg"}, ], }, "add_smil": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "smil_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "smil_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -1091,6 +596,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm7.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm7.py index d3ea556cc..c92d2e810 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm7.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mm7.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -219,39 +219,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_mm7: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_mm7: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_mm7: - add_smil: "enable" - addr_type: "rfc2822-addr" - allow_content_adaptation: "enable" - charset: "utf-8" - class: "not-included" - format: "none" - fos_message: "" - from: "" - from_sender: "enable" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - priority: "not-included" - rsp_status: "success" - smil_part: "" - subject: "" - + add_smil: "enable" + addr_type: "rfc2822-addr" + allow_content_adaptation: "enable" + charset: "utf-8" + class: "not-included" + format: "none" + fos_message: "" + from: "" + from_sender: "enable" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" + priority: "not-included" + rsp_status: "success" + smil_part: "" + subject: "" """ RETURN = """ @@ -310,7 +299,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -338,6 +326,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_mm7_data(json): @@ -407,7 +398,6 @@ def valid_attr_to_invalid_attrs(data): def system_replacemsg_mm7(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -444,11 +434,16 @@ def system_replacemsg_mm7(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -498,13 +493,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "mm7") if data["system_replacemsg_mm7"]: resp = system_replacemsg_mm7(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_mm7")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -520,864 +514,114 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "from_sender": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "from": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "from": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "addr_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "rfc2822-addr", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "number", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "short-code", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "rfc2822-addr"}, + {"value": "number"}, + {"value": "short-code"}, ], }, - "subject": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "subject": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "low"}, + {"value": "normal"}, + {"value": "high"}, ], }, "class": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "not-included", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "personal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "informational", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "advertisement", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-included"}, + {"value": "personal"}, + {"value": "informational"}, + {"value": "advertisement"}, + {"value": "auto"}, ], }, "rsp_status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "success", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "partial-success", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oper-restrict", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "addr-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "addr-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "content-refused", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msg-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "link-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msg-fmt-corrupt", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "repl-app-id-not-found", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "srv-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "not-possible", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "msg-rejected", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "multiple-addr-not-supp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-addr-not-supp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gen-service-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "improper-ident", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unsupp-ver", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unsupp-oper", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "validation-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "service-err", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "service-unavail", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "service-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "app-denied", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "success"}, + {"value": "partial-success"}, + {"value": "client-err"}, + {"value": "oper-restrict"}, + {"value": "addr-err"}, + {"value": "addr-not-found"}, + {"value": "content-refused"}, + {"value": "msg-id-not-found"}, + {"value": "link-id-not-found"}, + {"value": "msg-fmt-corrupt"}, + {"value": "app-id-not-found"}, + {"value": "repl-app-id-not-found"}, + {"value": "srv-err"}, + {"value": "not-possible"}, + {"value": "msg-rejected"}, + {"value": "multiple-addr-not-supp"}, + {"value": "app-addr-not-supp"}, + {"value": "gen-service-err"}, + {"value": "improper-ident"}, + {"value": "unsupp-ver"}, + {"value": "unsupp-oper"}, + {"value": "validation-err"}, + {"value": "service-err"}, + {"value": "service-unavail"}, + {"value": "service-denied"}, + {"value": "app-denied"}, ], }, "allow_content_adaptation": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "add_smil": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "smil_part": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "smil_part": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, - "fos_message": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "fos_message": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -1414,6 +658,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mms.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mms.py index f94f5e5ac..2236241af 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mms.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_mms.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -128,29 +128,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_mms: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_mms: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_mms: - buffer: "" - charset: "utf-8" - format: "none" - header: "none" - image: " (source system.replacemsg-image.name)" - msg_type: "" - + buffer: "" + charset: "utf-8" + format: "none" + header: "none" + image: " (source system.replacemsg-image.name)" + msg_type: "" """ RETURN = """ @@ -209,7 +198,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -237,6 +225,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_mms_data(json): @@ -266,7 +257,6 @@ def underscore_to_hyphen(data): def system_replacemsg_mms(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -302,11 +292,16 @@ def system_replacemsg_mms(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -356,13 +351,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "mms") if data["system_replacemsg_mms"]: resp = system_replacemsg_mms(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_mms")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -378,202 +372,34 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, - "buffer": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "buffer": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "charset": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "us-ascii", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "image": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "us-ascii"}], }, + "image": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "header": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml"}, ], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], } @@ -610,6 +436,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nac_quar.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nac_quar.py index ab9d52edf..132e0dd09 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nac_quar.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nac_quar.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_nac_quar: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_nac_quar: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_nac_quar: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_nac_quar_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_nac_quar(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_nac_quar(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,7 +338,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "nac-quar") if data["system_replacemsg_nac_quar"]: resp = system_replacemsg_nac_quar(data, fos, check_mode) @@ -351,7 +345,7 @@ def fortios_system_replacemsg(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_replacemsg_nac_quar") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,262 +361,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -659,6 +422,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nntp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nntp.py index 2c184e2ed..3055f0077 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nntp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_nntp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_nntp: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_nntp: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_nntp: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_nntp_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_nntp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_nntp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "nntp") if data["system_replacemsg_nntp"]: resp = system_replacemsg_nntp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_nntp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,163 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "header": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], } @@ -558,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_spam.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_spam.py index 1768da37f..5d7098915 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_spam.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_spam.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_spam: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_spam: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_spam: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_spam_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_spam(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_spam(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "spam") if data["system_replacemsg_spam"]: resp = system_replacemsg_spam(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_spam")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_sslvpn.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_sslvpn.py index a20d9c335..1756335d8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_sslvpn.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_sslvpn.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_sslvpn: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_sslvpn: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_sslvpn: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_sslvpn_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_sslvpn(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_sslvpn(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,7 +338,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "sslvpn") if data["system_replacemsg_sslvpn"]: resp = system_replacemsg_sslvpn(data, fos, check_mode) @@ -351,7 +345,7 @@ def fortios_system_replacemsg(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_replacemsg_sslvpn") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,262 +361,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -659,6 +422,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_traffic_quota.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_traffic_quota.py index 7415b03d3..d95ed70ab 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_traffic_quota.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_traffic_quota.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_traffic_quota: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_traffic_quota: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_traffic_quota: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_traffic_quota_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_traffic_quota(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -295,11 +285,16 @@ def system_replacemsg_traffic_quota(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -354,7 +349,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "traffic-quota") if data["system_replacemsg_traffic_quota"]: resp = system_replacemsg_traffic_quota(data, fos, check_mode) @@ -362,7 +356,7 @@ def fortios_system_replacemsg(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_replacemsg_traffic_quota") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -378,262 +372,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -670,6 +433,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_utm.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_utm.py index 96f3f0298..91e57efb3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_utm.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_utm.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_utm: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_utm: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_utm: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_utm_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_utm(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_utm(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,13 +338,12 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "utm") if data["system_replacemsg_utm"]: resp = system_replacemsg_utm(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_replacemsg_utm")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,262 +359,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -657,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_webproxy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_webproxy.py index ed438198a..8dadb56b8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_webproxy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_webproxy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,27 +117,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Replacement messages. - fortios_system_replacemsg_webproxy: - vdom: "{{ vdom }}" +- name: Replacement messages. + fortinet.fortios.fortios_system_replacemsg_webproxy: + vdom: "{{ vdom }}" state: "present" access_token: "" system_replacemsg_webproxy: - buffer: "" - format: "none" - header: "none" - msg_type: "" - + buffer: "" + format: "none" + header: "none" + msg_type: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_replacemsg_webproxy_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def system_replacemsg_webproxy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -289,11 +279,16 @@ def system_replacemsg_webproxy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -343,7 +338,6 @@ def is_successful_status(resp): def fortios_system_replacemsg(data, fos, check_mode): - fos.do_member_operation("system.replacemsg", "webproxy") if data["system_replacemsg_webproxy"]: resp = system_replacemsg_webproxy(data, fos, check_mode) @@ -351,7 +345,7 @@ def fortios_system_replacemsg(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_replacemsg_webproxy") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,262 +361,31 @@ versioned_schema = { "elements": "dict", "children": { "msg_type": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "buffer": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "header": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8bit", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "http"}, {"value": "8bit"}], }, "format": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "text", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "html", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wml", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "text"}, + {"value": "html"}, + {"value": "wml", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], } @@ -659,6 +422,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_resource_limits.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_resource_limits.py index 70a8c55a2..060903c80 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_resource_limits.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_resource_limits.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -155,39 +155,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure resource limits. - fortios_system_resource_limits: - vdom: "{{ vdom }}" +- name: Configure resource limits. + fortinet.fortios.fortios_system_resource_limits: + vdom: "{{ vdom }}" system_resource_limits: - custom_service: "" - dialup_tunnel: "" - firewall_address: "" - firewall_addrgrp: "" - firewall_policy: "" - ipsec_phase1: "" - ipsec_phase1_interface: "" - ipsec_phase2: "" - ipsec_phase2_interface: "" - log_disk_quota: "" - onetime_schedule: "" - proxy: "" - recurring_schedule: "" - service_group: "" - session: "" - sslvpn: "" - user: "" - user_group: "" - + custom_service: "" + dialup_tunnel: "" + firewall_address: "" + firewall_addrgrp: "" + firewall_policy: "" + ipsec_phase1: "" + ipsec_phase1_interface: "" + ipsec_phase2: "" + ipsec_phase2_interface: "" + log_disk_quota: "" + onetime_schedule: "" + proxy: "" + recurring_schedule: "" + service_group: "" + session: "" + sslvpn: "" + user: "" + user_group: "" """ RETURN = """ @@ -246,7 +235,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -338,7 +326,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "resource-limits") if data["system_resource_limits"]: resp = system_resource_limits(data, fos) @@ -355,556 +342,27 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipsec_phase1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipsec_phase2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipsec_phase1_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipsec_phase2_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dialup_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "firewall_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "firewall_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "firewall_addrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "custom_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "service_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "onetime_schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "recurring_schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "user_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sslvpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "log_disk_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "session": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipsec_phase1": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipsec_phase2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipsec_phase1_interface": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipsec_phase2_interface": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dialup_tunnel": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "firewall_policy": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "firewall_address": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "firewall_addrgrp": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "custom_service": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "service_group": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "onetime_schedule": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "recurring_schedule": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "user": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "user_group": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sslvpn": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "proxy": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "log_disk_quota": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -941,6 +399,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_saml.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_saml.py index 196262f45..f0c5ff251 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_saml.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_saml.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -252,59 +252,48 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global settings for SAML authentication. - fortios_system_saml: - vdom: "{{ vdom }}" +- name: Global settings for SAML authentication. + fortinet.fortios.fortios_system_saml: + vdom: "{{ vdom }}" system_saml: - artifact_resolution_url: "" - binding_protocol: "post" - cert: " (source certificate.local.name)" - default_login_page: "normal" - default_profile: " (source system.accprofile.name)" - entity_id: "" - idp_artifact_resolution_url: "" - idp_cert: " (source certificate.remote.name)" - idp_entity_id: "" - idp_single_logout_url: "" - idp_single_sign_on_url: "" - life: "30" - portal_url: "" - role: "identity-provider" - server_address: "" - service_providers: - - - assertion_attributes: - - - name: "default_name_20" - type: "username" - idp_artifact_resolution_url: "" - idp_entity_id: "" - idp_single_logout_url: "" - idp_single_sign_on_url: "" - name: "default_name_26" - prefix: "" - sp_artifact_resolution_url: "" - sp_binding_protocol: "post" - sp_cert: " (source certificate.remote.name)" - sp_entity_id: "" - sp_portal_url: "" - sp_single_logout_url: "" - sp_single_sign_on_url: "" - single_logout_url: "" - single_sign_on_url: "" - status: "enable" - tolerance: "5" - + artifact_resolution_url: "" + binding_protocol: "post" + cert: " (source certificate.local.name)" + default_login_page: "normal" + default_profile: " (source system.accprofile.name)" + entity_id: "" + idp_artifact_resolution_url: "" + idp_cert: " (source certificate.remote.name)" + idp_entity_id: "" + idp_single_logout_url: "" + idp_single_sign_on_url: "" + life: "30" + portal_url: "" + role: "identity-provider" + server_address: "" + service_providers: + - + assertion_attributes: + - + name: "default_name_20" + type: "username" + idp_artifact_resolution_url: "" + idp_entity_id: "" + idp_single_logout_url: "" + idp_single_sign_on_url: "" + name: "default_name_26" + prefix: "" + sp_artifact_resolution_url: "" + sp_binding_protocol: "post" + sp_cert: " (source certificate.remote.name)" + sp_entity_id: "" + sp_portal_url: "" + sp_single_logout_url: "" + sp_single_sign_on_url: "" + single_logout_url: "" + single_sign_on_url: "" + status: "enable" + tolerance: "5" """ RETURN = """ @@ -363,7 +352,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -455,7 +443,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "saml") if data["system_saml"]: resp = system_saml(data, fos) @@ -472,1162 +459,133 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "identity-provider", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "service-provider", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "identity-provider"}, {"value": "service-provider"}], }, "default_login_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "normal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sso", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "default_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "normal"}, {"value": "sso"}], }, + "default_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, "binding_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": True, - "v6.2.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"], ["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.2.3": True, - }, - }, - { - "value": "redirect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.2.3": False, - }, - }, + {"value": "post"}, + {"value": "redirect", "v_range": [["v7.0.0", ""]]}, ], }, - "idp_entity_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "idp_single_sign_on_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "idp_single_logout_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "idp_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "server_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "entity_id": { + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"], ["v7.4.1", ""]], "type": "string", }, - "tolerance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "life": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "idp_entity_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "idp_single_sign_on_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "idp_single_logout_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "idp_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "server_address": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "tolerance": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "life": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "service_providers": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, - "prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "prefix": {"v_range": [["v6.2.0", ""]], "type": "string"}, "sp_binding_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": True, - "v6.2.0": False, - }, + "v_range": [["v6.2.3", "v6.2.3"], ["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.2.3": True, - }, - }, - { - "value": "redirect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.2.3": False, - }, - }, + {"value": "post"}, + {"value": "redirect", "v_range": [["v7.0.0", ""]]}, ], }, - "sp_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "sp_entity_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "sp_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "sp_entity_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, "sp_single_sign_on_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "sp_single_logout_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "sp_portal_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", }, + "sp_single_logout_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "sp_portal_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, "assertion_attributes": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "username", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "profile-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, + {"value": "username"}, + {"value": "email"}, + {"value": "profile-name", "v_range": [["v6.4.0", ""]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "idp_entity_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "idp_single_sign_on_url": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "idp_single_logout_url": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "sp_artifact_resolution_url": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "idp_artifact_resolution_url": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "portal_url": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "entity_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "single_sign_on_url": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "single_logout_url": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "artifact_resolution_url": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "idp_artifact_resolution_url": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, }, @@ -1664,6 +622,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_connector.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_connector.py index f1a6d901a..3e2ac5581 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_connector.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_connector.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -540,120 +540,109 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure connection to SDN Connector. - fortios_system_sdn_connector: - vdom: "{{ vdom }}" +- name: Configure connection to SDN Connector. + fortinet.fortios.fortios_system_sdn_connector: + vdom: "{{ vdom }}" state: "present" access_token: "" system_sdn_connector: - access_key: "" - alt_resource_ip: "disable" - api_key: "" - azure_region: "global" - client_id: "" - client_secret: "" - compartment_id: "" - compartment_list: - - - compartment_id: "" - compute_generation: "2" - domain: "" - external_account_list: - - - external_id: "" - region_list: - - - region: "" - role_arn: "" - external_ip: - - - name: "default_name_20" - forwarding_rule: - - - rule_name: "" - target: "" - gcp_project: "" - gcp_project_list: - - - gcp_zone_list: - - - name: "default_name_27" - id: "28" - group_name: "" - ha_status: "disable" - ibm_region: "dallas" - ibm_region_gen1: "us-south" - ibm_region_gen2: "us-south" - key_passwd: "" - login_endpoint: "" - name: "default_name_36" - nic: - - - ip: - - - name: "default_name_39" - public_ip: "" - resource_group: "" - name: "default_name_42" - oci_cert: " (source certificate.local.name)" - oci_fingerprint: "" - oci_region: "phoenix" - oci_region_list: - - - region: "" - oci_region_type: "commercial" - password: "" - private_key: "" - proxy: " (source system.sdn-proxy.name)" - region: "" - resource_group: "" - resource_url: "" - route: - - - name: "default_name_56" - route_table: - - - name: "default_name_58" - resource_group: "" - route: - - - name: "default_name_61" - next_hop: "" - subscription_id: "" - secret_key: "" - secret_token: "" - server: "192.168.100.40" - server_ca_cert: " (source certificate.remote.name certificate.ca.name)" - server_cert: " (source certificate.remote.name)" - server_list: - - - ip: "" - server_port: "0" - service_account: "" - status: "disable" - subscription_id: "" - tenant_id: "" - type: "aci" - update_interval: "60" - use_metadata_iam: "disable" - user_id: "" - username: "" - vcenter_password: "" - vcenter_server: "" - vcenter_username: "" - verify_certificate: "disable" - vpc_id: "" - + access_key: "" + alt_resource_ip: "disable" + api_key: "" + azure_region: "global" + client_id: "" + client_secret: "" + compartment_id: "" + compartment_list: + - + compartment_id: "" + compute_generation: "2" + domain: "" + external_account_list: + - + external_id: "" + region_list: + - + region: "" + role_arn: "" + external_ip: + - + name: "default_name_20" + forwarding_rule: + - + rule_name: "" + target: "" + gcp_project: "" + gcp_project_list: + - + gcp_zone_list: + - + name: "default_name_27" + id: "28" + group_name: "" + ha_status: "disable" + ibm_region: "dallas" + ibm_region_gen1: "us-south" + ibm_region_gen2: "us-south" + key_passwd: "" + login_endpoint: "" + name: "default_name_36" + nic: + - + ip: + - + name: "default_name_39" + public_ip: "" + resource_group: "" + name: "default_name_42" + oci_cert: " (source certificate.local.name)" + oci_fingerprint: "" + oci_region: "phoenix" + oci_region_list: + - + region: "" + oci_region_type: "commercial" + password: "" + private_key: "" + proxy: " (source system.sdn-proxy.name)" + region: "" + resource_group: "" + resource_url: "" + route: + - + name: "default_name_56" + route_table: + - + name: "default_name_58" + resource_group: "" + route: + - + name: "default_name_61" + next_hop: "" + subscription_id: "" + secret_key: "" + secret_token: "" + server: "192.168.100.40" + server_ca_cert: " (source certificate.remote.name certificate.ca.name)" + server_cert: " (source certificate.remote.name)" + server_list: + - + ip: "" + server_port: "0" + service_account: "" + status: "disable" + subscription_id: "" + tenant_id: "" + type: "aci" + update_interval: "60" + use_metadata_iam: "disable" + user_id: "" + username: "" + vcenter_password: "" + vcenter_server: "" + vcenter_username: "" + verify_certificate: "disable" + vpc_id: "" """ RETURN = """ @@ -712,7 +701,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -740,6 +728,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_sdn_connector_data(json): @@ -828,7 +819,6 @@ def underscore_to_hyphen(data): def system_sdn_connector(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -864,11 +854,16 @@ def system_sdn_connector(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -918,13 +913,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "sdn-connector") if data["system_sdn_connector"]: resp = system_sdn_connector(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_sdn_connector")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -939,1326 +933,85 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "aci", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alicloud", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "aws", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "azure", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nsx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nuage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "oci", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "openstack", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "kubernetes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "vmware", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "sepm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "aci-direct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "nutanix", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "sap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "aci"}, + {"value": "alicloud", "v_range": [["v6.2.0", ""]]}, + {"value": "aws"}, + {"value": "azure"}, + {"value": "gcp"}, + {"value": "nsx"}, + {"value": "nuage"}, + {"value": "oci"}, + {"value": "openstack"}, + {"value": "kubernetes", "v_range": [["v6.2.0", ""]]}, + {"value": "vmware", "v_range": [["v6.2.0", ""]]}, + {"value": "sepm", "v_range": [["v6.2.0", ""]]}, + {"value": "aci-direct", "v_range": [["v6.4.0", ""]]}, + {"value": "ibm", "v_range": [["v6.4.0", ""]]}, + {"value": "nutanix", "v_range": [["v7.0.0", ""]]}, + {"value": "sap", "v_range": [["v7.2.1", ""]]}, ], }, - "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "proxy": {"v_range": [["v7.4.0", ""]], "type": "string"}, "use_metadata_iam": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ha_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "verify_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_list": { "type": "list", "elements": "dict", "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.4.4", ""]], "type": "string", "required": True} }, - "type": "string", - }, - "vcenter_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "vcenter_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "vcenter_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "access_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secret_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "region": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vpc_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.4.4", ""]], }, + "server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vcenter_server": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "vcenter_username": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "vcenter_password": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "access_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secret_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "region": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vpc_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "alt_resource_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "external_account_list": { "type": "list", "elements": "dict", "children": { "role_arn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, }, "external_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, "region_list": { @@ -2266,440 +1019,32 @@ versioned_schema = { "elements": "dict", "children": { "region": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "tenant_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "client_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "client_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subscription_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "resource_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "login_endpoint": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "resource_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v7.0.4", ""]], }, + "tenant_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "client_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "client_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subscription_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "resource_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "login_endpoint": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "resource_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, "azure_region": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "china", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "germany", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usgov", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "global"}, + {"value": "china"}, + {"value": "germany"}, + {"value": "usgov"}, + {"value": "local"}, ], }, "nic": { @@ -2707,32 +1052,7 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, @@ -2741,1617 +1061,231 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "public_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "public_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "resource_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "route_table": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "subscription_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "resource_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, + "resource_group": {"v_range": [["v6.2.0", ""]], "type": "string"}, "route": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "next_hop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "next_hop": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "user_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "user_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "compartment_list": { "type": "list", "elements": "dict", "children": { "compartment_id": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "oci_region_list": { "type": "list", "elements": "dict", "children": { "region": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "oci_region_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "commercial", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "government", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "oci_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "commercial"}, {"value": "government"}], }, + "oci_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "external_ip": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "route": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "gcp_project_list": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - "type": "string", - "required": True, - }, + "id": {"v_range": [["v7.0.4", ""]], "type": "string", "required": True}, "gcp_zone_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], }, "forwarding_rule": { "type": "list", "elements": "dict", "children": { "rule_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "required": True, }, - "target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "target": {"v_range": [["v7.0.2", ""]], "type": "string"}, }, + "v_range": [["v7.0.2", ""]], }, - "service_account": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "private_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secret_token": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "group_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "server_ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "api_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "compute_generation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "service_account": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "private_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secret_token": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "domain": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "group_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "server_cert": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "server_ca_cert": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "api_key": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "compute_generation": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "ibm_region": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "dallas", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "washington-dc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "london", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "frankfurt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "sydney", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "tokyo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "osaka", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "toronto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, - { - "value": "sao-paulo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - }, + {"value": "dallas", "v_range": [["v7.0.4", ""]]}, + {"value": "washington-dc", "v_range": [["v7.0.4", ""]]}, + {"value": "london", "v_range": [["v7.0.4", ""]]}, + {"value": "frankfurt", "v_range": [["v7.0.4", ""]]}, + {"value": "sydney", "v_range": [["v7.0.4", ""]]}, + {"value": "tokyo", "v_range": [["v7.0.4", ""]]}, + {"value": "osaka", "v_range": [["v7.0.4", ""]]}, + {"value": "toronto", "v_range": [["v7.0.4", ""]]}, + {"value": "sao-paulo", "v_range": [["v7.0.4", ""]]}, { "value": "us-south", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.3"]], }, { "value": "us-east", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.3"]], }, { "value": "germany", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.3"]], }, { "value": "great-britain", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.3"]], }, { "value": "japan", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.3"]], }, { "value": "australia", - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", "v7.0.3"]], }, ], }, - "update_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "compartment_id": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "update_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "compartment_id": {"v_range": [["v6.0.0", "v7.2.4"]], "type": "string"}, "oci_region": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "phoenix", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "ashburn", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "frankfurt", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "london", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "phoenix", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "ashburn", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "frankfurt", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "london", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, "oci_fingerprint": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gcp_project": { - "revisions": { - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, + "gcp_project": {"v_range": [["v6.0.0", "v7.0.3"]], "type": "string"}, "ibm_region_gen1": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - {"value": "us-south", "revisions": {"v6.4.1": True}}, - {"value": "us-east", "revisions": {"v6.4.1": True}}, - {"value": "germany", "revisions": {"v6.4.1": True}}, - {"value": "great-britain", "revisions": {"v6.4.1": True}}, - {"value": "japan", "revisions": {"v6.4.1": True}}, - {"value": "australia", "revisions": {"v6.4.1": True}}, + {"value": "us-south"}, + {"value": "us-east"}, + {"value": "germany"}, + {"value": "great-britain"}, + {"value": "japan"}, + {"value": "australia"}, ], }, "ibm_region_gen2": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - {"value": "us-south", "revisions": {"v6.4.1": True}}, - {"value": "us-east", "revisions": {"v6.4.1": True}}, - {"value": "great-britain", "revisions": {"v6.4.1": True}}, + {"value": "us-south"}, + {"value": "us-east"}, + {"value": "great-britain"}, ], }, "key_passwd": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -4386,6 +1320,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_proxy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_proxy.py index eb5c8c70a..3734410c7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_proxy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdn_proxy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,29 +119,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SDN proxy. - fortios_system_sdn_proxy: - vdom: "{{ vdom }}" +- name: Configure SDN proxy. + fortinet.fortios.fortios_system_sdn_proxy: + vdom: "{{ vdom }}" state: "present" access_token: "" system_sdn_proxy: - name: "default_name_3" - password: "" - server: "192.168.100.40" - server_port: "0" - type: "general" - username: "" - + name: "default_name_3" + password: "" + server: "192.168.100.40" + server_port: "0" + type: "general" + username: "" """ RETURN = """ @@ -200,7 +189,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -282,7 +270,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "sdn-proxy") if data["system_sdn_proxy"]: resp = system_sdn_proxy(data, fos) @@ -302,21 +289,18 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": {"revisions": {"v7.4.0": True}, "type": "string", "required": True}, + "name": {"v_range": [["v7.4.0", ""]], "type": "string", "required": True}, "type": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "general", "revisions": {"v7.4.0": True}}, - {"value": "fortimanager", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "general"}, {"value": "fortimanager"}], }, - "server": {"revisions": {"v7.4.0": True}, "type": "string"}, - "server_port": {"revisions": {"v7.4.0": True}, "type": "integer"}, - "username": {"revisions": {"v7.4.0": True}, "type": "string"}, - "password": {"revisions": {"v7.4.0": True}, "type": "string"}, + "server": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "server_port": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "username": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "password": {"v_range": [["v7.4.0", ""]], "type": "string"}, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], } @@ -351,6 +335,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdwan.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdwan.py index 1ebdc788f..1ae661d37 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdwan.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sdwan.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -82,7 +82,7 @@ options: suboptions: app_perf_log_period: description: - - Time interval in seconds that applicationperformance logs are generated (0 - 3600). + - Time interval in seconds that application performance logs are generated (0 - 3600). type: int duplication: description: @@ -125,7 +125,7 @@ options: type: str id: description: - - Duplication rule ID (1 - 255). + - Duplication rule ID (1 - 255). see Notes. required: true type: int packet_de_duplication: @@ -162,7 +162,7 @@ options: suboptions: id: description: - - SD-WAN service rule ID. Source system.sdwan.service.id. + - SD-WAN service rule ID. see Notes. Source system.sdwan.service.id. required: true type: int sla_match_service: @@ -317,7 +317,7 @@ options: suboptions: seq_num: description: - - Member sequence number. Source system.sdwan.members.seq-num. + - Member sequence number. see Notes. Source system.sdwan.members.seq-num. required: true type: int mos_codec: @@ -369,6 +369,7 @@ options: - 'tcp-echo' - 'udp-echo' - 'http' + - 'https' - 'twamp' - 'dns' - 'tcp-connect' @@ -405,7 +406,7 @@ options: suboptions: id: description: - - SLA ID. + - SLA ID. see Notes. required: true type: int jitter_threshold: @@ -460,7 +461,7 @@ options: type: str source6: description: - - Source IPv6 addressused in the health-check packet to server. + - Source IPv6 address used in the health-check packet to server. type: str system_dns: description: @@ -571,7 +572,7 @@ options: type: int seq_num: description: - - Sequence number(1-512). + - Sequence number(1-512). see Notes. required: true type: int source: @@ -618,7 +619,7 @@ options: type: str ip: description: - - IP/IPv6 address of neighbor. Source router.bgp.neighbor.ip. + - IP/IPv6 address of neighbor or neighbor-group name. Source router.bgp.neighbor-group.name router.bgp.neighbor.ip. required: true type: str member: @@ -629,7 +630,7 @@ options: suboptions: seq_num: description: - - Member sequence number. Source system.sdwan.members.seq-num. + - Member sequence number. see Notes. Source system.sdwan.members.seq-num. required: true type: int minimum_sla_meet_members: @@ -651,6 +652,10 @@ options: - 'standalone' - 'primary' - 'secondary' + service_id: + description: + - SD-WAN service ID to work with the neighbor. Source system.sdwan.service.id. + type: int sla_id: description: - SLA ID. @@ -756,6 +761,10 @@ options: description: - End destination port number. type: int + end_src_port: + description: + - End source port number. + type: int gateway: description: - Enable/disable SD-WAN service gateway. @@ -802,7 +811,7 @@ options: type: int id: description: - - SD-WAN rule ID (1 - 4000). + - SD-WAN rule ID (1 - 4000). see Notes. required: true type: int input_device: @@ -849,7 +858,7 @@ options: suboptions: id: description: - - Application control based Internet Service ID. + - Application control based Internet Service ID. see Notes. required: true type: int internet_service_app_ctrl_category: @@ -860,7 +869,7 @@ options: suboptions: id: description: - - Application control category ID. + - Application control category ID. see Notes. required: true type: int internet_service_app_ctrl_group: @@ -942,6 +951,13 @@ options: description: - Percentage threshold change of link cost values that will result in policy route regeneration (0 - 10000000). type: int + load_balance: + description: + - Enable/disable load-balance. + type: str + choices: + - 'enable' + - 'disable' minimum_sla_meet_members: description: - Minimum number of members which meet SLA. @@ -979,7 +995,7 @@ options: suboptions: seq_num: description: - - Member sequence number. Source system.sdwan.members.seq-num. + - Member sequence number. see Notes. Source system.sdwan.members.seq-num. required: true type: int priority_zone: @@ -1049,6 +1065,13 @@ options: choices: - 'order' - 'number' + sla_stickiness: + description: + - Enable/disable SLA stickiness . + type: str + choices: + - 'enable' + - 'disable' src: description: - Source address name. @@ -1089,6 +1112,10 @@ options: description: - Start destination port number. type: int + start_src_port: + description: + - Start source port number. + type: int status: description: - Enable/disable SD-WAN service. @@ -1131,6 +1158,13 @@ options: - User name. Source user.local.name. required: true type: str + zone_mode: + description: + - Enable/disable zone mode. + type: str + choices: + - 'enable' + - 'disable' speedtest_bypass_routing: description: - Enable/disable bypass routing when speedtest on a SD-WAN member. @@ -1151,6 +1185,10 @@ options: type: list elements: dict suboptions: + minimum_sla_meet_members: + description: + - Minimum number of members which meet SLA when the neighbor is preferred. + type: int name: description: - Zone name. @@ -1167,256 +1205,252 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure redundant Internet connections with multiple outbound links and health-check profiles. - fortios_system_sdwan: - vdom: "{{ vdom }}" +- name: Configure redundant Internet connections with multiple outbound links and health-check profiles. + fortinet.fortios.fortios_system_sdwan: + vdom: "{{ vdom }}" system_sdwan: - app_perf_log_period: "0" - duplication: - - - dstaddr: - - - name: "default_name_6 (source firewall.address.name firewall.addrgrp.name)" - dstaddr6: - - - name: "default_name_8 (source firewall.address6.name firewall.addrgrp6.name)" - dstintf: - - - name: "default_name_10 (source system.interface.name system.zone.name system.sdwan.zone.name)" - id: "11" - packet_de_duplication: "enable" - packet_duplication: "disable" - service: - - - name: "default_name_15 (source firewall.service.custom.name firewall.service.group.name)" - service_id: - - - id: "17 (source system.sdwan.service.id)" - sla_match_service: "enable" - srcaddr: - - - name: "default_name_20 (source firewall.address.name firewall.addrgrp.name)" - srcaddr6: - - - name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" - srcintf: - - - name: "default_name_24 (source system.interface.name system.zone.name system.sdwan.zone.name)" - duplication_max_num: "2" - fail_alert_interfaces: - - - name: "default_name_27 (source system.interface.name)" - fail_detect: "enable" - health_check: - - - addr_mode: "ipv4" - class_id: "0" - detect_mode: "active" - diffservcode: "" - dns_match_ip: "" - dns_request_domain: "" - embed_measured_health: "enable" - failtime: "5" - ftp_file: "" - ftp_mode: "passive" - ha_priority: "1" - http_agent: "" - http_get: "" - http_match: "" - interval: "500" - members: - - - seq_num: "0" - mos_codec: "g711" - name: "default_name_48" - packet_size: "124" - password: "" - port: "0" - probe_count: "30" - probe_packets: "disable" - probe_timeout: "500" - protocol: "ping" - quality_measured_method: "half-open" - recoverytime: "5" - security_mode: "none" - server: "192.168.100.40" - sla: - - - id: "61" - jitter_threshold: "5" - latency_threshold: "5" - link_cost_factor: "latency" - mos_threshold: "" - packetloss_threshold: "0" - priority_in_sla: "0" - priority_out_sla: "0" - sla_fail_log_period: "0" - sla_id_redistribute: "0" - sla_pass_log_period: "0" - source: "" - source6: "" - system_dns: "disable" - threshold_alert_jitter: "0" - threshold_alert_latency: "0" - threshold_alert_packetloss: "0" - threshold_warning_jitter: "0" - threshold_warning_latency: "0" - threshold_warning_packetloss: "0" - update_cascade_interface: "enable" - update_static_route: "enable" - user: "" - vrf: "0" - load_balance_mode: "source-ip-based" - members: - - - comment: "Comments." - cost: "0" - gateway: "" - gateway6: "" - ingress_spillover_threshold: "0" - interface: " (source system.interface.name)" - preferred_source: "" - priority: "1" - priority6: "1024" - seq_num: "0" - source: "" - source6: "" - spillover_threshold: "0" - status: "disable" - volume_ratio: "1" - weight: "1" - zone: " (source system.sdwan.zone.name)" - neighbor: - - - health_check: " (source system.sdwan.health-check.name)" - ip: " (source router.bgp.neighbor.ip)" - member: - - - seq_num: "0" - minimum_sla_meet_members: "1" - mode: "sla" - role: "standalone" - sla_id: "0" - neighbor_hold_boot_time: "0" - neighbor_hold_down: "enable" - neighbor_hold_down_time: "0" - service: - - - addr_mode: "ipv4" - agent_exclusive: "enable" - bandwidth_weight: "0" - default: "enable" - dscp_forward: "enable" - dscp_forward_tag: "" - dscp_reverse: "enable" - dscp_reverse_tag: "" - dst: - - - name: "default_name_126 (source firewall.address.name firewall.addrgrp.name)" - dst_negate: "enable" - dst6: - - - name: "default_name_129 (source firewall.address6.name firewall.addrgrp6.name)" - end_port: "65535" - gateway: "enable" - groups: - - - name: "default_name_133 (source user.group.name)" - hash_mode: "round-robin" - health_check: - - - name: "default_name_136 (source system.sdwan.health-check.name)" - hold_down_time: "0" - id: "138" - input_device: - - - name: "default_name_140 (source system.interface.name)" - input_device_negate: "enable" - input_zone: - - - name: "default_name_143 (source system.sdwan.zone.name)" - internet_service: "enable" - internet_service_app_ctrl: - - - id: "146" - internet_service_app_ctrl_category: - - - id: "148" - internet_service_app_ctrl_group: - - - name: "default_name_150 (source application.group.name)" - internet_service_custom: - - - name: "default_name_152 (source firewall.internet-service-custom.name)" - internet_service_custom_group: - - - name: "default_name_154 (source firewall.internet-service-custom-group.name)" - internet_service_group: - - - name: "default_name_156 (source firewall.internet-service-group.name)" - internet_service_name: - - - name: "default_name_158 (source firewall.internet-service-name.name)" - jitter_weight: "0" - latency_weight: "0" - link_cost_factor: "latency" - link_cost_threshold: "10" - minimum_sla_meet_members: "0" - mode: "auto" - name: "default_name_165" - packet_loss_weight: "0" - passive_measurement: "enable" - priority_members: - - - seq_num: "0" - priority_zone: - - - name: "default_name_171 (source system.sdwan.zone.name)" - protocol: "0" - quality_link: "0" - role: "standalone" - route_tag: "0" - shortcut: "enable" - shortcut_stickiness: "enable" - sla: - - - health_check: " (source system.sdwan.health-check.name)" - id: "180" - sla_compare_method: "order" - src: - - - name: "default_name_183 (source firewall.address.name firewall.addrgrp.name)" - src_negate: "enable" - src6: - - - name: "default_name_186 (source firewall.address6.name firewall.addrgrp6.name)" - standalone_action: "enable" - start_port: "1" - status: "enable" - tie_break: "zone" - tos: "" - tos_mask: "" - use_shortcut_sla: "enable" - users: - - - name: "default_name_195 (source user.local.name)" - speedtest_bypass_routing: "disable" - status: "disable" - zone: - - - name: "default_name_199" - service_sla_tie_break: "cfg-order" - + app_perf_log_period: "0" + duplication: + - + dstaddr: + - + name: "default_name_6 (source firewall.address.name firewall.addrgrp.name)" + dstaddr6: + - + name: "default_name_8 (source firewall.address6.name firewall.addrgrp6.name)" + dstintf: + - + name: "default_name_10 (source system.interface.name system.zone.name system.sdwan.zone.name)" + id: "11" + packet_de_duplication: "enable" + packet_duplication: "disable" + service: + - + name: "default_name_15 (source firewall.service.custom.name firewall.service.group.name)" + service_id: + - + id: "17 (source system.sdwan.service.id)" + sla_match_service: "enable" + srcaddr: + - + name: "default_name_20 (source firewall.address.name firewall.addrgrp.name)" + srcaddr6: + - + name: "default_name_22 (source firewall.address6.name firewall.addrgrp6.name)" + srcintf: + - + name: "default_name_24 (source system.interface.name system.zone.name system.sdwan.zone.name)" + duplication_max_num: "2" + fail_alert_interfaces: + - + name: "default_name_27 (source system.interface.name)" + fail_detect: "enable" + health_check: + - + addr_mode: "ipv4" + class_id: "0" + detect_mode: "active" + diffservcode: "" + dns_match_ip: "" + dns_request_domain: "" + embed_measured_health: "enable" + failtime: "5" + ftp_file: "" + ftp_mode: "passive" + ha_priority: "1" + http_agent: "" + http_get: "" + http_match: "" + interval: "500" + members: + - + seq_num: "" + mos_codec: "g711" + name: "default_name_48" + packet_size: "124" + password: "" + port: "0" + probe_count: "30" + probe_packets: "disable" + probe_timeout: "500" + protocol: "ping" + quality_measured_method: "half-open" + recoverytime: "5" + security_mode: "none" + server: "192.168.100.40" + sla: + - + id: "61" + jitter_threshold: "5" + latency_threshold: "5" + link_cost_factor: "latency" + mos_threshold: "" + packetloss_threshold: "0" + priority_in_sla: "0" + priority_out_sla: "0" + sla_fail_log_period: "0" + sla_id_redistribute: "0" + sla_pass_log_period: "0" + source: "" + source6: "" + system_dns: "disable" + threshold_alert_jitter: "0" + threshold_alert_latency: "0" + threshold_alert_packetloss: "0" + threshold_warning_jitter: "0" + threshold_warning_latency: "0" + threshold_warning_packetloss: "0" + update_cascade_interface: "enable" + update_static_route: "enable" + user: "" + vrf: "0" + load_balance_mode: "source-ip-based" + members: + - + comment: "Comments." + cost: "0" + gateway: "" + gateway6: "" + ingress_spillover_threshold: "0" + interface: " (source system.interface.name)" + preferred_source: "" + priority: "1" + priority6: "1024" + seq_num: "" + source: "" + source6: "" + spillover_threshold: "0" + status: "disable" + volume_ratio: "1" + weight: "1" + zone: " (source system.sdwan.zone.name)" + neighbor: + - + health_check: " (source system.sdwan.health-check.name)" + ip: " (source router.bgp.neighbor-group.name router.bgp.neighbor.ip)" + member: + - + seq_num: "" + minimum_sla_meet_members: "1" + mode: "sla" + role: "standalone" + service_id: "0" + sla_id: "0" + neighbor_hold_boot_time: "0" + neighbor_hold_down: "enable" + neighbor_hold_down_time: "0" + service: + - + addr_mode: "ipv4" + agent_exclusive: "enable" + bandwidth_weight: "0" + default: "enable" + dscp_forward: "enable" + dscp_forward_tag: "" + dscp_reverse: "enable" + dscp_reverse_tag: "" + dst: + - + name: "default_name_127 (source firewall.address.name firewall.addrgrp.name)" + dst_negate: "enable" + dst6: + - + name: "default_name_130 (source firewall.address6.name firewall.addrgrp6.name)" + end_port: "65535" + end_src_port: "65535" + gateway: "enable" + groups: + - + name: "default_name_135 (source user.group.name)" + hash_mode: "round-robin" + health_check: + - + name: "default_name_138 (source system.sdwan.health-check.name)" + hold_down_time: "0" + id: "140" + input_device: + - + name: "default_name_142 (source system.interface.name)" + input_device_negate: "enable" + input_zone: + - + name: "default_name_145 (source system.sdwan.zone.name)" + internet_service: "enable" + internet_service_app_ctrl: + - + id: "148" + internet_service_app_ctrl_category: + - + id: "150" + internet_service_app_ctrl_group: + - + name: "default_name_152 (source application.group.name)" + internet_service_custom: + - + name: "default_name_154 (source firewall.internet-service-custom.name)" + internet_service_custom_group: + - + name: "default_name_156 (source firewall.internet-service-custom-group.name)" + internet_service_group: + - + name: "default_name_158 (source firewall.internet-service-group.name)" + internet_service_name: + - + name: "default_name_160 (source firewall.internet-service-name.name)" + jitter_weight: "0" + latency_weight: "0" + link_cost_factor: "latency" + link_cost_threshold: "10" + load_balance: "enable" + minimum_sla_meet_members: "0" + mode: "auto" + name: "default_name_168" + packet_loss_weight: "0" + passive_measurement: "enable" + priority_members: + - + seq_num: "" + priority_zone: + - + name: "default_name_174 (source system.sdwan.zone.name)" + protocol: "0" + quality_link: "0" + role: "standalone" + route_tag: "0" + shortcut: "enable" + shortcut_stickiness: "enable" + sla: + - + health_check: " (source system.sdwan.health-check.name)" + id: "183" + sla_compare_method: "order" + sla_stickiness: "enable" + src: + - + name: "default_name_187 (source firewall.address.name firewall.addrgrp.name)" + src_negate: "enable" + src6: + - + name: "default_name_190 (source firewall.address6.name firewall.addrgrp6.name)" + standalone_action: "enable" + start_port: "1" + start_src_port: "1" + status: "enable" + tie_break: "zone" + tos: "" + tos_mask: "" + use_shortcut_sla: "enable" + users: + - + name: "default_name_200 (source user.local.name)" + zone_mode: "enable" + speedtest_bypass_routing: "disable" + status: "disable" + zone: + - + minimum_sla_meet_members: "1" + name: "default_name_206" + service_sla_tie_break: "cfg-order" """ RETURN = """ @@ -1475,7 +1509,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1594,7 +1627,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "sdwan") if data["system_sdwan"]: resp = system_sdwan(data, fos) @@ -1611,6512 +1643,806 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "load_balance_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "source-ip-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "weight-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "usage-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "source-dest-ip-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "measured-volume-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "source-ip-based"}, + {"value": "weight-based"}, + {"value": "usage-based"}, + {"value": "source-dest-ip-based"}, + {"value": "measured-volume-based"}, ], }, "speedtest_bypass_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "duplication_max_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "neighbor_hold_down": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "neighbor_hold_down_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "app_perf_log_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "integer", - }, - "neighbor_hold_boot_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "neighbor_hold_down_time": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "app_perf_log_period": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "neighbor_hold_boot_time": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "fail_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fail_alert_interfaces": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "zone": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, "service_sla_tie_break": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "cfg-order", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "fib-best-match", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "input-device", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - }, - }, + {"value": "cfg-order"}, + {"value": "fib-best-match"}, + {"value": "input-device", "v_range": [["v7.2.0", ""]]}, ], }, + "minimum_sla_meet_members": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "members": { "type": "list", "elements": "dict", "children": { "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "zone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "preferred_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - }, - "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "gateway6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "source6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "priority6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "integer", - }, - "spillover_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "interface": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "zone": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "gateway": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "preferred_source": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "source": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "gateway6": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "source6": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "cost": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "weight": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "priority6": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "spillover_threshold": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "ingress_spillover_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "volume_ratio": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, + "volume_ratio": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "comment": {"v_range": [["v6.4.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "health_check": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, "probe_packets": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, "system_dns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "detect_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "prefer-passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "remote", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "agent-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, + {"value": "active"}, + {"value": "passive"}, + {"value": "prefer-passive"}, + {"value": "remote", "v_range": [["v7.2.1", ""]]}, + {"value": "agent-based", "v_range": [["v7.2.4", ""]]}, ], }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "tcp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "udp-echo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "twamp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "dns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "ping"}, + {"value": "tcp-echo"}, + {"value": "udp-echo"}, + {"value": "http"}, + {"value": "https", "v_range": [["v7.4.1", ""]]}, + {"value": "twamp"}, + {"value": "dns"}, { "value": "tcp-connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, { "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, - }, - { - "value": "ping6", - "revisions": {"v6.4.1": True, "v6.4.0": False}, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, + {"value": "ping6", "v_range": [["v6.4.1", "v6.4.1"]]}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "quality_measured_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "half-open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "half-close", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "half-open"}, {"value": "half-close"}], }, "security_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "authentication", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "authentication"}], }, "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "packet_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "ha_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "password": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "packet_size": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "ha_priority": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "ftp_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "port", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "passive"}, {"value": "port"}], }, "ftp_file": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, - "type": "string", - }, - "http_get": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "http_agent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "http_get": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "http_agent": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "http_match": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "dns_request_domain": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "dns_match_ip": { + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, - "http_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "interval": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "probe_timeout": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "failtime": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "recoverytime": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "probe_count": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "diffservcode": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "update_cascade_interface": { + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dns_request_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "update_static_route": { + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dns_match_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "embed_measured_health": { + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "sla_id_redistribute": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "sla_fail_log_period": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "sla_pass_log_period": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "threshold_warning_packetloss": { + "v_range": [["v6.4.0", ""]], "type": "integer", }, - "probe_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "threshold_alert_packetloss": { + "v_range": [["v6.4.0", ""]], "type": "integer", }, - "failtime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "threshold_warning_latency": { + "v_range": [["v6.4.0", ""]], "type": "integer", }, - "recoverytime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "threshold_alert_latency": { + "v_range": [["v6.4.0", ""]], "type": "integer", }, - "probe_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "diffservcode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "update_cascade_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "update_static_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "embed_measured_health": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "sla_id_redistribute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "integer", - }, - "sla_fail_log_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "sla_pass_log_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "threshold_warning_packetloss": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "threshold_alert_packetloss": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "threshold_warning_latency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "threshold_alert_latency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "threshold_warning_jitter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "threshold_warning_jitter": { + "v_range": [["v6.4.0", ""]], "type": "integer", }, "threshold_alert_jitter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, - "vrf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "integer", - }, - "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - }, - "source6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - }, + "vrf": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "source": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "source6": {"v_range": [["v7.4.0", ""]], "type": "string"}, "members": { "type": "list", "elements": "dict", "children": { "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "mos_codec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "g711", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "g722", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "g729", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "g711"}, + {"value": "g722"}, + {"value": "g729"}, ], }, - "class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "integer", - }, + "class_id": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "sla": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, "link_cost_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "options": [ - { - "value": "latency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "jitter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "packet-loss", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "mos", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, + {"value": "latency"}, + {"value": "jitter"}, + {"value": "packet-loss"}, + {"value": "mos", "v_range": [["v7.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "latency_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, "jitter_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, "packetloss_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, "mos_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", }, "priority_in_sla": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, "priority_out_sla": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - "neighbor": { - "type": "list", - "elements": "dict", - "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "member": { - "type": "list", - "elements": "dict", - "children": { - "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - "minimum_sla_meet_members": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "integer", - }, - "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - "options": [ - { - "value": "sla", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "speedtest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "standalone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "primary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "sla_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string"}, "addr_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, - "shortcut_stickiness": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "load_balance": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "input_device": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "input_device_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "input_zone": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "priority", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "sla", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "load-balance", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "auto"}, + {"value": "manual"}, + {"value": "priority"}, + {"value": "sla"}, + {"value": "load-balance", "v_range": [["v6.4.0", "v7.4.0"]]}, ], }, + "zone_mode": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, "minimum_sla_meet_members": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "hash_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "source-ip-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "source-dest-ip-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "inbandwidth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "outbandwidth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "bibandwidth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "round-robin"}, + {"value": "source-ip-based"}, + {"value": "source-dest-ip-based"}, + {"value": "inbandwidth"}, + {"value": "outbandwidth"}, + {"value": "bibandwidth"}, ], }, "role": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "standalone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "primary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "standalone"}, + {"value": "primary"}, + {"value": "secondary"}, ], }, "standalone_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "quality_link": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "tos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "tos_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "v_range": [["v6.4.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "quality_link": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "tos": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "tos_mask": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "protocol": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "start_port": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "start_src_port": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "end_src_port": {"v_range": [["v7.4.1", ""]], "type": "integer"}, "dst": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "dst_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "src": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "dst6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "src6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "src_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_app_ctrl": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_app_ctrl_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "internet_service_app_ctrl_category": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "health_check": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "link_cost_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "latency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "jitter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "packet-loss", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "inbandwidth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "outbandwidth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "bibandwidth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "custom-profile-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "latency"}, + {"value": "jitter"}, + {"value": "packet-loss"}, + {"value": "inbandwidth"}, + {"value": "outbandwidth"}, + {"value": "bibandwidth"}, + {"value": "custom-profile-1"}, ], }, - "packet_loss_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "latency_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "jitter_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "bandwidth_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "link_cost_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "hold_down_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", + "packet_loss_weight": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "latency_weight": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "jitter_weight": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "bandwidth_weight": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "link_cost_threshold": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "hold_down_time": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "sla_stickiness": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_reverse": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "dscp_forward_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "dscp_reverse_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "dscp_forward_tag": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "dscp_reverse_tag": {"v_range": [["v6.4.0", ""]], "type": "string"}, "sla": { "type": "list", "elements": "dict", "children": { "health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, + "id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, }, + "v_range": [["v6.4.0", ""]], }, "priority_members": { "type": "list", "elements": "dict", "children": { "seq_num": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "priority_zone": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.1", ""]], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sla_compare_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "order", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "number", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "order"}, {"value": "number"}], }, "tie_break": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "zone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "cfg-order", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "fib-best-match", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "input-device", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - }, - }, + {"value": "zone"}, + {"value": "cfg-order"}, + {"value": "fib-best-match"}, + {"value": "input-device", "v_range": [["v7.2.0", ""]]}, ], }, "use_shortcut_sla": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "passive_measurement": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "agent_exclusive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "shortcut": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "shortcut_stickiness": { + "v_range": [["v7.4.0", "v7.4.0"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "route_tag": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, + "route_tag": {"v_range": [["v6.4.0", "v7.2.4"]], "type": "integer"}, + }, + "v_range": [["v6.4.0", ""]], + }, + "neighbor": { + "type": "list", + "elements": "dict", + "children": { + "ip": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "member": { + "type": "list", + "elements": "dict", + "children": { + "seq_num": { + "v_range": [["v7.2.0", ""]], + "type": "integer", + "required": True, + } }, + "v_range": [["v6.4.0", ""]], + }, + "service_id": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "minimum_sla_meet_members": { + "v_range": [["v7.2.0", ""]], "type": "integer", }, + "mode": { + "v_range": [["v7.0.1", ""]], + "type": "string", + "options": [{"value": "sla"}, {"value": "speedtest"}], + }, + "role": { + "v_range": [["v6.4.0", ""]], + "type": "string", + "options": [ + {"value": "standalone"}, + {"value": "primary"}, + {"value": "secondary"}, + ], + }, + "health_check": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "sla_id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "duplication": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", "required": True, }, @@ -8125,582 +2451,118 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, + "v_range": [["v6.4.4", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": False, - }, + "v_range": [["v6.4.4", ""]], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "srcintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "dstintf": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, "packet_duplication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "force", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "on-demand", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "disable"}, + {"value": "force"}, + {"value": "on-demand"}, ], }, "sla_match_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "packet_de_duplication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, }, } @@ -8736,6 +2598,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_helper.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_helper.py index 70a0088d7..3d935af75 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_helper.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_helper.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Session helper ID. + - Session helper ID. see Notes. required: true type: int name: @@ -128,27 +130,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure session helper. - fortios_system_session_helper: - vdom: "{{ vdom }}" +- name: Configure session helper. + fortinet.fortios.fortios_system_session_helper: + vdom: "{{ vdom }}" state: "present" access_token: "" system_session_helper: - id: "3" - name: "default_name_4" - port: "0" - protocol: "0" - + id: "3" + name: "default_name_4" + port: "0" + protocol: "0" """ RETURN = """ @@ -207,7 +198,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,6 +225,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_session_helper_data(json): @@ -264,7 +257,6 @@ def underscore_to_hyphen(data): def system_session_helper(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -300,11 +292,16 @@ def system_session_helper(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -354,13 +351,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "session-helper") if data["system_session_helper"]: resp = system_session_helper(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_session_helper")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -375,699 +371,48 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ras", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "h323", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pptp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rtsp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pmap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rsh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dcerpc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mgcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ftp"}, + {"value": "tftp"}, + {"value": "ras"}, + {"value": "h323"}, + {"value": "tns"}, + {"value": "mms"}, + {"value": "sip"}, + {"value": "pptp"}, + {"value": "rtsp"}, + {"value": "dns-udp"}, + {"value": "dns-tcp"}, + {"value": "pmap"}, + {"value": "rsh"}, + {"value": "dcerpc"}, + {"value": "mgcp"}, { "value": "gtp-c", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "gtp-u", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "gtp-b", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, { "value": "pfcp", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], }, ], }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1104,6 +449,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_ttl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_ttl.py index cdd760a48..dbd110448 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_ttl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_session_ttl.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,13 +96,21 @@ options: type: int id: description: - - Table entry ID. + - Table entry ID. see Notes. required: true type: int protocol: description: - Protocol (0 - 255). type: int + refresh_direction: + description: + - 'Refresh direction: Both, outgoing, incoming' + type: str + choices: + - 'both' + - 'outgoing' + - 'incoming' start_port: description: - Start port number. @@ -114,29 +122,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure global session TTL timers for this FortiGate. - fortios_system_session_ttl: - vdom: "{{ vdom }}" +- name: Configure global session TTL timers for this FortiGate. + fortinet.fortios.fortios_system_session_ttl: + vdom: "{{ vdom }}" system_session_ttl: - default: "" - port: - - - end_port: "0" - id: "6" - protocol: "0" - start_port: "0" - timeout: "" - + default: "" + port: + - + end_port: "0" + id: "6" + protocol: "0" + refresh_direction: "both" + start_port: "0" + timeout: "" """ RETURN = """ @@ -195,7 +193,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -268,7 +265,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "session-ttl") if data["system_session_ttl"]: resp = system_session_ttl(data, fos) @@ -285,240 +281,34 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "default": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "default": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "start_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "end_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "timeout": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "refresh_direction": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [ + {"value": "both"}, + {"value": "outgoing"}, + {"value": "incoming"}, + ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -554,6 +344,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_settings.py index 98a522340..a84108d63 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -316,7 +316,7 @@ options: type: str gateway6: description: - - Transparent mode IPv4 default gateway IP address. + - Transparent mode IPv6 default gateway IP address. type: str gtp_asym_fgsp: description: @@ -374,6 +374,13 @@ options: choices: - 'enable' - 'disable' + gui_casb: + description: + - Enable/disable Inline-CASB on the GUI. + type: str + choices: + - 'enable' + - 'disable' gui_default_policy_columns: description: - Default columns to display for policy lists on GUI. @@ -659,6 +666,13 @@ options: choices: - 'enable' - 'disable' + gui_sslvpn: + description: + - Enable/disable SSL-VPN settings pages on the GUI. + type: str + choices: + - 'enable' + - 'disable' gui_sslvpn_personal_bookmarks: description: - Enable/disable SSL-VPN personal bookmark management on the GUI. @@ -701,6 +715,13 @@ options: choices: - 'enable' - 'disable' + gui_virtual_patch_profile: + description: + - Enable/disable Virtual Patching on the GUI. + type: str + choices: + - 'enable' + - 'disable' gui_voip_profile: description: - Enable/disable VoIP profiles on the GUI. @@ -710,7 +731,7 @@ options: - 'disable' gui_vpn: description: - - Enable/disable VPN tunnels on the GUI. + - Enable/disable IPsec VPN settings pages on the GUI. type: str choices: - 'enable' @@ -1086,175 +1107,167 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VDOM settings. - fortios_system_settings: - vdom: "{{ vdom }}" +- name: Configure VDOM settings. + fortinet.fortios.fortios_system_settings: + vdom: "{{ vdom }}" system_settings: - allow_linkdown_path: "enable" - allow_subnet_overlap: "enable" - application_bandwidth_tracking: "disable" - asymroute: "enable" - asymroute_icmp: "enable" - asymroute6: "enable" - asymroute6_icmp: "enable" - auxiliary_session: "enable" - bfd: "enable" - bfd_desired_min_tx: "250" - bfd_detect_mult: "3" - bfd_dont_enforce_src_port: "enable" - bfd_required_min_rx: "250" - block_land_attack: "disable" - central_nat: "enable" - comments: "" - compliance_check: "enable" - consolidated_firewall_mode: "enable" - default_app_port_as_service: "enable" - default_policy_expiry_days: "30" - default_voip_alg_mode: "proxy-based" - deny_tcp_with_icmp: "enable" - detect_unknown_esp: "enable" - device: " (source system.interface.name)" - dhcp_proxy: "enable" - dhcp_proxy_interface: " (source system.interface.name)" - dhcp_proxy_interface_select_method: "auto" - dhcp_server_ip: "" - dhcp6_server_ip: "" - discovered_device_timeout: "28" - dyn_addr_session_check: "enable" - ecmp_max_paths: "255" - email_portal_check_dns: "disable" - ext_resource_session_check: "enable" - firewall_session_dirty: "check-all" - fqdn_session_check: "enable" - fw_session_hairpin: "enable" - gateway: "" - gateway6: "" - gtp_asym_fgsp: "disable" - gtp_monitor_mode: "enable" - gui_advanced_policy: "enable" - gui_advanced_wireless_features: "enable" - gui_allow_unnamed_policy: "enable" - gui_antivirus: "enable" - gui_ap_profile: "enable" - gui_application_control: "enable" - gui_default_policy_columns: - - - name: "default_name_51" - gui_dhcp_advanced: "enable" - gui_dlp: "enable" - gui_dlp_profile: "enable" - gui_dns_database: "enable" - gui_dnsfilter: "enable" - gui_domain_ip_reputation: "enable" - gui_dos_policy: "enable" - gui_dynamic_device_os_id: "enable" - gui_dynamic_profile_display: "enable" - gui_dynamic_routing: "enable" - gui_email_collection: "enable" - gui_endpoint_control: "enable" - gui_endpoint_control_advanced: "enable" - gui_enforce_change_summary: "disable" - gui_explicit_proxy: "enable" - gui_file_filter: "enable" - gui_fortiap_split_tunneling: "enable" - gui_fortiextender_controller: "enable" - gui_icap: "enable" - gui_implicit_policy: "enable" - gui_ips: "enable" - gui_load_balance: "enable" - gui_local_in_policy: "enable" - gui_local_reports: "enable" - gui_multicast_policy: "enable" - gui_multiple_interface_policy: "enable" - gui_multiple_utm_profiles: "enable" - gui_nat46_64: "enable" - gui_object_colors: "enable" - gui_ot: "enable" - gui_per_policy_disclaimer: "enable" - gui_policy_based_ipsec: "enable" - gui_policy_disclaimer: "enable" - gui_policy_learning: "enable" - gui_proxy_inspection: "enable" - gui_replacement_message_groups: "enable" - gui_route_tag_address_creation: "enable" - gui_security_profile_group: "enable" - gui_spamfilter: "enable" - gui_sslvpn_personal_bookmarks: "enable" - gui_sslvpn_realms: "enable" - gui_switch_controller: "enable" - gui_threat_weight: "enable" - gui_traffic_shaping: "enable" - gui_videofilter: "enable" - gui_voip_profile: "enable" - gui_vpn: "enable" - gui_waf_profile: "enable" - gui_wan_load_balancing: "enable" - gui_wanopt_cache: "enable" - gui_webfilter: "enable" - gui_webfilter_advanced: "enable" - gui_wireless_controller: "enable" - gui_ztna: "enable" - h323_direct_model: "disable" - http_external_dest: "fortiweb" - ike_dn_format: "with-space" - ike_policy_route: "enable" - ike_port: "500" - ike_quick_crash_detect: "enable" - ike_session_resume: "enable" - implicit_allow_dns: "enable" - inspection_mode: "proxy" - internet_service_database_cache: "disable" - ip: "" - ip6: "" - lan_extension_controller_addr: "" - link_down_access: "enable" - lldp_reception: "enable" - lldp_transmission: "enable" - location_id: "" - mac_ttl: "300" - manageip: "" - manageip6: "" - multicast_forward: "enable" - multicast_skip_policy: "enable" - multicast_ttl_notchange: "enable" - nat46_force_ipv4_packet_forwarding: "enable" - nat46_generate_ipv6_fragment_header: "enable" - nat64_force_ipv6_packet_forwarding: "enable" - ngfw_mode: "profile-based" - opmode: "nat" - pfcp_monitor_mode: "enable" - prp_trailer_action: "enable" - sccp_port: "2000" - sctp_session_without_init: "enable" - ses_denied_traffic: "enable" - sip_expectation: "enable" - sip_helper: "enable" - sip_nat_trace: "enable" - sip_ssl_port: "5061" - sip_tcp_port: "" - sip_udp_port: "" - snat_hairpin_traffic: "enable" - ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" - status: "enable" - strict_src_check: "enable" - tcp_session_without_syn: "enable" - utf8_spam_tagging: "enable" - v4_ecmp_mode: "source-ip-based" - vdom_type: "traffic" - vpn_stats_log: "ipsec" - vpn_stats_period: "600" - wccp_cache_engine: "enable" - + allow_linkdown_path: "enable" + allow_subnet_overlap: "enable" + application_bandwidth_tracking: "disable" + asymroute: "enable" + asymroute_icmp: "enable" + asymroute6: "enable" + asymroute6_icmp: "enable" + auxiliary_session: "enable" + bfd: "enable" + bfd_desired_min_tx: "250" + bfd_detect_mult: "3" + bfd_dont_enforce_src_port: "enable" + bfd_required_min_rx: "250" + block_land_attack: "disable" + central_nat: "enable" + comments: "" + compliance_check: "enable" + consolidated_firewall_mode: "enable" + default_app_port_as_service: "enable" + default_policy_expiry_days: "30" + default_voip_alg_mode: "proxy-based" + deny_tcp_with_icmp: "enable" + detect_unknown_esp: "enable" + device: " (source system.interface.name)" + dhcp_proxy: "enable" + dhcp_proxy_interface: " (source system.interface.name)" + dhcp_proxy_interface_select_method: "auto" + dhcp_server_ip: "" + dhcp6_server_ip: "" + discovered_device_timeout: "28" + dyn_addr_session_check: "enable" + ecmp_max_paths: "255" + email_portal_check_dns: "disable" + ext_resource_session_check: "enable" + firewall_session_dirty: "check-all" + fqdn_session_check: "enable" + fw_session_hairpin: "enable" + gateway: "" + gateway6: "" + gtp_asym_fgsp: "disable" + gtp_monitor_mode: "enable" + gui_advanced_policy: "enable" + gui_advanced_wireless_features: "enable" + gui_allow_unnamed_policy: "enable" + gui_antivirus: "enable" + gui_ap_profile: "enable" + gui_application_control: "enable" + gui_casb: "enable" + gui_default_policy_columns: + - + name: "default_name_52" + gui_dhcp_advanced: "enable" + gui_dlp: "enable" + gui_dlp_profile: "enable" + gui_dns_database: "enable" + gui_dnsfilter: "enable" + gui_domain_ip_reputation: "enable" + gui_dos_policy: "enable" + gui_dynamic_device_os_id: "enable" + gui_dynamic_profile_display: "enable" + gui_dynamic_routing: "enable" + gui_email_collection: "enable" + gui_endpoint_control: "enable" + gui_endpoint_control_advanced: "enable" + gui_enforce_change_summary: "disable" + gui_explicit_proxy: "enable" + gui_file_filter: "enable" + gui_fortiap_split_tunneling: "enable" + gui_fortiextender_controller: "enable" + gui_icap: "enable" + gui_implicit_policy: "enable" + gui_ips: "enable" + gui_load_balance: "enable" + gui_local_in_policy: "enable" + gui_local_reports: "enable" + gui_multicast_policy: "enable" + gui_multiple_interface_policy: "enable" + gui_multiple_utm_profiles: "enable" + gui_nat46_64: "enable" + gui_object_colors: "enable" + gui_ot: "enable" + gui_per_policy_disclaimer: "enable" + gui_policy_based_ipsec: "enable" + gui_policy_disclaimer: "enable" + gui_policy_learning: "enable" + gui_proxy_inspection: "enable" + gui_replacement_message_groups: "enable" + gui_route_tag_address_creation: "enable" + gui_security_profile_group: "enable" + gui_spamfilter: "enable" + gui_sslvpn: "enable" + gui_sslvpn_personal_bookmarks: "enable" + gui_sslvpn_realms: "enable" + gui_switch_controller: "enable" + gui_threat_weight: "enable" + gui_traffic_shaping: "enable" + gui_videofilter: "enable" + gui_virtual_patch_profile: "enable" + gui_voip_profile: "enable" + gui_vpn: "enable" + gui_waf_profile: "enable" + gui_wan_load_balancing: "enable" + gui_wanopt_cache: "enable" + gui_webfilter: "enable" + gui_webfilter_advanced: "enable" + gui_wireless_controller: "enable" + gui_ztna: "enable" + h323_direct_model: "disable" + http_external_dest: "fortiweb" + ike_dn_format: "with-space" + ike_policy_route: "enable" + ike_port: "500" + ike_quick_crash_detect: "enable" + ike_session_resume: "enable" + implicit_allow_dns: "enable" + inspection_mode: "proxy" + internet_service_database_cache: "disable" + ip: "" + ip6: "" + lan_extension_controller_addr: "" + link_down_access: "enable" + lldp_reception: "enable" + lldp_transmission: "enable" + location_id: "" + mac_ttl: "300" + manageip: "" + manageip6: "" + multicast_forward: "enable" + multicast_skip_policy: "enable" + multicast_ttl_notchange: "enable" + nat46_force_ipv4_packet_forwarding: "enable" + nat46_generate_ipv6_fragment_header: "enable" + nat64_force_ipv6_packet_forwarding: "enable" + ngfw_mode: "profile-based" + opmode: "nat" + pfcp_monitor_mode: "enable" + prp_trailer_action: "enable" + sccp_port: "2000" + sctp_session_without_init: "enable" + ses_denied_traffic: "enable" + sip_expectation: "enable" + sip_helper: "enable" + sip_nat_trace: "enable" + sip_ssl_port: "5061" + sip_tcp_port: "" + sip_udp_port: "" + snat_hairpin_traffic: "enable" + ssl_ssh_profile: " (source firewall.ssl-ssh-profile.name)" + status: "enable" + strict_src_check: "enable" + tcp_session_without_syn: "enable" + utf8_spam_tagging: "enable" + v4_ecmp_mode: "source-ip-based" + vdom_type: "traffic" + vpn_stats_log: "ipsec" + vpn_stats_period: "600" + wccp_cache_engine: "enable" """ RETURN = """ @@ -1313,7 +1326,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1386,6 +1398,7 @@ def filter_system_settings_data(json): "gui_antivirus", "gui_ap_profile", "gui_application_control", + "gui_casb", "gui_default_policy_columns", "gui_dhcp_advanced", "gui_dlp", @@ -1426,12 +1439,14 @@ def filter_system_settings_data(json): "gui_route_tag_address_creation", "gui_security_profile_group", "gui_spamfilter", + "gui_sslvpn", "gui_sslvpn_personal_bookmarks", "gui_sslvpn_realms", "gui_switch_controller", "gui_threat_weight", "gui_traffic_shaping", "gui_videofilter", + "gui_virtual_patch_profile", "gui_voip_profile", "gui_vpn", "gui_waf_profile", @@ -1573,7 +1588,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "settings") if data["system_settings"]: resp = system_settings(data, fos) @@ -1590,10348 +1604,732 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vdom_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "lan-extension", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - }, - }, - { - "value": "admin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "traffic"}, + {"value": "lan-extension", "v_range": [["v7.2.1", ""]]}, + {"value": "admin"}, ], }, "lan_extension_controller_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "opmode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "nat", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transparent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "nat"}, {"value": "transparent"}], }, "ngfw_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "profile-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "policy-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "profile-based"}, {"value": "policy-based"}], }, "http_external_dest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "fortiweb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "forticache", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "fortiweb"}, {"value": "forticache"}], }, "firewall_session_dirty": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "check-all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "check-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "check-policy-option", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "check-all"}, + {"value": "check-new"}, + {"value": "check-policy-option"}, ], }, - "manageip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "manageip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "manageip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "manageip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gateway6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, "bfd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "bfd_desired_min_tx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bfd_required_min_rx": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bfd_detect_mult": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "bfd_desired_min_tx": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "bfd_required_min_rx": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "bfd_detect_mult": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bfd_dont_enforce_src_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "utf8_spam_tagging": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wccp_cache_engine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vpn_stats_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ipsec", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pptp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "l2tp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ipsec"}, + {"value": "pptp"}, + {"value": "l2tp"}, + {"value": "ssl"}, ], "multiple_values": True, "elements": "str", }, - "vpn_stats_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "vpn_stats_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "v4_ecmp_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "source-ip-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weight-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usage-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "source-dest-ip-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "source-ip-based"}, + {"value": "weight-based"}, + {"value": "usage-based"}, + {"value": "source-dest-ip-based"}, ], }, - "mac_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "mac_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fw_session_hairpin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "prp_trailer_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "snat_hairpin_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_proxy_interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "dhcp_proxy_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "dhcp_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "dhcp6_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "central_nat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_default_policy_columns": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "lldp_reception": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "global"}], }, "lldp_transmission": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "global"}], }, "link_down_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat46_generate_ipv6_fragment_header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat46_force_ipv4_packet_forwarding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nat64_force_ipv6_packet_forwarding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "detect_unknown_esp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auxiliary_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "asymroute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "asymroute_icmp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tcp_session_without_syn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ses_denied_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "strict_src_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_linkdown_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "asymroute6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "asymroute6_icmp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sctp_session_without_init": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sip_expectation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sip_nat_trace": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "h323_direct_model": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sip_tcp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, "sip_udp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "int", }, - "sip_ssl_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sccp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "sip_ssl_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sccp_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "multicast_forward": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_ttl_notchange": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "multicast_skip_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_subnet_overlap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "deny_tcp_with_icmp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ecmp_max_paths": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "discovered_device_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ecmp_max_paths": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "discovered_device_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "email_portal_check_dns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "default_voip_alg_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "proxy-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "kernel-helper-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "proxy-based"}, {"value": "kernel-helper-based"}], + }, + "gui_proxy_inspection": { + "v_range": [["v7.2.4", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_icap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_implicit_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dns_database": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_load_balance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_multicast_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dos_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_object_colors": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_route_tag_address_creation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_voip_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_ap_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_security_profile_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_local_in_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_wanopt_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_explicit_proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dynamic_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_sslvpn_personal_bookmarks": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_sslvpn_realms": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_policy_based_ipsec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_threat_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_spamfilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_file_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_application_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_ips": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dhcp_advanced": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_vpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "gui_sslvpn": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_wireless_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_advanced_wireless_features": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_switch_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_fortiap_split_tunneling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_webfilter_advanced": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_traffic_shaping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_wan_load_balancing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_antivirus": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_webfilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_videofilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dnsfilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_waf_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dlp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "gui_fortiextender_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "gui_virtual_patch_profile": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "gui_proxy_inspection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "gui_casb": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "gui_fortiextender_controller": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_advanced_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_allow_unnamed_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_email_collection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_multiple_interface_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_policy_disclaimer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_ztna": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_ot": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dynamic_device_os_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "location_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "location_id": {"v_range": [["v7.0.0", ""]], "type": "string"}, "ike_session_resume": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ike_quick_crash_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ike_dn_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "with-space", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no-space", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ike_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "with-space"}, {"value": "no-space"}], }, + "ike_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "ike_policy_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "block_land_attack": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "default_app_port_as_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "application_bandwidth_tracking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "fqdn_session_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ext_resource_session_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dyn_addr_session_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "default_policy_expiry_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "default_policy_expiry_days": {"v_range": [["v7.2.0", ""]], "type": "integer"}, "gui_enforce_change_summary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "require", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "require"}, + {"value": "optional"}, ], }, "internet_service_database_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "gui_endpoint_control": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_endpoint_control_advanced": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gtp_asym_fgsp": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "gtp_monitor_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pfcp_monitor_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_local_reports": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_nat46_64": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_replacement_message_groups": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dynamic_profile_display": { - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_multiple_utm_profiles": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_domain_ip_reputation": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "implicit_allow_dns": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "consolidated_firewall_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_per_policy_disclaimer": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inspection_mode": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "proxy", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "flow", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "ssl_ssh_profile": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "proxy"}, {"value": "flow"}], }, + "ssl_ssh_profile": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "sip_helper": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_dlp": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gui_policy_learning": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "compliance_check": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -11967,6 +2365,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sflow.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sflow.py index 6decc9dad..d44010cf0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sflow.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sflow.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,26 +108,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure sFlow. - fortios_system_sflow: - vdom: "{{ vdom }}" +- name: Configure sFlow. + fortinet.fortios.fortios_system_sflow: + vdom: "{{ vdom }}" system_sflow: - collector_ip: "" - collector_port: "6343" - interface: " (source system.interface.name)" - interface_select_method: "auto" - source_ip: "84.230.14.43" - + collector_ip: "" + collector_port: "6343" + interface: " (source system.interface.name)" + interface_select_method: "auto" + source_ip: "84.230.14.43" """ RETURN = """ @@ -186,7 +175,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -263,7 +251,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "sflow") if data["system_sflow"]: resp = system_sflow(data, fos) @@ -280,235 +267,18 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "collector_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "collector_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "collector_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "collector_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, } @@ -543,6 +313,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sit_tunnel.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sit_tunnel.py index b44de8fae..ce3bc8c7e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sit_tunnel.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sit_tunnel.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -126,30 +126,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPv6 tunnel over IPv4. - fortios_system_sit_tunnel: - vdom: "{{ vdom }}" +- name: Configure IPv6 tunnel over IPv4. + fortinet.fortios.fortios_system_sit_tunnel: + vdom: "{{ vdom }}" state: "present" access_token: "" system_sit_tunnel: - auto_asic_offload: "enable" - destination: "" - interface: " (source system.interface.name)" - ip6: "" - name: "default_name_7" - source: "" - use_sdwan: "disable" - + auto_asic_offload: "enable" + destination: "" + interface: " (source system.interface.name)" + ip6: "" + name: "default_name_7" + source: "" + use_sdwan: "disable" """ RETURN = """ @@ -208,7 +197,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -236,6 +224,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_sit_tunnel_data(json): @@ -273,7 +264,6 @@ def underscore_to_hyphen(data): def system_sit_tunnel(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -309,11 +299,16 @@ def system_sit_tunnel(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -361,13 +356,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "sit-tunnel") if data["system_sit_tunnel"]: resp = system_sit_tunnel(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_sit_tunnel")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -382,324 +376,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "destination": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "source": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "destination": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "use_sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "auto_asic_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -734,6 +427,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_smc_ntp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_smc_ntp.py index 3362d4c3d..c75ed598b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_smc_ntp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_smc_ntp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -92,7 +92,7 @@ options: suboptions: id: description: - - NTP server ID. + - NTP server ID. see Notes. required: true type: int server: @@ -113,28 +113,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SMC NTP information. - fortios_system_smc_ntp: - vdom: "{{ vdom }}" +- name: Configure SMC NTP information. + fortinet.fortios.fortios_system_smc_ntp: + vdom: "{{ vdom }}" system_smc_ntp: - channel: "32767" - ntpserver: - - - id: "5" - server: "192.168.100.40" - ntpsync: "enable" - syncinterval: "32767" - + channel: "32767" + ntpserver: + - + id: "5" + server: "192.168.100.40" + ntpsync: "enable" + syncinterval: "32767" """ RETURN = """ @@ -193,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -266,7 +254,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "smc-ntp") if data["system_smc_ntp"]: resp = system_smc_ntp(data, fos) @@ -283,31 +270,28 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "dict", "children": { "ntpsync": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v6.2.3": True}}, - {"value": "disable", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "syncinterval": {"revisions": {"v6.2.3": True}, "type": "integer"}, - "channel": {"revisions": {"v6.2.3": True}, "type": "integer"}, + "syncinterval": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "channel": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, "ntpserver": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "integer", "required": True, }, - "server": {"revisions": {"v6.2.3": True}, "type": "string"}, + "server": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, }, - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], }, }, } @@ -343,6 +327,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sms_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sms_server.py index d2fab4650..536c27fc1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sms_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sms_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SMS server for sending SMS messages to support user authentication. - fortios_system_sms_server: - vdom: "{{ vdom }}" +- name: Configure SMS server for sending SMS messages to support user authentication. + fortinet.fortios.fortios_system_sms_server: + vdom: "{{ vdom }}" state: "present" access_token: "" system_sms_server: - mail_server: "" - name: "default_name_4" - + mail_server: "" + name: "default_name_4" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_sms_server_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def system_sms_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -270,11 +260,16 @@ def system_sms_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -322,13 +317,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "sms-server") if data["system_sms_server"]: resp = system_sms_server(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_sms_server")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -343,92 +337,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "mail_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "mail_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -463,6 +375,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_community.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_community.py index 799a1c288..8bfafbf15 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_community.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_community.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,6 +124,7 @@ options: - 'ips-pkg-update' - 'ips-fail-open' - 'faz-disconnect' + - 'faz' - 'wc-ap-up' - 'wc-ap-down' - 'fswctl-session-up' @@ -160,7 +163,7 @@ options: - 'trap' id: description: - - Host entry ID. + - Host entry ID. see Notes. required: true type: int ip: @@ -194,7 +197,7 @@ options: - 'trap' id: description: - - Host6 entry ID. + - Host6 entry ID. see Notes. required: true type: int ipv6: @@ -207,7 +210,7 @@ options: type: str id: description: - - Community ID. + - Community ID. see Notes. required: true type: int mib_view: @@ -291,55 +294,44 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SNMP community configuration. - fortios_system_snmp_community: - vdom: "{{ vdom }}" +- name: SNMP community configuration. + fortinet.fortios.fortios_system_snmp_community: + vdom: "{{ vdom }}" state: "present" access_token: "" system_snmp_community: - events: "cpu-high" - hosts: - - - ha_direct: "enable" - host_type: "any" - id: "7" - ip: "" - source_ip: "84.230.14.43" - hosts6: - - - ha_direct: "enable" - host_type: "any" - id: "13" - ipv6: "" - source_ipv6: "" - id: "16" - mib_view: " (source system.snmp.mib-view.name)" - name: "default_name_18" - query_v1_port: "161" - query_v1_status: "enable" - query_v2c_port: "161" - query_v2c_status: "enable" - status: "enable" - trap_v1_lport: "162" - trap_v1_rport: "162" - trap_v1_status: "enable" - trap_v2c_lport: "162" - trap_v2c_rport: "162" - trap_v2c_status: "enable" - vdoms: - - - name: "default_name_31 (source system.vdom.name)" - + events: "cpu-high" + hosts: + - + ha_direct: "enable" + host_type: "any" + id: "7" + ip: "" + source_ip: "84.230.14.43" + hosts6: + - + ha_direct: "enable" + host_type: "any" + id: "13" + ipv6: "" + source_ipv6: "" + id: "16" + mib_view: " (source system.snmp.mib-view.name)" + name: "default_name_18" + query_v1_port: "161" + query_v1_status: "enable" + query_v2c_port: "161" + query_v2c_status: "enable" + status: "enable" + trap_v1_lport: "162" + trap_v1_rport: "162" + trap_v1_status: "enable" + trap_v2c_lport: "162" + trap_v2c_rport: "162" + trap_v2c_status: "enable" + vdoms: + - + name: "default_name_31 (source system.vdom.name)" """ RETURN = """ @@ -398,7 +390,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -426,6 +417,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_snmp_community_data(json): @@ -503,7 +497,6 @@ def underscore_to_hyphen(data): def system_snmp_community(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -542,11 +535,16 @@ def system_snmp_community(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -596,13 +594,12 @@ def is_successful_status(resp): def fortios_system_snmp(data, fos, check_mode): - fos.do_member_operation("system.snmp", "community") if data["system_snmp_community"]: resp = system_snmp_community(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_snmp_community")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -617,2713 +614,165 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hosts": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ha_direct": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "host_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "query", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "query"}, + {"value": "trap"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "hosts6": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "source_ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ipv6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ha_direct": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "host_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "query", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "query"}, + {"value": "trap"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "query_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "query_v1_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "query_v1_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "query_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "query_v2c_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "query_v2c_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "trap_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "trap_v1_lport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trap_v1_rport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "trap_v1_lport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trap_v1_rport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "trap_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "trap_v2c_lport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trap_v2c_rport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "trap_v2c_lport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trap_v2c_rport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "events": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "cpu-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mem-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "intf-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vpn-tun-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vpn-tun-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-switch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-hb-failure", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-signature", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-pattern", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-fragmented", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fm-if-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fm-conf-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bgp-established", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bgp-backward-transition", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-member-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-member-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ent-conf-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-conserve", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-oversize-passed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-oversize-blocked", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-pkg-update", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-fail-open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "faz-disconnect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wc-ap-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wc-ap-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fswctl-session-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fswctl-session-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "load-balance-real-server-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "device-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "per-cpu-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "cpu-high"}, + {"value": "mem-low"}, + {"value": "log-full"}, + {"value": "intf-ip"}, + {"value": "vpn-tun-up"}, + {"value": "vpn-tun-down"}, + {"value": "ha-switch"}, + {"value": "ha-hb-failure"}, + {"value": "ips-signature"}, + {"value": "ips-anomaly"}, + {"value": "av-virus"}, + {"value": "av-oversize"}, + {"value": "av-pattern"}, + {"value": "av-fragmented"}, + {"value": "fm-if-change"}, + {"value": "fm-conf-change"}, + {"value": "bgp-established"}, + {"value": "bgp-backward-transition"}, + {"value": "ha-member-up"}, + {"value": "ha-member-down"}, + {"value": "ent-conf-change"}, + {"value": "av-conserve"}, + {"value": "av-bypass"}, + {"value": "av-oversize-passed"}, + {"value": "av-oversize-blocked"}, + {"value": "ips-pkg-update"}, + {"value": "ips-fail-open"}, + {"value": "faz-disconnect"}, + {"value": "faz", "v_range": [["v7.4.1", ""]]}, + {"value": "wc-ap-up"}, + {"value": "wc-ap-down"}, + {"value": "fswctl-session-up"}, + {"value": "fswctl-session-down"}, + {"value": "load-balance-real-server-down"}, + {"value": "device-new"}, + {"value": "per-cpu-high"}, + {"value": "dhcp", "v_range": [["v6.4.0", ""]]}, { "value": "pool-usage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ospf-nbr-state-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ospf-virtnbr-state-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "temperature-high", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "voltage-alert", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "power-supply-failure", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fan-failure", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "ospf-nbr-state-change", "v_range": [["v7.0.0", ""]]}, + {"value": "ospf-virtnbr-state-change", "v_range": [["v7.0.0", ""]]}, + {"value": "temperature-high"}, + {"value": "voltage-alert"}, + {"value": "power-supply-failure"}, + {"value": "fan-failure"}, ], "multiple_values": True, "elements": "str", }, - "mib_view": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "mib_view": {"v_range": [["v7.2.0", ""]], "type": "string"}, "vdoms": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3360,6 +809,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_mib_view.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_mib_view.py index 74f1c57b0..91e65b63a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_mib_view.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_mib_view.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -106,26 +106,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SNMP Access Control MIB View configuration. - fortios_system_snmp_mib_view: - vdom: "{{ vdom }}" +- name: SNMP Access Control MIB View configuration. + fortinet.fortios.fortios_system_snmp_mib_view: + vdom: "{{ vdom }}" state: "present" access_token: "" system_snmp_mib_view: - exclude: "" - include: "" - name: "default_name_5" - + exclude: "" + include: "" + name: "default_name_5" """ RETURN = """ @@ -184,7 +173,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -299,7 +287,6 @@ def is_successful_status(resp): def fortios_system_snmp(data, fos): - fos.do_member_operation("system.snmp", "mib-view") if data["system_snmp_mib_view"]: resp = system_snmp_mib_view(data, fos) @@ -319,49 +306,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.2.0", ""]], "type": "string", "required": True}, "include": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "exclude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], } @@ -396,6 +355,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_sysinfo.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_sysinfo.py index 6ef5eb76c..62ad47407 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_sysinfo.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_sysinfo.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -126,30 +126,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SNMP system info configuration. - fortios_system_snmp_sysinfo: - vdom: "{{ vdom }}" +- name: SNMP system info configuration. + fortinet.fortios.fortios_system_snmp_sysinfo: + vdom: "{{ vdom }}" system_snmp_sysinfo: - contact_info: "" - description: "" - engine_id: "" - engine_id_type: "text" - location: "" - status: "enable" - trap_high_cpu_threshold: "80" - trap_log_full_threshold: "90" - trap_low_memory_threshold: "80" - + contact_info: "" + description: "" + engine_id: "" + engine_id_type: "text" + location: "" + status: "enable" + trap_high_cpu_threshold: "80" + trap_log_full_threshold: "90" + trap_low_memory_threshold: "80" """ RETURN = """ @@ -208,7 +197,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -291,7 +279,6 @@ def is_successful_status(resp): def fortios_system_snmp(data, fos): - fos.do_member_operation("system.snmp", "sysinfo") if data["system_snmp_sysinfo"]: resp = system_snmp_sysinfo(data, fos) @@ -308,411 +295,26 @@ def fortios_system_snmp(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "engine_id_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "engine_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "text"}, {"value": "hex"}, {"value": "mac"}], }, - "contact_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "trap_high_cpu_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trap_low_memory_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trap_log_full_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "engine_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "contact_info": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "location": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "trap_high_cpu_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trap_low_memory_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trap_log_full_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -747,6 +349,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_user.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_user.py index c257ce3f4..cdc82996f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_user.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_snmp_user.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -137,6 +137,7 @@ options: - 'ips-pkg-update' - 'ips-fail-open' - 'faz-disconnect' + - 'faz' - 'wc-ap-up' - 'wc-ap-down' - 'fswctl-session-up' @@ -254,45 +255,34 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SNMP user configuration. - fortios_system_snmp_user: - vdom: "{{ vdom }}" +- name: SNMP user configuration. + fortinet.fortios.fortios_system_snmp_user: + vdom: "{{ vdom }}" state: "present" access_token: "" system_snmp_user: - auth_proto: "md5" - auth_pwd: "" - events: "cpu-high" - ha_direct: "enable" - mib_view: " (source system.snmp.mib-view.name)" - name: "default_name_8" - notify_hosts: "" - notify_hosts6: "" - priv_proto: "aes" - priv_pwd: "" - queries: "enable" - query_port: "161" - security_level: "no-auth-no-priv" - source_ip: "84.230.14.43" - source_ipv6: "" - status: "enable" - trap_lport: "162" - trap_rport: "162" - trap_status: "enable" - vdoms: - - - name: "default_name_23 (source system.vdom.name)" - + auth_proto: "md5" + auth_pwd: "" + events: "cpu-high" + ha_direct: "enable" + mib_view: " (source system.snmp.mib-view.name)" + name: "default_name_8" + notify_hosts: "" + notify_hosts6: "" + priv_proto: "aes" + priv_pwd: "" + queries: "enable" + query_port: "161" + security_level: "no-auth-no-priv" + source_ip: "84.230.14.43" + source_ipv6: "" + status: "enable" + trap_lport: "162" + trap_rport: "162" + trap_status: "enable" + vdoms: + - + name: "default_name_23 (source system.vdom.name)" """ RETURN = """ @@ -351,7 +341,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -379,6 +368,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_snmp_user_data(json): @@ -460,7 +452,6 @@ def underscore_to_hyphen(data): def system_snmp_user(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -497,11 +488,16 @@ def system_snmp_user(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -549,13 +545,12 @@ def is_successful_status(resp): def fortios_system_snmp(data, fos, check_mode): - fos.do_member_operation("system.snmp", "user") if data["system_snmp_user"]: resp = system_snmp_user(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_snmp_user")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -570,2502 +565,147 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "trap_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "trap_lport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "trap_rport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "trap_lport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "trap_rport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "queries": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "query_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "query_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "notify_hosts": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "notify_hosts6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ipv6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ipv6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ha_direct": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "events": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "cpu-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mem-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "intf-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vpn-tun-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vpn-tun-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-switch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-hb-failure", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-signature", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-anomaly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-virus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-oversize", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-pattern", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-fragmented", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fm-if-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fm-conf-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bgp-established", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bgp-backward-transition", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-member-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ha-member-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ent-conf-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-conserve", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-oversize-passed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-oversize-blocked", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-pkg-update", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ips-fail-open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "faz-disconnect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wc-ap-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wc-ap-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fswctl-session-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fswctl-session-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "load-balance-real-server-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "device-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "per-cpu-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "cpu-high"}, + {"value": "mem-low"}, + {"value": "log-full"}, + {"value": "intf-ip"}, + {"value": "vpn-tun-up"}, + {"value": "vpn-tun-down"}, + {"value": "ha-switch"}, + {"value": "ha-hb-failure"}, + {"value": "ips-signature"}, + {"value": "ips-anomaly"}, + {"value": "av-virus"}, + {"value": "av-oversize"}, + {"value": "av-pattern"}, + {"value": "av-fragmented"}, + {"value": "fm-if-change"}, + {"value": "fm-conf-change"}, + {"value": "bgp-established"}, + {"value": "bgp-backward-transition"}, + {"value": "ha-member-up"}, + {"value": "ha-member-down"}, + {"value": "ent-conf-change"}, + {"value": "av-conserve"}, + {"value": "av-bypass"}, + {"value": "av-oversize-passed"}, + {"value": "av-oversize-blocked"}, + {"value": "ips-pkg-update"}, + {"value": "ips-fail-open"}, + {"value": "faz-disconnect"}, + {"value": "faz", "v_range": [["v7.4.1", ""]]}, + {"value": "wc-ap-up"}, + {"value": "wc-ap-down"}, + {"value": "fswctl-session-up"}, + {"value": "fswctl-session-down"}, + {"value": "load-balance-real-server-down"}, + {"value": "device-new"}, + {"value": "per-cpu-high"}, + {"value": "dhcp", "v_range": [["v6.4.0", ""]]}, { "value": "pool-usage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ospf-nbr-state-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ospf-virtnbr-state-change", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "temperature-high", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "voltage-alert", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "power-supply-failure", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fan-failure", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "ospf-nbr-state-change", "v_range": [["v7.0.0", ""]]}, + {"value": "ospf-virtnbr-state-change", "v_range": [["v7.0.0", ""]]}, + {"value": "temperature-high"}, + {"value": "voltage-alert"}, + {"value": "power-supply-failure"}, + {"value": "fan-failure"}, ], "multiple_values": True, "elements": "str", }, - "mib_view": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "mib_view": {"v_range": [["v7.2.0", ""]], "type": "string"}, "vdoms": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], }, "security_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "no-auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "no-auth-no-priv"}, + {"value": "auth-no-priv"}, + {"value": "auth-priv"}, ], }, "auth_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha224", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "md5"}, + {"value": "sha"}, + {"value": "sha224", "v_range": [["v6.2.0", ""]]}, + {"value": "sha256", "v_range": [["v6.2.0", ""]]}, + {"value": "sha384", "v_range": [["v6.2.0", ""]]}, + {"value": "sha512", "v_range": [["v6.2.0", ""]]}, ], }, - "auth_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "auth_pwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, "priv_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "aes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "aes"}, + {"value": "des"}, + {"value": "aes256"}, + {"value": "aes256cisco"}, ], }, - "priv_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "priv_pwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -3100,6 +740,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_schedule.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_schedule.py index a49062719..abb2c73ed 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_schedule.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_schedule.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,6 +104,14 @@ options: - Interface name. Source system.interface.name. required: true type: str + mode: + description: + - Protocol Auto(default), TCP or UDP used for speed test. + type: str + choices: + - 'UDP' + - 'TCP' + - 'Auto' schedules: description: - Schedules for the interface. @@ -159,37 +167,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Speed test schedule for each interface. - fortios_system_speed_test_schedule: - vdom: "{{ vdom }}" +- name: Speed test schedule for each interface. + fortinet.fortios.fortios_system_speed_test_schedule: + vdom: "{{ vdom }}" state: "present" access_token: "" system_speed_test_schedule: - diffserv: "" - dynamic_server: "disable" - interface: " (source system.interface.name)" - schedules: - - - name: "default_name_7 (source firewall.schedule.recurring.name)" - server_name: "" - status: "disable" - update_inbandwidth: "disable" - update_inbandwidth_maximum: "0" - update_inbandwidth_minimum: "0" - update_outbandwidth: "disable" - update_outbandwidth_maximum: "0" - update_outbandwidth_minimum: "0" - + diffserv: "" + dynamic_server: "disable" + interface: " (source system.interface.name)" + mode: "UDP" + schedules: + - + name: "default_name_8 (source firewall.schedule.recurring.name)" + server_name: "" + status: "disable" + update_inbandwidth: "disable" + update_inbandwidth_maximum: "0" + update_inbandwidth_minimum: "0" + update_outbandwidth: "disable" + update_outbandwidth_maximum: "0" + update_outbandwidth_minimum: "0" """ RETURN = """ @@ -248,7 +246,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -277,6 +274,7 @@ def filter_system_speed_test_schedule_data(json): "diffserv", "dynamic_server", "interface", + "mode", "schedules", "server_name", "status", @@ -345,7 +343,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "speed-test-schedule") if data["system_speed_test_schedule"]: resp = system_speed_test_schedule(data, fos) @@ -367,433 +364,52 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, + "interface": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "diffserv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "server_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "diffserv": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "server_name": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "mode": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "UDP"}, {"value": "TCP"}, {"value": "Auto"}], }, "schedules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, "dynamic_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "update_inbandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "update_outbandwidth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "update_inbandwidth_maximum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "update_inbandwidth_minimum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "update_outbandwidth_maximum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "update_outbandwidth_minimum": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, + "update_inbandwidth_maximum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "update_inbandwidth_minimum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "update_outbandwidth_maximum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "update_outbandwidth_minimum": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, + "v_range": [["v7.0.0", ""]], } @@ -830,6 +446,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_server.py index 62993911e..64cfa6c54 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,7 +100,7 @@ options: type: int id: description: - - Server host ID. + - Server host ID. see Notes. required: true type: int ip: @@ -139,35 +139,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure speed test server list. - fortios_system_speed_test_server: - vdom: "{{ vdom }}" +- name: Configure speed test server list. + fortinet.fortios.fortios_system_speed_test_server: + vdom: "{{ vdom }}" state: "present" access_token: "" system_speed_test_server: - host: - - - distance: "0" - id: "5" - ip: "" - latitude: "" - longitude: "" - password: "" - port: "5204" - user: "" - name: "default_name_12" - timestamp: "0" - + host: + - + distance: "0" + id: "5" + ip: "" + latitude: "" + longitude: "" + password: "" + port: "5204" + user: "" + name: "default_name_12" + timestamp: "0" """ RETURN = """ @@ -226,7 +215,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -254,6 +242,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_speed_test_server_data(json): @@ -283,7 +274,6 @@ def underscore_to_hyphen(data): def system_speed_test_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -319,11 +309,16 @@ def system_speed_test_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -373,7 +368,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "speed-test-server") if data["system_speed_test_server"]: resp = system_speed_test_server(data, fos, check_mode) @@ -381,7 +375,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_speed_test_server") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -396,321 +390,38 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "timestamp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "timestamp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "host": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "user": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.2.0", ""]], "type": "string"}, "longitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.12", "v7.0.12"], ["v7.2.4", ""]], "type": "string", }, "latitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.12", "v7.0.12"], ["v7.2.4", ""]], "type": "string", }, "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.12", "v7.0.12"], ["v7.2.4", ""]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -747,6 +458,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_setting.py new file mode 100644 index 000000000..a5536c3a6 --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_speed_test_setting.py @@ -0,0 +1,342 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_system_speed_test_setting +short_description: Configure speed test setting in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify system feature and speed_test_setting category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + system_speed_test_setting: + description: + - Configure speed test setting. + default: null + type: dict + suboptions: + latency_threshold: + description: + - Speed test latency threshold in milliseconds (0 - 2000) for the Auto mode. If the latency exceeds this threshold, the speed test will + use the UDP protocol; otherwise, it will use the TCP protocol. + type: int + multiple_tcp_stream: + description: + - Number of parallel client streams (1 - 64) for the TCP protocol to run during the speed test. + type: int +""" + +EXAMPLES = """ +- name: Configure speed test setting. + fortinet.fortios.fortios_system_speed_test_setting: + vdom: "{{ vdom }}" + system_speed_test_setting: + latency_threshold: "60" + multiple_tcp_stream: "4" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_system_speed_test_setting_data(json): + option_list = ["latency_threshold", "multiple_tcp_stream"] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def system_speed_test_setting(data, fos): + vdom = data["vdom"] + system_speed_test_setting_data = data["system_speed_test_setting"] + filtered_data = underscore_to_hyphen( + filter_system_speed_test_setting_data(system_speed_test_setting_data) + ) + + return fos.set("system", "speed-test-setting", data=filtered_data, vdom=vdom) + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_system(data, fos): + fos.do_member_operation("system", "speed-test-setting") + if data["system_speed_test_setting"]: + resp = system_speed_test_setting(data, fos) + else: + fos._module.fail_json( + msg="missing task body: %s" % ("system_speed_test_setting") + ) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "v_range": [["v7.4.1", ""]], + "type": "dict", + "children": { + "latency_threshold": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "multiple_tcp_stream": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + }, +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = None + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "system_speed_test_setting": { + "required": False, + "type": "dict", + "default": None, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["system_speed_test_setting"]["options"][attribute_name] = module_spec[ + "options" + ][attribute_name] + if mkeyname and mkeyname == attribute_name: + fields["system_speed_test_setting"]["options"][attribute_name][ + "required" + ] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "system_speed_test_setting" + ) + + is_error, has_changed, result, diff = fortios_system(module.params, fos) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_admin.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_admin.py index 80b708743..392ea09b6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_admin.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_admin.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,7 +104,7 @@ options: type: int id: description: - - Dashboard ID. + - Dashboard ID. see Notes. required: true type: int layout_type: @@ -159,7 +159,7 @@ options: suboptions: id: description: - - FortiView Filter ID. + - FortiView Filter ID. see Notes. required: true type: int key: @@ -192,7 +192,7 @@ options: type: int id: description: - - Widget ID. + - Widget ID. see Notes. required: true type: int industry: @@ -312,71 +312,60 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SSO admin users. - fortios_system_sso_admin: - vdom: "{{ vdom }}" +- name: Configure SSO admin users. + fortinet.fortios.fortios_system_sso_admin: + vdom: "{{ vdom }}" state: "present" access_token: "" system_sso_admin: - accprofile: " (source system.accprofile.name)" - gui_dashboard: - - - columns: "10" - id: "6" - layout_type: "responsive" - name: "default_name_8" - permanent: "disable" - vdom: " (source system.vdom.name)" - widget: - - - fabric_device: "" - fabric_device_widget_name: "" - fabric_device_widget_visualization_type: "" - fortiview_device: "" - fortiview_filters: - - - id: "17" - key: "" - value: "" - fortiview_sort_by: "" - fortiview_timeframe: "" - fortiview_type: "" - fortiview_visualization: "" - height: "25" - id: "25" - industry: "default" - interface: " (source system.interface.name)" - region: "default" - title: "" - type: "sysinfo" - width: "25" - x_pos: "500" - y_pos: "500" - gui_global_menu_favorites: - - - id: "35" - gui_ignore_release_overview_version: "" - gui_new_feature_acknowledge: - - - id: "38" - gui_vdom_menu_favorites: - - - id: "40" - name: "default_name_41" - vdom: - - - name: "default_name_43 (source system.vdom.name)" - + accprofile: " (source system.accprofile.name)" + gui_dashboard: + - + columns: "10" + id: "6" + layout_type: "responsive" + name: "default_name_8" + permanent: "disable" + vdom: " (source system.vdom.name)" + widget: + - + fabric_device: "" + fabric_device_widget_name: "" + fabric_device_widget_visualization_type: "" + fortiview_device: "" + fortiview_filters: + - + id: "17" + key: "" + value: "" + fortiview_sort_by: "" + fortiview_timeframe: "" + fortiview_type: "" + fortiview_visualization: "" + height: "25" + id: "25" + industry: "default" + interface: " (source system.interface.name)" + region: "default" + title: "" + type: "sysinfo" + width: "25" + x_pos: "500" + y_pos: "500" + gui_global_menu_favorites: + - + id: "35" + gui_ignore_release_overview_version: "" + gui_new_feature_acknowledge: + - + id: "38" + gui_vdom_menu_favorites: + - + id: "40" + name: "default_name_41" + vdom: + - + name: "default_name_43 (source system.vdom.name)" """ RETURN = """ @@ -435,7 +424,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -463,6 +451,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_sso_admin_data(json): @@ -501,7 +492,6 @@ def underscore_to_hyphen(data): def system_sso_admin(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -537,11 +527,16 @@ def system_sso_admin(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -589,13 +584,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "sso-admin") if data["system_sso_admin"]: resp = system_sso_admin(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_sso_admin")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -610,124 +604,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "accprofile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "accprofile": {"v_range": [["v6.2.0", ""]], "type": "string"}, "vdom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "gui_ignore_release_overview_version": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.1", "v6.4.1"]], "type": "string", }, "gui_dashboard": { @@ -735,142 +627,112 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "integer", "required": True, }, - "name": {"revisions": {"v6.2.3": True}, "type": "string"}, - "vdom": {"revisions": {"v6.2.3": True}, "type": "string"}, + "name": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, + "vdom": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, "layout_type": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "responsive", "revisions": {"v6.2.3": True}}, - {"value": "fixed", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "responsive"}, {"value": "fixed"}], }, "permanent": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v6.2.3": True}}, - {"value": "enable", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "columns": {"revisions": {"v6.2.3": True}, "type": "integer"}, + "columns": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, "widget": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "integer", "required": True, }, "type": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - {"value": "sysinfo", "revisions": {"v6.2.3": True}}, - {"value": "licinfo", "revisions": {"v6.2.3": True}}, - {"value": "forticloud", "revisions": {"v6.2.3": True}}, - {"value": "cpu-usage", "revisions": {"v6.2.3": True}}, - { - "value": "memory-usage", - "revisions": {"v6.2.3": True}, - }, - {"value": "disk-usage", "revisions": {"v6.2.3": True}}, - {"value": "log-rate", "revisions": {"v6.2.3": True}}, - {"value": "sessions", "revisions": {"v6.2.3": True}}, - { - "value": "session-rate", - "revisions": {"v6.2.3": True}, - }, - {"value": "tr-history", "revisions": {"v6.2.3": True}}, - {"value": "analytics", "revisions": {"v6.2.3": True}}, - {"value": "usb-modem", "revisions": {"v6.2.3": True}}, - {"value": "admins", "revisions": {"v6.2.3": True}}, - { - "value": "security-fabric", - "revisions": {"v6.2.3": True}, - }, - { - "value": "security-fabric-ranking", - "revisions": {"v6.2.3": True}, - }, - {"value": "sensor-info", "revisions": {"v6.2.3": True}}, - {"value": "ha-status", "revisions": {"v6.2.3": True}}, - { - "value": "vulnerability-summary", - "revisions": {"v6.2.3": True}, - }, - { - "value": "host-scan-summary", - "revisions": {"v6.2.3": True}, - }, - {"value": "fortiview", "revisions": {"v6.2.3": True}}, - { - "value": "botnet-activity", - "revisions": {"v6.2.3": True}, - }, - { - "value": "fabric-device", - "revisions": {"v6.2.3": True}, - }, + {"value": "sysinfo"}, + {"value": "licinfo"}, + {"value": "forticloud"}, + {"value": "cpu-usage"}, + {"value": "memory-usage"}, + {"value": "disk-usage"}, + {"value": "log-rate"}, + {"value": "sessions"}, + {"value": "session-rate"}, + {"value": "tr-history"}, + {"value": "analytics"}, + {"value": "usb-modem"}, + {"value": "admins"}, + {"value": "security-fabric"}, + {"value": "security-fabric-ranking"}, + {"value": "sensor-info"}, + {"value": "ha-status"}, + {"value": "vulnerability-summary"}, + {"value": "host-scan-summary"}, + {"value": "fortiview"}, + {"value": "botnet-activity"}, + {"value": "fabric-device"}, ], }, - "x_pos": {"revisions": {"v6.2.3": True}, "type": "integer"}, - "y_pos": {"revisions": {"v6.2.3": True}, "type": "integer"}, - "width": {"revisions": {"v6.2.3": True}, "type": "integer"}, - "height": {"revisions": {"v6.2.3": True}, "type": "integer"}, - "interface": {"revisions": {"v6.2.3": True}, "type": "string"}, + "x_pos": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "y_pos": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "width": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "height": { + "v_range": [["v6.2.3", "v6.2.3"]], + "type": "integer", + }, + "interface": { + "v_range": [["v6.2.3", "v6.2.3"]], + "type": "string", + }, "region": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "default", "revisions": {"v6.2.3": True}}, - {"value": "custom", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "default"}, {"value": "custom"}], }, "industry": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "default", "revisions": {"v6.2.3": True}}, - {"value": "custom", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "default"}, {"value": "custom"}], }, "fabric_device": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fabric_device_widget_name": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fabric_device_widget_visualization_type": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, - "title": {"revisions": {"v6.2.3": True}, "type": "string"}, + "title": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, "fortiview_type": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_sort_by": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_timeframe": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_visualization": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_device": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "fortiview_filters": { @@ -878,87 +740,65 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "integer", "required": True, }, "key": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, "value": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], }, }, - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], }, }, - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], }, "gui_global_menu_favorites": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], }, "gui_vdom_menu_favorites": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], }, "gui_new_feature_acknowledge": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.2.3": True}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -993,6 +833,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_forticloud_admin.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_forticloud_admin.py index 073831cc1..4f23eb793 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_forticloud_admin.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_forticloud_admin.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiCloud SSO admin users. - fortios_system_sso_forticloud_admin: - vdom: "{{ vdom }}" +- name: Configure FortiCloud SSO admin users. + fortinet.fortios.fortios_system_sso_forticloud_admin: + vdom: "{{ vdom }}" state: "present" access_token: "" system_sso_forticloud_admin: - accprofile: " (source system.accprofile.name)" - name: "default_name_4" - vdom: - - - name: "default_name_6 (source system.vdom.name)" - + accprofile: " (source system.accprofile.name)" + name: "default_name_4" + vdom: + - + name: "default_name_6 (source system.vdom.name)" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,7 +263,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "sso-forticloud-admin") if data["system_sso_forticloud_admin"]: resp = system_sso_forticloud_admin(data, fos) @@ -297,104 +284,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "accprofile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "accprofile": {"v_range": [["v7.2.4", ""]], "type": "string"}, "vdom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -431,6 +336,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_fortigate_cloud_admin.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_fortigate_cloud_admin.py index aaa871512..5dfcaa18e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_fortigate_cloud_admin.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_sso_fortigate_cloud_admin.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiCloud SSO admin users. - fortios_system_sso_fortigate_cloud_admin: - vdom: "{{ vdom }}" +- name: Configure FortiCloud SSO admin users. + fortinet.fortios.fortios_system_sso_fortigate_cloud_admin: + vdom: "{{ vdom }}" state: "present" access_token: "" system_sso_fortigate_cloud_admin: - accprofile: " (source system.accprofile.name)" - name: "default_name_4" - vdom: - - - name: "default_name_6 (source system.vdom.name)" - + accprofile: " (source system.accprofile.name)" + name: "default_name_4" + vdom: + - + name: "default_name_6 (source system.vdom.name)" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -279,7 +267,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "sso-fortigate-cloud-admin") if data["system_sso_fortigate_cloud_admin"]: resp = system_sso_fortigate_cloud_admin(data, fos) @@ -301,26 +288,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, - "type": "string", - "required": True, - }, - "accprofile": {"revisions": {"v7.4.0": True, "v7.2.4": True}, "type": "string"}, + "name": {"v_range": [["v7.2.4", ""]], "type": "string", "required": True}, + "accprofile": {"v_range": [["v7.2.4", ""]], "type": "string"}, "vdom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], "type": "string", "required": True, } }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], }, }, - "revisions": {"v7.4.0": True, "v7.2.4": True}, + "v_range": [["v7.2.4", ""]], } @@ -357,6 +340,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_standalone_cluster.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_standalone_cluster.py index 4d07999ef..7245b6e94 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_standalone_cluster.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_standalone_cluster.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,7 +147,7 @@ options: type: str id: description: - - Custom service ID. + - Custom service ID. see Notes. required: true type: int src_port_range: @@ -180,7 +180,7 @@ options: type: str sync_id: description: - - Sync ID. + - Sync ID. see Notes. required: true type: int syncvd: @@ -228,54 +228,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGate Session Life Support Protocol (FGSP) cluster attributes. - fortios_system_standalone_cluster: - vdom: "{{ vdom }}" +- name: Configure FortiGate Session Life Support Protocol (FGSP) cluster attributes. + fortinet.fortios.fortios_system_standalone_cluster: + vdom: "{{ vdom }}" system_standalone_cluster: - cluster_peer: - - - down_intfs_before_sess_sync: - - - name: "default_name_5 (source system.interface.name)" - hb_interval: "2" - hb_lost_threshold: "10" - ipsec_tunnel_sync: "enable" - peerip: "" - peervd: " (source system.vdom.name)" - secondary_add_ipsec_routes: "enable" - session_sync_filter: - custom_service: - - - dst_port_range: "" - id: "15" - src_port_range: "" - dstaddr: "" - dstaddr6: "" - dstintf: " (source system.interface.name)" - srcaddr: "" - srcaddr6: "" - srcintf: " (source system.interface.name)" - sync_id: "0" - syncvd: - - - name: "default_name_25 (source system.vdom.name)" - encryption: "enable" - group_member_id: "0" - layer2_connection: "available" - psksecret: "" - session_sync_dev: " (source system.interface.name)" - standalone_group_id: "0" - + cluster_peer: + - + down_intfs_before_sess_sync: + - + name: "default_name_5 (source system.interface.name)" + hb_interval: "2" + hb_lost_threshold: "10" + ipsec_tunnel_sync: "enable" + peerip: "" + peervd: " (source system.vdom.name)" + secondary_add_ipsec_routes: "enable" + session_sync_filter: + custom_service: + - + dst_port_range: "" + id: "15" + src_port_range: "" + dstaddr: "" + dstaddr6: "" + dstintf: " (source system.interface.name)" + srcaddr: "" + srcaddr6: "" + srcintf: " (source system.interface.name)" + sync_id: "" + syncvd: + - + name: "default_name_25 (source system.vdom.name)" + encryption: "enable" + group_member_id: "0" + layer2_connection: "available" + psksecret: "" + session_sync_dev: " (source system.interface.name)" + standalone_group_id: "0" """ RETURN = """ @@ -334,7 +323,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -447,7 +435,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "standalone-cluster") if data["system_standalone_cluster"]: resp = system_standalone_cluster(data, fos) @@ -466,530 +453,109 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "dict", "children": { - "standalone_group_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "group_member_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "standalone_group_id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "group_member_id": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "layer2_connection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "available", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "unavailable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "available"}, {"value": "unavailable"}], }, "session_sync_dev": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "psksecret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "psksecret": {"v_range": [["v6.4.0", ""]], "type": "string"}, "cluster_peer": { "type": "list", "elements": "dict", "children": { "sync_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", "required": True, }, - "peervd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "peerip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "peervd": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "peerip": {"v_range": [["v7.2.1", ""]], "type": "string"}, "syncvd": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, "down_intfs_before_sess_sync": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - "hb_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", - }, - "hb_lost_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "integer", + "v_range": [["v7.2.1", ""]], }, + "hb_interval": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "hb_lost_threshold": {"v_range": [["v7.2.1", ""]], "type": "integer"}, "ipsec_tunnel_sync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secondary_add_ipsec_routes": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "session_sync_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "dict", "children": { - "srcintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "dstintf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "srcaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "dstaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "srcaddr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, - "dstaddr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - "type": "string", - }, + "srcintf": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "dstintf": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "srcaddr": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "dstaddr": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "srcaddr6": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "dstaddr6": {"v_range": [["v7.2.1", ""]], "type": "string"}, "custom_service": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "integer", "required": True, }, "src_port_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, "dst_port_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "v_range": [["v7.2.1", ""]], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.2.1", ""]], }, }, } @@ -1027,6 +593,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_storage.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_storage.py index 37bcbb00b..ae79460dc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_storage.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_storage.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -142,32 +142,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure logical storage. - fortios_system_storage: - vdom: "{{ vdom }}" +- name: Configure logical storage. + fortinet.fortios.fortios_system_storage: + vdom: "{{ vdom }}" state: "present" access_token: "" system_storage: - device: "" - media_status: "enable" - name: "default_name_5" - order: "0" - partition: "" - size: "0" - status: "enable" - usage: "log" - wanopt_mode: "mix" - + device: "" + media_status: "enable" + name: "default_name_5" + order: "0" + partition: "" + size: "0" + status: "enable" + usage: "log" + wanopt_mode: "mix" """ RETURN = """ @@ -226,7 +215,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -254,6 +242,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_storage_data(json): @@ -293,7 +284,6 @@ def underscore_to_hyphen(data): def system_storage(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -329,11 +319,16 @@ def system_storage(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -381,13 +376,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "storage") if data["system_storage"]: resp = system_storage(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_storage")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -402,593 +396,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "media_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "order": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "partition": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "fail"}], }, - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "order": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "partition": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "usage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "log", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wanopt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "log"}, {"value": "wanopt"}], }, "wanopt_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "mix", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wanopt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "webcache", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "mix"}, {"value": "wanopt"}, {"value": "webcache"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1023,6 +457,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_stp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_stp.py index a0a5967b4..46de753d0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_stp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_stp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -132,29 +132,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Spanning Tree Protocol (STP). - fortios_system_stp: - vdom: "{{ vdom }}" +- name: Configure Spanning Tree Protocol (STP). + fortinet.fortios.fortios_system_stp: + vdom: "{{ vdom }}" system_stp: - config_revision: "2147483647" - forward_delay: "15" - hello_time: "2" - max_age: "20" - max_hops: "20" - region_name: "" - status: "" - switch_priority: "0" - + config_revision: "2147483647" + forward_delay: "15" + hello_time: "2" + max_age: "20" + max_hops: "20" + region_name: "" + status: "" + switch_priority: "0" """ RETURN = """ @@ -213,7 +202,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -293,7 +281,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "stp") if data["system_stp"]: resp = system_stp(data, fos) @@ -310,460 +297,69 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v7.0.12"], ["v7.2.1", "v7.2.4"]], "type": "dict", "children": { "switch_priority": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", "options": [ - { - "value": "0", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4096", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8192", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12288", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "16384", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20480", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24576", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28672", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "32768", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "36864", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40960", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "45056", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "49152", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "53248", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "57344", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "0"}, + {"value": "4096"}, + {"value": "8192"}, + {"value": "12288"}, + {"value": "16384"}, + {"value": "20480"}, + {"value": "24576"}, + {"value": "28672"}, + {"value": "32768"}, + {"value": "36864"}, + {"value": "40960"}, + {"value": "45056"}, + {"value": "49152"}, + {"value": "53248"}, + {"value": "57344"}, ], }, "hello_time": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "integer", }, "forward_delay": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "integer", }, "max_age": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "integer", }, "max_hops": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "region_name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "config_revision": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "integer", }, + "region_name": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "status": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "config_revision": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, }, } @@ -798,6 +394,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_switch_interface.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_switch_interface.py index e47badb79..0ff1278c3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_switch_interface.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_switch_interface.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -159,37 +159,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure software switch interfaces by grouping physical and WiFi interfaces. - fortios_system_switch_interface: - vdom: "{{ vdom }}" +- name: Configure software switch interfaces by grouping physical and WiFi interfaces. + fortinet.fortios.fortios_system_switch_interface: + vdom: "{{ vdom }}" state: "present" access_token: "" system_switch_interface: - intra_switch_policy: "implicit" - mac_ttl: "300" - member: - - - interface_name: " (source system.interface.name)" - name: "default_name_7" - span: "disable" - span_dest_port: " (source system.interface.name)" - span_direction: "rx" - span_source_port: - - - interface_name: " (source system.interface.name)" - type: "switch" - vdom: " (source system.vdom.name)" - + intra_switch_policy: "implicit" + mac_ttl: "300" + member: + - + interface_name: " (source system.interface.name)" + name: "default_name_7" + span: "disable" + span_dest_port: " (source system.interface.name)" + span_direction: "rx" + span_source_port: + - + interface_name: " (source system.interface.name)" + type: "switch" + vdom: " (source system.vdom.name)" """ RETURN = """ @@ -248,7 +237,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -276,6 +264,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_switch_interface_data(json): @@ -316,7 +307,6 @@ def underscore_to_hyphen(data): def system_switch_interface(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -352,11 +342,16 @@ def system_switch_interface(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -406,13 +401,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "switch-interface") if data["system_switch_interface"]: resp = system_switch_interface(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_switch_interface")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -427,659 +421,59 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "span_dest_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "span_dest_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, "span_source_port": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "member": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "switch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hub", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "switch"}, {"value": "hub"}], }, "intra_switch_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "implicit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "explicit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "implicit"}, {"value": "explicit"}], }, "mac_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "span": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "span_direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "rx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "rx"}, {"value": "tx"}, {"value": "both"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1116,6 +510,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_tos_based_priority.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_tos_based_priority.py index 9f10442d6..33368a318 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_tos_based_priority.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_tos_based_priority.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Item ID. + - Item ID. see Notes. required: true type: int priority: @@ -109,26 +111,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Type of Service (ToS) based priority table to set network traffic priorities. - fortios_system_tos_based_priority: - vdom: "{{ vdom }}" +- name: Configure Type of Service (ToS) based priority table to set network traffic priorities. + fortinet.fortios.fortios_system_tos_based_priority: + vdom: "{{ vdom }}" state: "present" access_token: "" system_tos_based_priority: - id: "3" - priority: "low" - tos: "0" - + id: "3" + priority: "low" + tos: "0" """ RETURN = """ @@ -187,7 +178,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +205,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_tos_based_priority_data(json): @@ -244,7 +237,6 @@ def underscore_to_hyphen(data): def system_tos_based_priority(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -280,11 +272,16 @@ def system_tos_based_priority(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -334,7 +331,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "tos-based-priority") if data["system_tos_based_priority"]: resp = system_tos_based_priority(data, fos, check_mode) @@ -342,7 +338,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_tos_based_priority") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -357,210 +353,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "tos": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "tos": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "low"}, {"value": "medium"}, {"value": "high"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -597,6 +398,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom.py index f3f13107c..b7a9df6f2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,28 +112,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual domain. - fortios_system_vdom: - vdom: "{{ vdom }}" +- name: Configure virtual domain. + fortinet.fortios.fortios_system_vdom: + vdom: "{{ vdom }}" state: "present" access_token: "" system_vdom: - flag: "0" - name: "default_name_4" - short_name: "" - temporary: "2147483647" - vcluster_id: "0" - + flag: "0" + name: "default_name_4" + short_name: "" + temporary: "2147483647" + vcluster_id: "0" """ RETURN = """ @@ -192,7 +181,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -220,6 +208,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_vdom_data(json): @@ -249,7 +240,6 @@ def underscore_to_hyphen(data): def system_vdom(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -283,11 +273,16 @@ def system_vdom(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -335,13 +330,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "vdom") if data["system_vdom"]: resp = system_vdom(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_vdom")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -356,154 +350,13 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "short_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vcluster_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "flag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "temporary": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "short_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vcluster_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "flag": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "temporary": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -538,6 +391,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_dns.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_dns.py index cabab5dbd..0013e2c28 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_dns.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_dns.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -169,38 +169,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure DNS servers for a non-management VDOM. - fortios_system_vdom_dns: - vdom: "{{ vdom }}" +- name: Configure DNS servers for a non-management VDOM. + fortinet.fortios.fortios_system_vdom_dns: + vdom: "{{ vdom }}" system_vdom_dns: - alt_primary: "" - alt_secondary: "" - dns_over_tls: "disable" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ip6_primary: "" - ip6_secondary: "" - primary: "" - protocol: "cleartext" - secondary: "" - server_hostname: - - - hostname: "myhostname" - server_select_method: "least-rtt" - source_ip: "84.230.14.43" - ssl_certificate: " (source certificate.local.name)" - vdom_dns: "enable" - + alt_primary: "" + alt_secondary: "" + dns_over_tls: "disable" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ip6_primary: "" + ip6_secondary: "" + primary: "" + protocol: "cleartext" + secondary: "" + server_hostname: + - + hostname: "myhostname" + server_select_method: "least-rtt" + source_ip: "84.230.14.43" + ssl_certificate: " (source certificate.local.name)" + vdom_dns: "enable" """ RETURN = """ @@ -259,7 +248,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -378,7 +366,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "vdom-dns") if data["system_vdom_dns"]: resp = system_vdom_dns(data, fos) @@ -395,757 +382,62 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "vdom_dns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "primary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary": {"v_range": [["v6.0.0", ""]], "type": "string"}, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", - "options": [ - { - "value": "cleartext", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dot", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "doh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "cleartext"}, {"value": "dot"}, {"value": "doh"}], "multiple_values": True, "elements": "str", }, - "ssl_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "ssl_certificate": {"v_range": [["v6.2.0", ""]], "type": "string"}, "server_hostname": { "type": "list", "elements": "dict", "children": { "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "ip6_primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6_secondary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.2.0", ""]], }, + "ip6_primary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6_secondary": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "server_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "least-rtt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "failover", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "alt_primary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "alt_secondary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "least-rtt"}, {"value": "failover"}], }, + "alt_primary": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "alt_secondary": {"v_range": [["v7.0.1", ""]], "type": "string"}, "dns_over_tls": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enforce", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "enforce"}, ], }, }, @@ -1182,6 +474,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_exception.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_exception.py index 4969aba8f..e87f4a0d6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_exception.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_exception.py @@ -36,10 +36,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,7 +93,7 @@ options: suboptions: id: description: - - Index (1 - 4096). + - Index (1 - 4096). see Notes. required: true type: int object: @@ -165,30 +167,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Global configuration objects that can be configured independently across different ha peers for all VDOMs or for the defined VDOM scope. - fortios_system_vdom_exception: - vdom: "{{ vdom }}" +- name: Global configuration objects that can be configured independently across different ha peers for all VDOMs or for the defined VDOM scope. + fortinet.fortios.fortios_system_vdom_exception: + vdom: "{{ vdom }}" state: "present" access_token: "" system_vdom_exception: - id: "3" - object: "log.fortianalyzer.setting" - oid: "32767" - scope: "all" - vdom: - - - name: "default_name_8 (source system.vdom.name)" - + id: "3" + object: "log.fortianalyzer.setting" + oid: "32767" + scope: "all" + vdom: + - + name: "default_name_8 (source system.vdom.name)" """ RETURN = """ @@ -247,7 +238,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,6 +265,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_vdom_exception_data(json): @@ -304,7 +297,6 @@ def underscore_to_hyphen(data): def system_vdom_exception(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -340,11 +332,16 @@ def system_vdom_exception(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -394,13 +391,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "vdom-exception") if data["system_vdom_exception"]: resp = system_vdom_exception(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_vdom_exception")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -415,1285 +411,87 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "object": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "log.fortianalyzer.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "log.fortianalyzer.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "log.fortianalyzer.setting"}, + {"value": "log.fortianalyzer.override-setting"}, { "value": "log.fortianalyzer2.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "log.fortianalyzer2.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "log.fortianalyzer3.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "log.fortianalyzer3.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "log.fortianalyzer-cloud.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, { "value": "log.fortianalyzer-cloud.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd2.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd2.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd3.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd3.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd4.setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd4.override-setting", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "system.gre-tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "v_range": [["v6.2.0", ""]], + }, + {"value": "log.syslogd.setting", "v_range": [["v6.4.0", ""]]}, + {"value": "log.syslogd.override-setting", "v_range": [["v6.4.0", ""]]}, + {"value": "log.syslogd2.setting", "v_range": [["v6.4.0", ""]]}, + {"value": "log.syslogd2.override-setting", "v_range": [["v6.4.0", ""]]}, + {"value": "log.syslogd3.setting", "v_range": [["v6.4.0", ""]]}, + {"value": "log.syslogd3.override-setting", "v_range": [["v6.4.0", ""]]}, + {"value": "log.syslogd4.setting", "v_range": [["v6.4.0", ""]]}, + {"value": "log.syslogd4.override-setting", "v_range": [["v6.4.0", ""]]}, + {"value": "system.gre-tunnel", "v_range": [["v7.0.1", ""]]}, { "value": "system.central-management", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "system.csf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], }, { "value": "user.radius", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "system.interface", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "vpn.ipsec.phase1-interface", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "vpn.ipsec.phase2-interface", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "router.bgp", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "router.route-map", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "router.prefix-list", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "firewall.ippool", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "firewall.ippool6", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "router.static", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "router.static6", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "firewall.vip", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "firewall.vip6", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "system.sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "system.saml", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "router.policy", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "router.policy6", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd.setting", - "revisions": { - "v7.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "log.syslogd.override-setting", - "revisions": { - "v7.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "firewall.vip46", - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "firewall.vip64", - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", ""]], + }, + {"value": "system.interface", "v_range": []}, + {"value": "vpn.ipsec.phase1-interface", "v_range": []}, + {"value": "vpn.ipsec.phase2-interface", "v_range": []}, + {"value": "router.bgp", "v_range": []}, + {"value": "router.route-map", "v_range": []}, + {"value": "router.prefix-list", "v_range": []}, + {"value": "firewall.ippool", "v_range": []}, + {"value": "firewall.ippool6", "v_range": []}, + {"value": "router.static", "v_range": []}, + {"value": "router.static6", "v_range": []}, + {"value": "firewall.vip", "v_range": []}, + {"value": "firewall.vip6", "v_range": []}, + {"value": "system.sdwan", "v_range": []}, + {"value": "system.saml", "v_range": []}, + {"value": "router.policy", "v_range": []}, + {"value": "router.policy6", "v_range": []}, + {"value": "log.syslogd.setting", "v_range": [["v7.4.1", ""]]}, + {"value": "log.syslogd.override-setting", "v_range": [["v7.4.1", ""]]}, + {"value": "firewall.vip46", "v_range": []}, + {"value": "firewall.vip64", "v_range": []}, ], }, "scope": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inclusive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exclusive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "all"}, + {"value": "inclusive"}, + {"value": "exclusive"}, ], }, "vdom": { @@ -1701,100 +499,19 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "oid": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1831,6 +548,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_link.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_link.py index 4734af0d1..ac2be3ffc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_link.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_link.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,26 +111,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VDOM links. - fortios_system_vdom_link: - vdom: "{{ vdom }}" +- name: Configure VDOM links. + fortinet.fortios.fortios_system_vdom_link: + vdom: "{{ vdom }}" state: "present" access_token: "" system_vdom_link: - name: "default_name_3" - type: "ppp" - vcluster: "vcluster1" - + name: "default_name_3" + type: "ppp" + vcluster: "vcluster1" """ RETURN = """ @@ -189,7 +178,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -217,6 +205,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_vdom_link_data(json): @@ -246,7 +237,6 @@ def underscore_to_hyphen(data): def system_vdom_link(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -282,11 +272,16 @@ def system_vdom_link(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -334,13 +329,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "vdom-link") if data["system_vdom_link"]: resp = system_vdom_link(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_vdom_link")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -355,270 +349,26 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "vcluster": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "vcluster1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vcluster2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "vcluster1"}, {"value": "vcluster2"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ppp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ethernet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ppp"}, + {"value": "ethernet"}, { "value": "npupair", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", "v7.4.0"]], }, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -653,6 +403,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_netflow.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_netflow.py index c3f71fefd..c684f4179 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_netflow.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_netflow.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,27 +114,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NetFlow per VDOM. - fortios_system_vdom_netflow: - vdom: "{{ vdom }}" +- name: Configure NetFlow per VDOM. + fortinet.fortios.fortios_system_vdom_netflow: + vdom: "{{ vdom }}" system_vdom_netflow: - collector_ip: "" - collector_port: "2055" - interface: " (source system.interface.name)" - interface_select_method: "auto" - source_ip: "84.230.14.43" - vdom_netflow: "enable" - + collector_ip: "" + collector_port: "2055" + interface: " (source system.interface.name)" + interface_select_method: "auto" + source_ip: "84.230.14.43" + vdom_netflow: "enable" """ RETURN = """ @@ -193,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -273,7 +261,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "vdom-netflow") if data["system_vdom_netflow"]: resp = system_vdom_netflow(data, fos) @@ -290,324 +277,23 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "vdom_netflow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "collector_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "collector_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "collector_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "collector_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, } @@ -642,6 +328,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_property.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_property.py index 7faeb6229..39fe22b9e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_property.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_property.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -194,44 +194,33 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VDOM property. - fortios_system_vdom_property: - vdom: "{{ vdom }}" +- name: Configure VDOM property. + fortinet.fortios.fortios_system_vdom_property: + vdom: "{{ vdom }}" state: "present" access_token: "" system_vdom_property: - custom_service: "" - description: "" - dialup_tunnel: "" - firewall_address: "" - firewall_addrgrp: "" - firewall_policy: "" - ipsec_phase1: "" - ipsec_phase1_interface: "" - ipsec_phase2: "" - ipsec_phase2_interface: "" - log_disk_quota: "" - name: "default_name_14 (source system.vdom.name)" - onetime_schedule: "" - proxy: "" - recurring_schedule: "" - service_group: "" - session: "" - snmp_index: "0" - sslvpn: "" - user: "" - user_group: "" - + custom_service: "" + description: "" + dialup_tunnel: "" + firewall_address: "" + firewall_addrgrp: "" + firewall_policy: "" + ipsec_phase1: "" + ipsec_phase1_interface: "" + ipsec_phase2: "" + ipsec_phase2_interface: "" + log_disk_quota: "" + name: "default_name_14 (source system.vdom.name)" + onetime_schedule: "" + proxy: "" + recurring_schedule: "" + service_group: "" + session: "" + snmp_index: "0" + sslvpn: "" + user: "" + user_group: "" """ RETURN = """ @@ -290,7 +279,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -318,6 +306,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_vdom_property_data(json): @@ -415,7 +406,6 @@ def underscore_to_hyphen(data): def system_vdom_property(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -452,11 +442,16 @@ def system_vdom_property(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -506,13 +501,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "vdom-property") if data["system_vdom_property"]: resp = system_vdom_property(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_vdom_property")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -527,679 +521,119 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "snmp_index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "snmp_index": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "ipsec_phase1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "ipsec_phase2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "ipsec_phase1_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "ipsec_phase2_interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "dialup_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "firewall_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "firewall_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "firewall_addrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "custom_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "service_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "onetime_schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "recurring_schedule": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "user_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "sslvpn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "log_disk_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1234,6 +668,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_radius_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_radius_server.py index aa0ebcbec..9ac2b7ebc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_radius_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_radius_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,26 +107,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure a RADIUS server to use as a RADIUS Single Sign On (RSSO) server for this VDOM. - fortios_system_vdom_radius_server: - vdom: "{{ vdom }}" +- name: Configure a RADIUS server to use as a RADIUS Single Sign On (RSSO) server for this VDOM. + fortinet.fortios.fortios_system_vdom_radius_server: + vdom: "{{ vdom }}" state: "present" access_token: "" system_vdom_radius_server: - name: "default_name_3 (source system.vdom.name)" - radius_server_vdom: " (source system.vdom.name)" - status: "enable" - + name: "default_name_3 (source system.vdom.name)" + radius_server_vdom: " (source system.vdom.name)" + status: "enable" """ RETURN = """ @@ -185,7 +174,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -213,6 +201,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_vdom_radius_server_data(json): @@ -242,7 +233,6 @@ def underscore_to_hyphen(data): def system_vdom_radius_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +268,16 @@ def system_vdom_radius_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,7 +327,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "vdom-radius-server") if data["system_vdom_radius_server"]: resp = system_vdom_radius_server(data, fos, check_mode) @@ -340,7 +334,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_vdom_radius_server") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -355,181 +349,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "radius_server_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "radius_server_vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -566,6 +394,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_sflow.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_sflow.py index 77298c3fd..dc7fcca9f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_sflow.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vdom_sflow.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,28 +117,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure sFlow per VDOM to add or change the IP address and UDP port that FortiGate sFlow agents in this VDOM use to send sFlow datagrams to an - sFlow collector. - fortios_system_vdom_sflow: - vdom: "{{ vdom }}" +- name: Configure sFlow per VDOM to add or change the IP address and UDP port that FortiGate sFlow agents in this VDOM use to send sFlow datagrams to an sFlow + collector. + fortinet.fortios.fortios_system_vdom_sflow: + vdom: "{{ vdom }}" system_vdom_sflow: - collector_ip: "" - collector_port: "6343" - interface: " (source system.interface.name)" - interface_select_method: "auto" - source_ip: "84.230.14.43" - vdom_sflow: "enable" - + collector_ip: "" + collector_port: "6343" + interface: " (source system.interface.name)" + interface_select_method: "auto" + source_ip: "84.230.14.43" + vdom_sflow: "enable" """ RETURN = """ @@ -197,7 +186,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -277,7 +265,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "vdom-sflow") if data["system_vdom_sflow"]: resp = system_vdom_sflow(data, fos) @@ -294,324 +281,23 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "vdom_sflow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "collector_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "collector_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "collector_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "collector_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.1", ""]], "type": "string"}, }, } @@ -646,6 +332,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_switch.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_switch.py index 698c60a1a..4a10e969e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_switch.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_switch.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -169,36 +169,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual hardware switch interfaces. - fortios_system_virtual_switch: - vdom: "{{ vdom }}" +- name: Configure virtual hardware switch interfaces. + fortinet.fortios.fortios_system_virtual_switch: + vdom: "{{ vdom }}" state: "present" access_token: "" system_virtual_switch: - name: "default_name_3" - physical_switch: " (source system.physical-switch.name)" - port: - - - alias: "" - mediatype: "cfp2-sr10" - name: "default_name_8 (source system.interface.name)" - speed: "auto" - status: "up" - span: "disable" - span_dest_port: "" - span_direction: "rx" - span_source_port: "" - + name: "default_name_3" + physical_switch: " (source system.physical-switch.name)" + port: + - + alias: "" + mediatype: "cfp2-sr10" + name: "default_name_8 (source system.interface.name)" + speed: "auto" + status: "up" + span: "disable" + span_dest_port: "" + span_direction: "rx" + span_source_port: "" """ RETURN = """ @@ -257,7 +246,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -285,6 +273,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_virtual_switch_data(json): @@ -322,7 +313,6 @@ def underscore_to_hyphen(data): def system_virtual_switch(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -358,11 +348,16 @@ def system_virtual_switch(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -412,13 +407,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "virtual-switch") if data["system_virtual_switch"]: resp = system_virtual_switch(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_virtual_switch")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -434,46 +428,20 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", "required": True, }, "physical_switch": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", }, "port": { @@ -481,571 +449,93 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", "required": True, }, "alias": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", }, "speed": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v7.0.0"]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10full", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10half", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100full", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100half", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000full", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000half", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1000auto", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10000full", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10000auto", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40000full", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "100Gfull", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "10full"}, + {"value": "10half"}, + {"value": "100full"}, + {"value": "100half"}, + {"value": "1000full"}, + {"value": "1000half"}, + {"value": "1000auto"}, + {"value": "10000full"}, + {"value": "10000auto"}, + {"value": "40000full"}, + {"value": "100Gfull"}, ], }, "status": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "up", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "down", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "up"}, {"value": "down"}], }, "mediatype": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "cfp2-sr10", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cfp2-lr4", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "cfp2-sr10"}, {"value": "cfp2-lr4"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], }, "span": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], ], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, "span_source_port": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", }, "span_dest_port": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], + ], "type": "string", }, "span_direction": { - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "rx", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tx", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [ + ["v6.0.0", "v6.2.7"], + ["v6.4.1", "v7.0.12"], + ["v7.2.1", "v7.2.4"], ], + "type": "string", + "options": [{"value": "rx"}, {"value": "tx"}, {"value": "both"}], }, }, - "revisions": { - "v7.2.4": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v7.0.12"], ["v7.2.1", "v7.2.4"]], } @@ -1082,6 +572,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wan_link.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wan_link.py index 97c06637d..a9a19d396 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wan_link.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wan_link.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -148,7 +148,7 @@ options: suboptions: seq_num: description: - - Member sequence number. Source system.virtual-wan-link.members.seq-num. + - Member sequence number. see Notes. Source system.virtual-wan-link.members.seq-num. required: true type: int name: @@ -213,7 +213,7 @@ options: suboptions: id: description: - - SLA ID. + - SLA ID. see Notes. required: true type: int jitter_threshold: @@ -331,7 +331,7 @@ options: type: int seq_num: description: - - Sequence number(1-255). + - Sequence number(1-255). see Notes. required: true type: int source: @@ -515,7 +515,7 @@ options: type: int id: description: - - Priority rule ID (1 - 4000). + - Priority rule ID (1 - 4000). see Notes. required: true type: int input_device: @@ -551,7 +551,7 @@ options: suboptions: id: description: - - Application control based Internet Service ID. + - Application control based Internet Service ID. see Notes. required: true type: int internet_service_app_ctrl_group: @@ -573,7 +573,7 @@ options: suboptions: id: description: - - Control-based Internet Service ID. + - Control-based Internet Service ID. see Notes. required: true type: int internet_service_ctrl_group: @@ -628,7 +628,7 @@ options: suboptions: id: description: - - Internet service ID. Source firewall.internet-service.id. + - Internet service ID. see Notes. Source firewall.internet-service.id. required: true type: int jitter_weight: @@ -685,7 +685,7 @@ options: suboptions: seq_num: description: - - Member sequence number. Source system.virtual-wan-link.members.seq-num. + - Member sequence number. see Notes. Source system.virtual-wan-link.members.seq-num. required: true type: int protocol: @@ -817,184 +817,173 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure redundant internet connections using SD-WAN (formerly virtual WAN link). - fortios_system_virtual_wan_link: - vdom: "{{ vdom }}" +- name: Configure redundant internet connections using SD-WAN (formerly virtual WAN link). + fortinet.fortios.fortios_system_virtual_wan_link: + vdom: "{{ vdom }}" system_virtual_wan_link: - fail_alert_interfaces: - - - name: "default_name_4 (source system.interface.name)" - fail_detect: "enable" - health_check: - - - addr_mode: "ipv4" - diffservcode: "" - failtime: "1800" - ha_priority: "25" - http_agent: "" - http_get: "" - http_match: "" - interval: "1800000" - members: - - - seq_num: "2147483647" - name: "default_name_17" - packet_size: "512" - password: "" - port: "32767" - probe_packets: "disable" - probe_timeout: "2500" - protocol: "ping" - recoverytime: "1800" - security_mode: "none" - server: "192.168.100.40" - sla: - - - id: "28" - jitter_threshold: "5000000" - latency_threshold: "5000000" - link_cost_factor: "latency" - packetloss_threshold: "50" - sla_fail_log_period: "1800" - sla_pass_log_period: "1800" - threshold_alert_jitter: "2147483647" - threshold_alert_latency: "2147483647" - threshold_alert_packetloss: "50" - threshold_warning_jitter: "2147483647" - threshold_warning_latency: "2147483647" - threshold_warning_packetloss: "50" - update_cascade_interface: "enable" - update_static_route: "enable" - load_balance_mode: "source-ip-based" - members: - - - comment: "Comments." - cost: "2147483647" - gateway: "" - gateway6: "" - ingress_spillover_threshold: "8388000" - interface: " (source system.interface.name)" - priority: "2147483647" - seq_num: "127" - source: "" - source6: "" - spillover_threshold: "8388000" - status: "disable" - volume_ratio: "127" - weight: "127" - neighbor: - - - health_check: " (source system.virtual-wan-link.health-check.name)" - ip: " (source router.bgp.neighbor.ip)" - member: "2147483647" - role: "standalone" - sla_id: "2147483647" - neighbor_hold_boot_time: "5000000" - neighbor_hold_down: "enable" - neighbor_hold_down_time: "5000000" - service: - - - addr_mode: "ipv4" - bandwidth_weight: "5000000" - default: "enable" - dscp_forward: "enable" - dscp_forward_tag: "" - dscp_reverse: "enable" - dscp_reverse_tag: "" - dst: - - - name: "default_name_77 (source firewall.address.name firewall.addrgrp.name)" - dst_negate: "enable" - dst6: - - - name: "default_name_80 (source firewall.address6.name firewall.addrgrp6.name)" - end_port: "32767" - gateway: "enable" - groups: - - - name: "default_name_84 (source user.group.name)" - health_check: " (source system.virtual-wan-link.health-check.name)" - hold_down_time: "5000000" - id: "87" - input_device: - - - name: "default_name_89 (source system.interface.name)" - input_device_negate: "enable" - internet_service: "enable" - internet_service_app_ctrl: - - - id: "93" - internet_service_app_ctrl_group: - - - name: "default_name_95 (source application.group.name)" - internet_service_ctrl: - - - id: "97" - internet_service_ctrl_group: - - - name: "default_name_99 (source application.group.name)" - internet_service_custom: - - - name: "default_name_101 (source firewall.internet-service-custom.name)" - internet_service_custom_group: - - - name: "default_name_103 (source firewall.internet-service-custom-group.name)" - internet_service_group: - - - name: "default_name_105 (source firewall.internet-service-group.name)" - internet_service_id: - - - id: "107 (source firewall.internet-service.id)" - jitter_weight: "5000000" - latency_weight: "5000000" - link_cost_factor: "latency" - link_cost_threshold: "5000000" - member: "2147483647" - mode: "auto" - name: "default_name_114" - packet_loss_weight: "5000000" - priority_members: - - - seq_num: "2147483647" - protocol: "127" - quality_link: "127" - role: "standalone" - route_tag: "2147483647" - sla: - - - health_check: " (source system.virtual-wan-link.health-check.name)" - id: "124" - sla_compare_method: "order" - src: - - - name: "default_name_127 (source firewall.address.name firewall.addrgrp.name)" - src_negate: "enable" - src6: - - - name: "default_name_130 (source firewall.address6.name firewall.addrgrp6.name)" - standalone_action: "enable" - start_port: "32767" - status: "enable" - tos: "" - tos_mask: "" - users: - - - name: "default_name_137 (source user.local.name)" - status: "disable" - zone: - - - name: "default_name_140" - + fail_alert_interfaces: + - + name: "default_name_4 (source system.interface.name)" + fail_detect: "enable" + health_check: + - + addr_mode: "ipv4" + diffservcode: "" + failtime: "1800" + ha_priority: "25" + http_agent: "" + http_get: "" + http_match: "" + interval: "1800000" + members: + - + seq_num: "" + name: "default_name_17" + packet_size: "512" + password: "" + port: "32767" + probe_packets: "disable" + probe_timeout: "2500" + protocol: "ping" + recoverytime: "1800" + security_mode: "none" + server: "192.168.100.40" + sla: + - + id: "28" + jitter_threshold: "5000000" + latency_threshold: "5000000" + link_cost_factor: "latency" + packetloss_threshold: "50" + sla_fail_log_period: "1800" + sla_pass_log_period: "1800" + threshold_alert_jitter: "2147483647" + threshold_alert_latency: "2147483647" + threshold_alert_packetloss: "50" + threshold_warning_jitter: "2147483647" + threshold_warning_latency: "2147483647" + threshold_warning_packetloss: "50" + update_cascade_interface: "enable" + update_static_route: "enable" + load_balance_mode: "source-ip-based" + members: + - + comment: "Comments." + cost: "2147483647" + gateway: "" + gateway6: "" + ingress_spillover_threshold: "8388000" + interface: " (source system.interface.name)" + priority: "2147483647" + seq_num: "" + source: "" + source6: "" + spillover_threshold: "8388000" + status: "disable" + volume_ratio: "127" + weight: "127" + neighbor: + - + health_check: " (source system.virtual-wan-link.health-check.name)" + ip: " (source router.bgp.neighbor.ip)" + member: "2147483647" + role: "standalone" + sla_id: "2147483647" + neighbor_hold_boot_time: "5000000" + neighbor_hold_down: "enable" + neighbor_hold_down_time: "5000000" + service: + - + addr_mode: "ipv4" + bandwidth_weight: "5000000" + default: "enable" + dscp_forward: "enable" + dscp_forward_tag: "" + dscp_reverse: "enable" + dscp_reverse_tag: "" + dst: + - + name: "default_name_77 (source firewall.address.name firewall.addrgrp.name)" + dst_negate: "enable" + dst6: + - + name: "default_name_80 (source firewall.address6.name firewall.addrgrp6.name)" + end_port: "32767" + gateway: "enable" + groups: + - + name: "default_name_84 (source user.group.name)" + health_check: " (source system.virtual-wan-link.health-check.name)" + hold_down_time: "5000000" + id: "87" + input_device: + - + name: "default_name_89 (source system.interface.name)" + input_device_negate: "enable" + internet_service: "enable" + internet_service_app_ctrl: + - + id: "93" + internet_service_app_ctrl_group: + - + name: "default_name_95 (source application.group.name)" + internet_service_ctrl: + - + id: "97" + internet_service_ctrl_group: + - + name: "default_name_99 (source application.group.name)" + internet_service_custom: + - + name: "default_name_101 (source firewall.internet-service-custom.name)" + internet_service_custom_group: + - + name: "default_name_103 (source firewall.internet-service-custom-group.name)" + internet_service_group: + - + name: "default_name_105 (source firewall.internet-service-group.name)" + internet_service_id: + - + id: "107 (source firewall.internet-service.id)" + jitter_weight: "5000000" + latency_weight: "5000000" + link_cost_factor: "latency" + link_cost_threshold: "5000000" + member: "2147483647" + mode: "auto" + name: "default_name_114" + packet_loss_weight: "5000000" + priority_members: + - + seq_num: "" + protocol: "127" + quality_link: "127" + role: "standalone" + route_tag: "2147483647" + sla: + - + health_check: " (source system.virtual-wan-link.health-check.name)" + id: "124" + sla_compare_method: "order" + src: + - + name: "default_name_127 (source firewall.address.name firewall.addrgrp.name)" + src_negate: "enable" + src6: + - + name: "default_name_130 (source firewall.address6.name firewall.addrgrp6.name)" + standalone_action: "enable" + start_port: "32767" + status: "enable" + tos: "" + tos_mask: "" + users: + - + name: "default_name_137 (source user.local.name)" + status: "disable" + zone: + - + name: "default_name_140" """ RETURN = """ @@ -1053,7 +1042,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1171,7 +1159,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "virtual-wan-link") if data["system_virtual_wan_link"]: resp = system_virtual_wan_link(data, fos) @@ -1188,1018 +1175,197 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "dict", "children": { "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "load_balance_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "source-ip-based", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "weight-based", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usage-based", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "source-dest-ip-based", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "measured-volume-based", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "source-ip-based"}, + {"value": "weight-based"}, + {"value": "usage-based"}, + {"value": "source-dest-ip-based"}, + {"value": "measured-volume-based"}, ], }, "neighbor_hold_down": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "neighbor_hold_down_time": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", }, "neighbor_hold_boot_time": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", }, "fail_detect": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fail_alert_interfaces": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "zone": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v6.2.7": True, "v6.2.5": True, "v6.2.0": True}, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], }, "members": { "type": "list", "elements": "dict", "children": { "seq_num": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, }, - "interface": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gateway6": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source6": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cost": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "weight": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "interface": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "gateway": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "source": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "gateway6": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "source6": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "cost": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, + "weight": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "spillover_threshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "ingress_spillover_threshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "volume_ratio": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, + "volume_ratio": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "comment": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "health_check": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, "probe_packets": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "addr_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, + "server": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "ping", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tcp-echo", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "udp-echo", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "twamp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ping6", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ping"}, + {"value": "tcp-echo"}, + {"value": "udp-echo"}, + {"value": "http"}, + {"value": "twamp"}, + {"value": "ping6"}, ], }, - "port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "security_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authentication", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "password": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "packet_size": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ha_priority": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "http_get": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_agent": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_match": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - }, - "interval": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "options": [{"value": "none"}, {"value": "authentication"}], + }, + "password": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "packet_size": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "ha_priority": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, + "http_get": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "http_agent": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "http_match": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "interval": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "probe_timeout": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "failtime": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "recoverytime": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], "type": "integer", }, + "failtime": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "recoverytime": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "diffservcode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], "type": "string", }, "update_cascade_interface": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "update_static_route": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sla_fail_log_period": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", }, "sla_pass_log_period": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", }, "threshold_warning_packetloss": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "threshold_alert_packetloss": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "threshold_warning_latency": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "threshold_alert_latency": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "threshold_warning_jitter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "threshold_alert_jitter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "members": { @@ -2207,1328 +1373,349 @@ versioned_schema = { "elements": "dict", "children": { "seq_num": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "sla": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, }, "link_cost_factor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "list", "options": [ - { - "value": "latency", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jitter", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "packet-loss", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "latency"}, + {"value": "jitter"}, + {"value": "packet-loss"}, ], "multiple_values": True, "elements": "str", }, "latency_threshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "jitter_threshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "packetloss_threshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "neighbor": { "type": "list", "elements": "dict", "children": { "ip": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, }, - "member": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "member": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, "role": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "standalone", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "primary", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "standalone"}, + {"value": "primary"}, + {"value": "secondary"}, ], }, - "health_check": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "sla_id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "health_check": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, + "sla_id": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "service": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "addr_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, "input_device": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "input_device_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "manual", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "priority", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sla", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "load-balance", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "auto"}, + {"value": "manual"}, + {"value": "priority"}, + {"value": "sla"}, + {"value": "load-balance", "v_range": [["v6.2.0", "v6.2.7"]]}, ], }, "role": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "standalone", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "primary", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "standalone"}, + {"value": "primary"}, + {"value": "secondary"}, ], }, "standalone_action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "quality_link": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tos": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - }, - "tos_mask": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "start_port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "end_port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "route_tag": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "quality_link": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "tos": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "tos_mask": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, + "protocol": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "start_port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "end_port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "route_tag": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "dst": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "dst_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "src": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "dst6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "src6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "src_negate": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "internet_service": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "internet_service_custom": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "internet_service_custom_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "internet_service_id": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "internet_service_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "internet_service_app_ctrl": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, "internet_service_app_ctrl_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "health_check": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.2.0", "v6.2.7"]], }, + "health_check": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "string"}, "link_cost_factor": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "latency", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jitter", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "packet-loss", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inbandwidth", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "outbandwidth", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bibandwidth", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom-profile-1", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "latency"}, + {"value": "jitter"}, + {"value": "packet-loss"}, + {"value": "inbandwidth"}, + {"value": "outbandwidth"}, + {"value": "bibandwidth"}, + {"value": "custom-profile-1"}, ], }, "packet_loss_weight": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "latency_weight": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "jitter_weight": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, + "jitter_weight": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "bandwidth_weight": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "link_cost_threshold": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "hold_down_time": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "dscp_forward": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_reverse": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_forward_tag": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "dscp_reverse_tag": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "sla": { @@ -3536,223 +1723,48 @@ versioned_schema = { "elements": "dict", "children": { "health_check": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "required": True, }, - "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "priority_members": { "type": "list", "elements": "dict", "children": { "seq_num": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "gateway": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sla_compare_method": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "order", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "number", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "order"}, {"value": "number"}], }, "member": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "internet_service_ctrl": { @@ -3760,43 +1772,27 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, "internet_service_ctrl_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], }, }, } @@ -3834,6 +1830,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wire_pair.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wire_pair.py index 3c5b2be5e..5a9ca9e87 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wire_pair.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_virtual_wire_pair.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -118,29 +118,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual wire pairs. - fortios_system_virtual_wire_pair: - vdom: "{{ vdom }}" +- name: Configure virtual wire pairs. + fortinet.fortios.fortios_system_virtual_wire_pair: + vdom: "{{ vdom }}" state: "present" access_token: "" system_virtual_wire_pair: - member: - - - interface_name: " (source system.interface.name)" - name: "default_name_5" - vlan_filter: "" - wildcard_vlan: "enable" - + member: + - + interface_name: " (source system.interface.name)" + name: "default_name_5" + vlan_filter: "" + wildcard_vlan: "enable" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -227,6 +215,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_virtual_wire_pair_data(json): @@ -256,7 +247,6 @@ def underscore_to_hyphen(data): def system_virtual_wire_pair(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -292,11 +282,16 @@ def system_virtual_wire_pair(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,7 +341,6 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "virtual-wire-pair") if data["system_virtual_wire_pair"]: resp = system_virtual_wire_pair(data, fos, check_mode) @@ -354,7 +348,7 @@ def fortios_system(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("system_virtual_wire_pair") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -369,243 +363,27 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "member": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "wildcard_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vlan_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "vlan_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -642,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vne_tunnel.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vne_tunnel.py index dc0d556f9..700a54d68 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vne_tunnel.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vne_tunnel.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -137,32 +137,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual network enabler tunnel. - fortios_system_vne_tunnel: - vdom: "{{ vdom }}" +- name: Configure virtual network enabler tunnel. + fortinet.fortios.fortios_system_vne_tunnel: + vdom: "{{ vdom }}" system_vne_tunnel: - auto_asic_offload: "enable" - bmr_hostname: "myhostname" - br: "" - http_password: "" - http_username: "" - interface: " (source system.interface.name)" - ipv4_address: "" - mode: "map-e" - ssl_certificate: " (source certificate.local.name)" - status: "enable" - update_url: "" - + auto_asic_offload: "enable" + bmr_hostname: "myhostname" + br: "" + http_password: "" + http_username: "" + interface: " (source system.interface.name)" + ipv4_address: "" + mode: "map-e" + ssl_certificate: " (source certificate.local.name)" + status: "enable" + update_url: "" """ RETURN = """ @@ -221,7 +210,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -306,7 +294,6 @@ def is_successful_status(resp): def fortios_system(data, fos): - fos.do_member_operation("system", "vne-tunnel") if data["system_vne_tunnel"]: resp = system_vne_tunnel(data, fos) @@ -323,415 +310,35 @@ def fortios_system(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "ssl_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "bmr_hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "ipv4_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "br": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "update_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "interface": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ssl_certificate": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "bmr_hostname": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ipv4_address": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "br": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "update_url": {"v_range": [["v6.4.0", ""]], "type": "string"}, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "map-e", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "fixed-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ds-lite", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, + {"value": "map-e"}, + {"value": "fixed-ip"}, + {"value": "ds-lite", "v_range": [["v7.2.0", ""]]}, ], }, - "http_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - }, - "http_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - }, + "http_username": {"v_range": [["v7.2.0", ""]], "type": "string"}, + "http_password": {"v_range": [["v7.2.0", ""]], "type": "string"}, "auto_asic_offload": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -767,6 +374,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vxlan.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vxlan.py index e56946b4b..059a20d85 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vxlan.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_vxlan.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -154,37 +154,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VXLAN devices. - fortios_system_vxlan: - vdom: "{{ vdom }}" +- name: Configure VXLAN devices. + fortinet.fortios.fortios_system_vxlan: + vdom: "{{ vdom }}" state: "present" access_token: "" system_vxlan: - dstport: "4789" - evpn_id: "0" - interface: " (source system.interface.name)" - ip_version: "ipv4-unicast" - learn_from_traffic: "enable" - multicast_ttl: "0" - name: "default_name_9" - remote_ip: - - - ip: "" - remote_ip6: - - - ip6: "" - vni: "0" - + dstport: "4789" + evpn_id: "0" + interface: " (source system.interface.name)" + ip_version: "ipv4-unicast" + learn_from_traffic: "enable" + multicast_ttl: "0" + name: "default_name_9" + remote_ip: + - + ip: "" + remote_ip6: + - + ip6: "" + vni: "0" """ RETURN = """ @@ -243,7 +232,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -271,6 +259,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_vxlan_data(json): @@ -311,7 +302,6 @@ def underscore_to_hyphen(data): def system_vxlan(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -345,11 +335,16 @@ def system_vxlan(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -397,13 +392,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "vxlan") if data["system_vxlan"]: resp = system_vxlan(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_vxlan")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -418,512 +412,45 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vni": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vni": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ip_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ipv4-unicast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6-unicast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv4-multicast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6-multicast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ipv4-unicast"}, + {"value": "ipv6-unicast"}, + {"value": "ipv4-multicast"}, + {"value": "ipv6-multicast"}, ], }, "remote_ip": { "type": "list", "elements": "dict", "children": { - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "remote_ip6": { "type": "list", "elements": "dict", "children": { - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "dstport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "multicast_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "evpn_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True} }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "dstport": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "multicast_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "evpn_id": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "learn_from_traffic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -958,6 +485,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_wccp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_wccp.py index 900df5923..f1ca85b99 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_wccp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_wccp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -224,46 +224,35 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WCCP. - fortios_system_wccp: - vdom: "{{ vdom }}" +- name: Configure WCCP. + fortinet.fortios.fortios_system_wccp: + vdom: "{{ vdom }}" state: "present" access_token: "" system_wccp: - assignment_bucket_format: "wccp-v2" - assignment_dstaddr_mask: "" - assignment_method: "HASH" - assignment_srcaddr_mask: "" - assignment_weight: "0" - authentication: "enable" - cache_engine_method: "GRE" - cache_id: "" - forward_method: "GRE" - group_address: "" - password: "" - ports: "" - ports_defined: "source" - primary_hash: "src-ip" - priority: "0" - protocol: "0" - return_method: "GRE" - router_id: "" - router_list: "" - server_list: "" - server_type: "forward" - service_id: "" - service_type: "auto" - + assignment_bucket_format: "wccp-v2" + assignment_dstaddr_mask: "" + assignment_method: "HASH" + assignment_srcaddr_mask: "" + assignment_weight: "0" + authentication: "enable" + cache_engine_method: "GRE" + cache_id: "" + forward_method: "GRE" + group_address: "" + password: "" + ports: "" + ports_defined: "source" + primary_hash: "src-ip" + priority: "0" + protocol: "0" + return_method: "GRE" + router_id: "" + router_list: "" + server_list: "" + server_type: "forward" + service_id: "" + service_type: "auto" """ RETURN = """ @@ -322,7 +311,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -350,6 +338,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_wccp_data(json): @@ -435,7 +426,6 @@ def underscore_to_hyphen(data): def system_wccp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -470,11 +460,16 @@ def system_wccp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -522,13 +517,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "wccp") if data["system_wccp"]: resp = system_wccp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_wccp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -543,1483 +537,93 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "service_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "router_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cache_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "group_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "service_id": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "router_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cache_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "group_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "router_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "ports_defined": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "source", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "destination", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "source"}, {"value": "destination"}], }, "server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "forward"}, {"value": "proxy"}], }, "ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "forward_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "GRE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "L2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "GRE"}, {"value": "L2"}, {"value": "any"}], }, "cache_engine_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "GRE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "L2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "GRE"}, {"value": "L2"}], }, "service_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "standard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "standard"}, {"value": "dynamic"}], }, "primary_hash": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dst-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "src-port", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dst-port", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "src-ip"}, + {"value": "dst-ip"}, + {"value": "src-port"}, + {"value": "dst-port"}, ], "multiple_values": True, "elements": "str", }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "assignment_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "assignment_weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "assignment_bucket_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "wccp-v2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cisco-implementation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "wccp-v2"}, {"value": "cisco-implementation"}], }, "return_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "GRE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "L2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "GRE"}, {"value": "L2"}, {"value": "any"}], }, "assignment_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "HASH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MASK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "assignment_srcaddr_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "assignment_dstaddr_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "HASH"}, {"value": "MASK"}, {"value": "any"}], }, + "assignment_srcaddr_mask": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "assignment_dstaddr_mask": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2054,6 +658,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_zone.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_zone.py index a7051c21c..f8bd26ce1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_zone.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_zone.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -146,37 +146,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure zones to group two or more interfaces. When a zone is created you can configure policies for the zone instead of individual interfaces in - the zone. - fortios_system_zone: - vdom: "{{ vdom }}" +- name: Configure zones to group two or more interfaces. When a zone is created you can configure policies for the zone instead of individual interfaces in + the zone. + fortinet.fortios.fortios_system_zone: + vdom: "{{ vdom }}" state: "present" access_token: "" system_zone: - description: "" - interface: - - - interface_name: " (source system.interface.name)" - intrazone: "allow" - name: "default_name_7" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_10" - tags: - - - name: "default_name_12 (source system.object-tagging.tags.name)" - + description: "" + interface: + - + interface_name: " (source system.interface.name)" + intrazone: "allow" + name: "default_name_7" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_10" + tags: + - + name: "default_name_12 (source system.object-tagging.tags.name)" """ RETURN = """ @@ -235,7 +224,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -263,6 +251,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_system_zone_data(json): @@ -292,7 +283,6 @@ def underscore_to_hyphen(data): def system_zone(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -326,11 +316,16 @@ def system_zone(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -378,13 +373,12 @@ def is_successful_status(resp): def fortios_system(data, fos, check_mode): - fos.do_member_operation("system", "zone") if data["system_zone"]: resp = system_zone(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("system_zone")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -399,396 +393,52 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tags": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "description": {"v_range": [["v6.2.0", ""]], "type": "string"}, "intrazone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "interface": { "type": "list", "elements": "dict", "children": { "interface_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -823,6 +473,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_adgrp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_adgrp.py index d1065efa9..d2a2ad61b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_adgrp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_adgrp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,27 +108,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FSSO groups. - fortios_user_adgrp: - vdom: "{{ vdom }}" +- name: Configure FSSO groups. + fortinet.fortios.fortios_user_adgrp: + vdom: "{{ vdom }}" state: "present" access_token: "" user_adgrp: - connector_source: "" - id: "4" - name: "default_name_5" - server_name: " (source user.fsso.name)" - + connector_source: "" + id: "4" + name: "default_name_5" + server_name: " (source user.fsso.name)" """ RETURN = """ @@ -187,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +203,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_adgrp_data(json): @@ -244,7 +235,6 @@ def underscore_to_hyphen(data): def user_adgrp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +268,16 @@ def user_adgrp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -330,13 +325,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "adgrp") if data["user_adgrp"]: resp = user_adgrp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_adgrp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -351,143 +345,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "server_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "connector_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "server_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "connector_source": {"v_range": [["v6.4.0", ""]], "type": "string"}, "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -522,6 +388,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_certificate.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_certificate.py index 7089344b3..3b0b72944 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_certificate.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_certificate.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -122,29 +122,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure certificate users. - fortios_user_certificate: - vdom: "{{ vdom }}" +- name: Configure certificate users. + fortinet.fortios.fortios_user_certificate: + vdom: "{{ vdom }}" state: "present" access_token: "" user_certificate: - common_name: "" - id: "4" - issuer: " (source vpn.certificate.ca.name)" - name: "default_name_6" - status: "enable" - type: "single-certificate" - + common_name: "" + id: "4" + issuer: " (source vpn.certificate.ca.name)" + name: "default_name_6" + status: "enable" + type: "single-certificate" """ RETURN = """ @@ -203,7 +192,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -285,7 +273,6 @@ def is_successful_status(resp): def fortios_user(data, fos): - fos.do_member_operation("user", "certificate") if data["user_certificate"]: resp = user_certificate(data, fos) @@ -305,200 +292,25 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.0.1", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "single-certificate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "trusted-issuer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "common_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - "issuer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "single-certificate"}, {"value": "trusted-issuer"}], }, + "common_name": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "issuer": {"v_range": [["v7.0.1", ""]], "type": "string"}, "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], } @@ -533,6 +345,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device.py index f4c320649..934b9d290 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -180,38 +180,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure devices. - fortios_user_device: - vdom: "{{ vdom }}" +- name: Configure devices. + fortinet.fortios.fortios_user_device: + vdom: "{{ vdom }}" state: "present" access_token: "" user_device: - alias: "" - avatar: "" - category: "none" - comment: "Comment." - mac: "" - master_device: " (source user.device.alias)" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_11" - tags: - - - name: "default_name_13 (source system.object-tagging.tags.name)" - type: "unknown" - user: "" - + alias: "" + avatar: "" + category: "none" + comment: "Comment." + mac: "" + master_device: " (source user.device.alias)" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_11" + tags: + - + name: "default_name_13 (source system.object-tagging.tags.name)" + type: "unknown" + user: "" """ RETURN = """ @@ -270,7 +259,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -298,6 +286,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_device_data(json): @@ -337,7 +328,6 @@ def underscore_to_hyphen(data): def user_device(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -371,11 +361,16 @@ def user_device(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -423,13 +418,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "device") if data["user_device"]: resp = user_device(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_device")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -445,58 +439,28 @@ versioned_schema = { "elements": "dict", "children": { "alias": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, "mac": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "user": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "master_device": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "comment": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "avatar": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "tagging": { @@ -504,22 +468,12 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, "category": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "tags": { @@ -527,167 +481,58 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "type": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - { - "value": "unknown", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "android-phone", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "android-tablet", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "blackberry-phone", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "blackberry-playbook", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "forticam", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "fortifone", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "fortinet-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "gaming-console", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "ip-phone", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "ipad", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "iphone", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "linux-pc", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "mac", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "media-streaming", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "printer", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "router-nat-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "windows-pc", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "windows-phone", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "windows-tablet", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "other-network-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "unknown", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "android-phone", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "android-tablet", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "blackberry-phone", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "blackberry-playbook", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "forticam", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "fortifone", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "fortinet-device", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "gaming-console", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "ip-phone", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "ipad", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "iphone", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "linux-pc", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "mac", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "media-streaming", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "printer", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "router-nat-device", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "windows-pc", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "windows-phone", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "windows-tablet", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "other-network-device", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, "category": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "options": [ - { - "value": "none", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "amazon-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "android-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "blackberry-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "fortinet-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "ios-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "windows-device", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "none", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "amazon-device", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "android-device", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "blackberry-device", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "fortinet-device", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "ios-device", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "windows-device", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, }, - "revisions": {"v6.2.3": True, "v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], } @@ -722,6 +567,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_access_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_access_list.py index b6fc21771..efcd7b71d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_access_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_access_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,7 +114,7 @@ options: type: str id: description: - - Entry ID. + - Entry ID. see Notes. required: true type: int name: @@ -125,30 +125,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure device access control lists. - fortios_user_device_access_list: - vdom: "{{ vdom }}" +- name: Configure device access control lists. + fortinet.fortios.fortios_user_device_access_list: + vdom: "{{ vdom }}" state: "present" access_token: "" user_device_access_list: - default_action: "accept" - device_list: - - - action: "accept" - device: " (source user.device.alias user.device-group.name user.device-category.name)" - id: "7" - name: "default_name_8" - + default_action: "accept" + device_list: + - + action: "accept" + device: " (source user.device.alias user.device-group.name user.device-category.name)" + id: "7" + name: "default_name_8" """ RETURN = """ @@ -207,7 +196,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,6 +223,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_device_access_list_data(json): @@ -264,7 +255,6 @@ def underscore_to_hyphen(data): def user_device_access_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -300,11 +290,16 @@ def user_device_access_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -354,13 +349,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "device-access-list") if data["user_device_access_list"]: resp = user_device_access_list(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_device_access_list")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -376,64 +370,35 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, "default_action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "deny", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "device_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, - "device": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "device": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, "action": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -470,6 +435,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_category.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_category.py index 6a7a2cad8..2feb3a050 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_category.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_category.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure device categories. - fortios_user_device_category: - vdom: "{{ vdom }}" +- name: Configure device categories. + fortinet.fortios.fortios_user_device_category: + vdom: "{{ vdom }}" state: "present" access_token: "" user_device_category: - comment: "Comment." - desc: "" - name: "default_name_5" - + comment: "Comment." + desc: "" + name: "default_name_5" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -210,6 +198,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_device_category_data(json): @@ -239,7 +230,6 @@ def underscore_to_hyphen(data): def user_device_category(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -275,11 +265,16 @@ def user_device_category(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -329,13 +324,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "device-category") if data["user_device_category"]: resp = user_device_category(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_device_category")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -351,20 +345,14 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, }, - "desc": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "comment": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, + "desc": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], } @@ -399,6 +387,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_group.py index 12b8566ca..30500817d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_device_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -137,35 +137,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure device groups. - fortios_user_device_group: - vdom: "{{ vdom }}" +- name: Configure device groups. + fortinet.fortios.fortios_user_device_group: + vdom: "{{ vdom }}" state: "present" access_token: "" user_device_group: - comment: "Comment." - member: - - - name: "default_name_5 (source user.device.alias user.device-category.name)" - name: "default_name_6" - tagging: - - - category: " (source system.object-tagging.category)" - name: "default_name_9" - tags: - - - name: "default_name_11 (source system.object-tagging.tags.name)" - + comment: "Comment." + member: + - + name: "default_name_5 (source user.device.alias user.device-category.name)" + name: "default_name_6" + tagging: + - + category: " (source system.object-tagging.category)" + name: "default_name_9" + tags: + - + name: "default_name_11 (source system.object-tagging.tags.name)" """ RETURN = """ @@ -224,7 +213,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -252,6 +240,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_device_group_data(json): @@ -281,7 +272,6 @@ def underscore_to_hyphen(data): def user_device_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -317,11 +307,16 @@ def user_device_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -369,13 +364,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "device-group") if data["user_device_group"]: resp = user_device_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_device_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -391,12 +385,7 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, @@ -405,44 +394,24 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "tagging": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, }, "category": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "tags": { @@ -450,42 +419,22 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, }, - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, "comment": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": {"v6.2.3": True, "v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], } @@ -520,6 +469,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_domain_controller.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_domain_controller.py index 25e08797c..c5be70514 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_domain_controller.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_domain_controller.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -142,7 +142,7 @@ options: suboptions: id: description: - - Server ID. + - Server ID. see Notes. required: true type: int ip_address: @@ -232,55 +232,44 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure domain controller entries. - fortios_user_domain_controller: - vdom: "{{ vdom }}" +- name: Configure domain controller entries. + fortinet.fortios.fortios_user_domain_controller: + vdom: "{{ vdom }}" state: "present" access_token: "" user_domain_controller: - ad_mode: "none" - adlds_dn: "" - adlds_ip_address: "" - adlds_ip6: "" - adlds_port: "389" - change_detection: "enable" - change_detection_period: "60" - dns_srv_lookup: "enable" - domain_name: "" - extra_server: - - - id: "13" - ip_address: "" - port: "445" - source_ip_address: "" - source_port: "0" - hostname: "myhostname" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ip_address: "" - ip6: "" - ldap_server: - - - name: "default_name_24 (source user.ldap.name)" - name: "default_name_25" - password: "" - port: "445" - replication_port: "0" - source_ip_address: "" - source_ip6: "" - source_port: "0" - username: "" - + ad_mode: "none" + adlds_dn: "" + adlds_ip_address: "" + adlds_ip6: "" + adlds_port: "389" + change_detection: "enable" + change_detection_period: "60" + dns_srv_lookup: "enable" + domain_name: "" + extra_server: + - + id: "13" + ip_address: "" + port: "445" + source_ip_address: "" + source_port: "0" + hostname: "myhostname" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ip_address: "" + ip6: "" + ldap_server: + - + name: "default_name_24 (source user.ldap.name)" + name: "default_name_25" + password: "" + port: "445" + replication_port: "0" + source_ip_address: "" + source_ip6: "" + source_port: "0" + username: "" """ RETURN = """ @@ -339,7 +328,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -367,6 +355,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_domain_controller_data(json): @@ -421,7 +412,6 @@ def underscore_to_hyphen(data): def user_domain_controller(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -457,11 +447,16 @@ def user_domain_controller(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -511,13 +506,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "domain-controller") if data["user_domain_controller"]: resp = user_domain_controller(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_domain_controller")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -532,1059 +526,74 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "ad_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ds", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "lds", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "ds"}, {"value": "lds"}], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "source_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "hostname": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "username": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "ip_address": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip_address": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "source_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, + "interface": {"v_range": [["v7.0.0", ""]], "type": "string"}, "extra_server": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "source_ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "source_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "domain_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "replication_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, + "ip_address": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "source_ip_address": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "source_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, - "type": "integer", + "v_range": [["v6.2.0", ""]], }, + "domain_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "replication_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "ldap_server": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "change_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "change_detection_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "change_detection_period": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "dns_srv_lookup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "adlds_dn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "adlds_ip_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "adlds_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "adlds_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "adlds_dn": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "adlds_ip_address": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "adlds_ip6": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "adlds_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1621,6 +630,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_exchange.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_exchange.py index b19a5fd00..444f643fb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_exchange.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_exchange.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -170,6 +170,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' username: description: - User name used to sign in to the server. Must have proper permissions for service. @@ -177,38 +178,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure MS Exchange server entries. - fortios_user_exchange: - vdom: "{{ vdom }}" +- name: Configure MS Exchange server entries. + fortinet.fortios.fortios_user_exchange: + vdom: "{{ vdom }}" state: "present" access_token: "" user_exchange: - auth_level: "connect" - auth_type: "spnego" - auto_discover_kdc: "enable" - connect_protocol: "rpc-over-tcp" - domain_name: "" - http_auth_type: "basic" - ip: "" - kdc_ip: - - - ipv4: "" - name: "default_name_12" - password: "" - server_name: "" - ssl_min_proto_version: "default" - username: "" - + auth_level: "connect" + auth_type: "spnego" + auto_discover_kdc: "enable" + connect_protocol: "rpc-over-tcp" + domain_name: "" + http_auth_type: "basic" + ip: "" + kdc_ip: + - + ipv4: "" + name: "default_name_12" + password: "" + server_name: "" + ssl_min_proto_version: "default" + username: "" """ RETURN = """ @@ -267,7 +257,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -295,6 +284,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_exchange_data(json): @@ -338,7 +330,6 @@ def underscore_to_hyphen(data): def user_exchange(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -372,11 +363,16 @@ def user_exchange(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -424,13 +420,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "exchange") if data["user_exchange"]: resp = user_exchange(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_exchange")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -445,923 +440,73 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "server_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "domain_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "server_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "domain_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "username": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, "connect_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "rpc-over-tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "rpc-over-http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "rpc-over-https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "rpc-over-tcp"}, + {"value": "rpc-over-http"}, + {"value": "rpc-over-https"}, ], }, "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "spnego", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ntlm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "kerberos", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "spnego"}, {"value": "ntlm"}, {"value": "kerberos"}], }, "auth_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "call", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "packet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "integrity", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "privacy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "connect"}, + {"value": "call"}, + {"value": "packet"}, + {"value": "integrity"}, + {"value": "privacy"}, ], }, "http_auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ntlm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "basic"}, {"value": "ntlm"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, "auto_discover_kdc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "kdc_ip": { "type": "list", "elements": "dict", "children": { "ipv4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1396,6 +541,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fortitoken.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fortitoken.py index eeaca9dbb..663db1fc2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fortitoken.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fortitoken.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -131,32 +131,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiToken. - fortios_user_fortitoken: - vdom: "{{ vdom }}" +- name: Configure FortiToken. + fortinet.fortios.fortios_user_fortitoken: + vdom: "{{ vdom }}" state: "present" access_token: "" user_fortitoken: - activation_code: "" - activation_expire: "0" - comments: "" - license: "" - os_ver: "" - reg_id: "" - seed: "" - serial_number: "" - status: "active" - + activation_code: "" + activation_expire: "0" + comments: "" + license: "" + os_ver: "" + reg_id: "" + seed: "" + serial_number: "" + status: "active" """ RETURN = """ @@ -215,7 +204,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -243,6 +231,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_fortitoken_data(json): @@ -282,7 +273,6 @@ def underscore_to_hyphen(data): def user_fortitoken(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -318,11 +308,16 @@ def user_fortitoken(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -372,13 +367,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "fortitoken") if data["user_fortitoken"]: resp = user_fortitoken(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_fortitoken")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -394,354 +388,32 @@ versioned_schema = { "elements": "dict", "children": { "serial_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "active", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "lock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "active"}, {"value": "lock"}], }, "seed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "license": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "activation_code": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "activation_expire": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "reg_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "os_ver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [ + ["v6.0.0", "v6.0.11"], + ["v6.2.3", "v6.2.3"], + ["v7.0.12", "v7.0.12"], + ["v7.2.1", ""], + ], "type": "string", }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "license": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "activation_code": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "activation_expire": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "reg_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "os_ver": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -777,6 +449,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso.py index 0d16ca4d2..34dfe8ba8 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -238,55 +238,44 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Fortinet Single Sign On (FSSO) agents. - fortios_user_fsso: - vdom: "{{ vdom }}" +- name: Configure Fortinet Single Sign On (FSSO) agents. + fortinet.fortios.fortios_user_fsso: + vdom: "{{ vdom }}" state: "present" access_token: "" user_fsso: - group_poll_interval: "0" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ldap_poll: "enable" - ldap_poll_filter: "" - ldap_poll_interval: "180" - ldap_server: " (source user.ldap.name)" - logon_timeout: "5" - name: "default_name_11" - password: "" - password2: "" - password3: "" - password4: "" - password5: "" - port: "8000" - port2: "8000" - port3: "8000" - port4: "8000" - port5: "8000" - server: "192.168.100.40" - server2: "" - server3: "" - server4: "" - server5: "" - sni: "" - source_ip: "84.230.14.43" - source_ip6: "" - ssl: "enable" - ssl_server_host_ip_check: "enable" - ssl_trusted_cert: " (source vpn.certificate.remote.name vpn.certificate.ca.name)" - type: "default" - user_info_server: " (source user.ldap.name)" - + group_poll_interval: "0" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ldap_poll: "enable" + ldap_poll_filter: "" + ldap_poll_interval: "180" + ldap_server: " (source user.ldap.name)" + logon_timeout: "5" + name: "default_name_11" + password: "" + password2: "" + password3: "" + password4: "" + password5: "" + port: "8000" + port2: "8000" + port3: "8000" + port4: "8000" + port5: "8000" + server: "192.168.100.40" + server2: "" + server3: "" + server4: "" + server5: "" + sni: "" + source_ip: "84.230.14.43" + source_ip6: "" + ssl: "enable" + ssl_server_host_ip_check: "enable" + ssl_trusted_cert: " (source vpn.certificate.remote.name vpn.certificate.ca.name)" + type: "default" + user_info_server: " (source user.ldap.name)" """ RETURN = """ @@ -345,7 +334,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -373,6 +361,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_fsso_data(json): @@ -435,7 +426,6 @@ def underscore_to_hyphen(data): def user_fsso(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -469,11 +459,16 @@ def user_fsso(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -521,13 +516,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "fsso") if data["user_fsso"]: resp = user_fsso(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_fsso")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -542,1252 +536,68 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fortinac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fortiems", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fortiems-cloud", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "fortinac"}, + {"value": "fortiems", "v_range": [["v6.2.0", "v6.2.7"]]}, + {"value": "fortiems-cloud", "v_range": [["v6.2.0", "v6.2.7"]]}, ], }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "password2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "password3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "password4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server5": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port5": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "password5": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "logon_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "ldap_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "group_poll_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port2": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "password2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port3": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "password3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server4": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port4": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "password4": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server5": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port5": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "password5": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "logon_timeout": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "ldap_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "group_poll_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "ldap_poll": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ldap_poll_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "ldap_poll_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "user_info_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ldap_poll_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "ldap_poll_filter": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "user_info_server": {"v_range": [["v6.2.0", ""]], "type": "string"}, "ssl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "sni": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "sni": {"v_range": [["v7.2.0", ""]], "type": "string"}, "ssl_server_host_ip_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "ssl_trusted_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssl_trusted_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1822,6 +632,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso_polling.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso_polling.py index 70ff3926b..ea0e1d3b3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso_polling.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_fsso_polling.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -105,7 +107,7 @@ options: type: str id: description: - - Active Directory server ID. + - Active Directory server ID. see Notes. required: true type: int ldap_server: @@ -160,38 +162,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FSSO active directory servers for polling mode. - fortios_user_fsso_polling: - vdom: "{{ vdom }}" +- name: Configure FSSO active directory servers for polling mode. + fortinet.fortios.fortios_user_fsso_polling: + vdom: "{{ vdom }}" state: "present" access_token: "" user_fsso_polling: - adgrp: - - - name: "default_name_4" - default_domain: "" - id: "6" - ldap_server: " (source user.ldap.name)" - logon_history: "8" - password: "" - polling_frequency: "10" - port: "0" - server: "192.168.100.40" - smb_ntlmv1_auth: "enable" - smbv1: "enable" - status: "enable" - user: "" - + adgrp: + - + name: "default_name_4" + default_domain: "" + id: "6" + ldap_server: " (source user.ldap.name)" + logon_history: "8" + password: "" + polling_frequency: "10" + port: "0" + server: "192.168.100.40" + smb_ntlmv1_auth: "enable" + smbv1: "enable" + status: "enable" + user: "" """ RETURN = """ @@ -250,7 +241,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -278,6 +268,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_fsso_polling_data(json): @@ -321,7 +314,6 @@ def underscore_to_hyphen(data): def user_fsso_polling(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -357,11 +349,16 @@ def user_fsso_polling(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -409,13 +406,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "fsso-polling") if data["user_fsso_polling"]: resp = user_fsso_polling(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_fsso_polling")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -430,612 +426,44 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "default_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "logon_history": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "polling_frequency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "default_domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "user": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "logon_history": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "polling_frequency": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "adgrp": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "smbv1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "smb_ntlmv1_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1070,6 +498,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_group.py index 3c47e0340..6d57d22e6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -162,7 +162,7 @@ options: type: str id: description: - - Guest ID. + - Guest ID. see Notes. required: true type: int mobile_phone: @@ -205,7 +205,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int server_name: @@ -296,65 +296,54 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure user groups. - fortios_user_group: - vdom: "{{ vdom }}" +- name: Configure user groups. + fortinet.fortios.fortios_user_group: + vdom: "{{ vdom }}" state: "present" access_token: "" user_group: - auth_concurrent_override: "enable" - auth_concurrent_value: "0" - authtimeout: "0" - company: "optional" - email: "disable" - expire: "14400" - expire_type: "immediately" - group_type: "firewall" - guest: - - - comment: "Comment." - company: "" - email: "" - expiration: "" - id: "16" - mobile_phone: "" - name: "default_name_18" - password: "" - sponsor: "" - user_id: "" - http_digest_realm: "" - id: "23" - match: - - - group_name: "" - id: "26" - server_name: " (source user.radius.name user.ldap.name user.tacacs+.name user.saml.name)" - max_accounts: "0" - member: - - - name: "default_name_30 (source user.peer.name user.local.name user.radius.name user.tacacs+.name user.ldap.name user.saml.name user.adgrp.name - user.pop3.name user.certificate.name)" - mobile_phone: "disable" - multiple_guest_add: "disable" - name: "default_name_33" - password: "auto-generate" - sms_custom_server: " (source system.sms-server.name)" - sms_server: "fortiguard" - sponsor: "optional" - sso_attribute_value: "" - user_id: "email" - user_name: "disable" - + auth_concurrent_override: "enable" + auth_concurrent_value: "0" + authtimeout: "0" + company: "optional" + email: "disable" + expire: "14400" + expire_type: "immediately" + group_type: "firewall" + guest: + - + comment: "Comment." + company: "" + email: "" + expiration: "" + id: "16" + mobile_phone: "" + name: "default_name_18" + password: "" + sponsor: "" + user_id: "" + http_digest_realm: "" + id: "23" + match: + - + group_name: "" + id: "26" + server_name: " (source user.radius.name user.ldap.name user.tacacs+.name user.saml.name)" + max_accounts: "0" + member: + - + name: "default_name_30 (source user.peer.name user.local.name user.radius.name user.tacacs+.name user.ldap.name user.saml.name user.adgrp + .name user.pop3.name user.certificate.name)" + mobile_phone: "disable" + multiple_guest_add: "disable" + name: "default_name_33" + password: "auto-generate" + sms_custom_server: " (source system.sms-server.name)" + sms_server: "fortiguard" + sponsor: "optional" + sso_attribute_value: "" + user_id: "email" + user_name: "disable" """ RETURN = """ @@ -413,7 +402,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -441,6 +429,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_group_data(json): @@ -495,7 +486,6 @@ def underscore_to_hyphen(data): def user_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -529,11 +519,16 @@ def user_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -581,13 +576,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "group") if data["user_group"]: resp = user_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -602,2035 +596,148 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "group_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "firewall", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fsso-service", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rsso", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "guest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "firewall"}, + {"value": "fsso-service"}, + {"value": "rsso"}, + {"value": "guest"}, ], }, - "authtimeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "authtimeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auth_concurrent_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_concurrent_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "http_digest_realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sso_attribute_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "auth_concurrent_value": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "http_digest_realm": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sso_attribute_value": {"v_range": [["v6.0.0", ""]], "type": "string"}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "match": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "server_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "group_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "server_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "group_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "user_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto-generate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "email"}, + {"value": "auto-generate"}, + {"value": "specify"}, ], }, "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "auto-generate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto-generate"}, + {"value": "specify"}, + {"value": "disable"}, ], }, "user_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sponsor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mandatory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "optional"}, + {"value": "mandatory"}, + {"value": "disabled"}, ], }, "company": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mandatory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "optional"}, + {"value": "mandatory"}, + {"value": "disabled"}, ], }, "email": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "mobile_phone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sms_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "fortiguard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sms_custom_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "fortiguard"}, {"value": "custom"}], }, + "sms_custom_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "expire_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "immediately", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "first-successful-login", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "expire": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_accounts": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "immediately"}, {"value": "first-successful-login"}], }, + "expire": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_accounts": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "multiple_guest_add": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "guest": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "user_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mobile_phone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sponsor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "company": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "email": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "expiration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "user_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mobile_phone": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sponsor": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "company": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "email": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "expiration": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2665,6 +772,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_krb_keytab.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_krb_keytab.py index 64b45d53a..0f9a66445 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_krb_keytab.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_krb_keytab.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -126,31 +126,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Kerberos keytab entries. - fortios_user_krb_keytab: - vdom: "{{ vdom }}" +- name: Configure Kerberos keytab entries. + fortinet.fortios.fortios_user_krb_keytab: + vdom: "{{ vdom }}" state: "present" access_token: "" user_krb_keytab: - keytab: "" - ldap_server: - - - name: "default_name_5 (source user.ldap.name)" - name: "default_name_6" - pac_data: "enable" - password: "" - principal: "" - + keytab: "" + ldap_server: + - + name: "default_name_5 (source user.ldap.name)" + name: "default_name_6" + pac_data: "enable" + password: "" + principal: "" """ RETURN = """ @@ -209,7 +198,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -237,6 +225,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_krb_keytab_data(json): @@ -266,7 +257,6 @@ def underscore_to_hyphen(data): def user_krb_keytab(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -302,11 +292,16 @@ def user_krb_keytab(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -354,13 +349,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "krb-keytab") if data["user_krb_keytab"]: resp = user_krb_keytab(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_krb_keytab")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -375,276 +369,29 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "pac_data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "principal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "principal": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ldap_server": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, - "keytab": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "keytab": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -680,6 +427,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_ldap.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_ldap.py index 291c224bf..bfbf68094 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_ldap.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_ldap.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -88,13 +88,21 @@ options: default: null type: dict suboptions: + account_key_cert_field: + description: + - Define subject identity field in certificate for user access right checking. + type: str + choices: + - 'othername' + - 'rfc822name' + - 'dnsname' account_key_filter: description: - Account key filter, using the UPN as the search filter. type: str account_key_processing: description: - - Account key processing operation, either keep or strip domain string of UPN in the token. + - Account key processing operation. The FortiGate will keep either the whole domain or strip the domain from the subject identity. type: str choices: - 'same' @@ -259,6 +267,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' tertiary_server: description: - Tertiary LDAP server CN domain name or IP. @@ -308,62 +317,52 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure LDAP server entries. - fortios_user_ldap: - vdom: "{{ vdom }}" +- name: Configure LDAP server entries. + fortinet.fortios.fortios_user_ldap: + vdom: "{{ vdom }}" state: "present" access_token: "" user_ldap: - account_key_filter: "" - account_key_processing: "same" - account_key_upn_san: "othername" - antiphish: "enable" - ca_cert: " (source vpn.certificate.ca.name)" - client_cert: " (source vpn.certificate.local.name)" - client_cert_auth: "enable" - cnid: "" - dn: "" - group_filter: "" - group_member_check: "user-attr" - group_object_filter: "" - group_search_base: "" - interface: " (source system.interface.name)" - interface_select_method: "auto" - member_attr: "" - name: "default_name_19" - obtain_user_info: "enable" - password: "" - password_attr: "" - password_expiry_warning: "enable" - password_renewal: "enable" - port: "389" - search_type: "recursive" - secondary_server: "" - secure: "disable" - server: "192.168.100.40" - server_identity_check: "enable" - source_ip: "84.230.14.43" - source_port: "0" - ssl_min_proto_version: "default" - tertiary_server: "" - two_factor: "disable" - two_factor_authentication: "fortitoken" - two_factor_filter: "" - two_factor_notification: "email" - type: "simple" - user_info_exchange_server: " (source user.exchange.name)" - username: "" - + account_key_cert_field: "othername" + account_key_filter: "" + account_key_processing: "same" + account_key_upn_san: "othername" + antiphish: "enable" + ca_cert: " (source vpn.certificate.ca.name)" + client_cert: " (source vpn.certificate.local.name)" + client_cert_auth: "enable" + cnid: "" + dn: "" + group_filter: "" + group_member_check: "user-attr" + group_object_filter: "" + group_search_base: "" + interface: " (source system.interface.name)" + interface_select_method: "auto" + member_attr: "" + name: "default_name_20" + obtain_user_info: "enable" + password: "" + password_attr: "" + password_expiry_warning: "enable" + password_renewal: "enable" + port: "389" + search_type: "recursive" + secondary_server: "" + secure: "disable" + server: "192.168.100.40" + server_identity_check: "enable" + source_ip: "84.230.14.43" + source_port: "0" + ssl_min_proto_version: "default" + tertiary_server: "" + two_factor: "disable" + two_factor_authentication: "fortitoken" + two_factor_filter: "" + two_factor_notification: "email" + type: "simple" + user_info_exchange_server: " (source user.exchange.name)" + username: "" """ RETURN = """ @@ -422,7 +421,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -450,10 +448,14 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_ldap_data(json): option_list = [ + "account_key_cert_field", "account_key_filter", "account_key_processing", "account_key_upn_san", @@ -548,7 +550,6 @@ def underscore_to_hyphen(data): def user_ldap(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -583,11 +584,16 @@ def user_ldap(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -635,13 +641,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "ldap") if data["user_ldap"]: resp = user_ldap(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_ldap")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -656,2230 +661,152 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tertiary_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tertiary_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_identity_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "source_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "cnid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "source_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "cnid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dn": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "simple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "anonymous", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "simple"}, + {"value": "anonymous"}, + {"value": "regular"}, ], }, "two_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "fortitoken-cloud", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "fortitoken-cloud"}], }, "two_factor_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "fortitoken", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "fortitoken"}, {"value": "email"}, {"value": "sms"}], }, "two_factor_notification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "two_factor_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "email"}, {"value": "sms"}], }, + "two_factor_filter": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "group_member_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "user-attr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "group-object", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "posix-group-object", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "user-attr"}, + {"value": "group-object"}, + {"value": "posix-group-object"}, ], }, - "group_search_base": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "group_object_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "group_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "group_search_base": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "group_object_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "group_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, "secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "starttls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ldaps", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "starttls"}, + {"value": "ldaps"}, ], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ca_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "password_expiry_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "password_renewal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "member_attr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "member_attr": {"v_range": [["v6.0.0", ""]], "type": "string"}, "account_key_processing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "same", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "strip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "same"}, {"value": "strip"}], }, - "account_key_upn_san": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "account_key_cert_field": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - {"value": "othername", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "rfc822name", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "dnsname", "revisions": {"v7.4.0": True, "v7.2.4": True}}, + {"value": "othername"}, + {"value": "rfc822name"}, + {"value": "dnsname"}, ], }, - "account_key_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "account_key_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, "search_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "list", - "options": [ - { - "value": "recursive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - } - ], + "options": [{"value": "recursive"}], "multiple_values": True, "elements": "str", }, "client_cert_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "client_cert": {"v_range": [["v7.2.0", ""]], "type": "string"}, "obtain_user_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "user_info_exchange_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "user_info_exchange_server": {"v_range": [["v6.2.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "antiphish": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "password_attr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "password_attr": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "account_key_upn_san": { + "v_range": [["v7.2.4", "v7.4.0"]], "type": "string", + "options": [ + {"value": "othername"}, + {"value": "rfc822name"}, + {"value": "dnsname"}, + ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2914,6 +841,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_local.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_local.py index 844542f0b..31bea9b2a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_local.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_local.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -230,49 +230,38 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure local users. - fortios_user_local: - vdom: "{{ vdom }}" +- name: Configure local users. + fortinet.fortios.fortios_user_local: + vdom: "{{ vdom }}" state: "present" access_token: "" user_local: - auth_concurrent_override: "enable" - auth_concurrent_value: "0" - authtimeout: "0" - email_to: "" - fortitoken: " (source user.fortitoken.serial-number)" - id: "8" - ldap_server: " (source user.ldap.name)" - name: "default_name_10" - passwd: "" - passwd_policy: " (source user.password-policy.name)" - passwd_time: "" - ppk_identity: "" - ppk_secret: "" - radius_server: " (source user.radius.name)" - sms_custom_server: " (source system.sms-server.name)" - sms_phone: "" - sms_server: "fortiguard" - status: "enable" - tacacs_plus_server: " (source user.tacacs+.name)" - two_factor: "disable" - two_factor_authentication: "fortitoken" - two_factor_notification: "email" - type: "password" - username_case_sensitivity: "disable" - username_sensitivity: "disable" - workstation: "" - + auth_concurrent_override: "enable" + auth_concurrent_value: "0" + authtimeout: "0" + email_to: "" + fortitoken: " (source user.fortitoken.serial-number)" + id: "8" + ldap_server: " (source user.ldap.name)" + name: "default_name_10" + passwd: "" + passwd_policy: " (source user.password-policy.name)" + passwd_time: "" + ppk_identity: "" + ppk_secret: "" + radius_server: " (source user.radius.name)" + sms_custom_server: " (source system.sms-server.name)" + sms_phone: "" + sms_server: "fortiguard" + status: "enable" + tacacs_plus_server: " (source user.tacacs+.name)" + two_factor: "disable" + two_factor_authentication: "fortitoken" + two_factor_notification: "email" + type: "password" + username_case_sensitivity: "disable" + username_sensitivity: "disable" + workstation: "" """ RETURN = """ @@ -331,7 +320,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -359,6 +347,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_local_data(json): @@ -438,7 +429,6 @@ def valid_attr_to_invalid_attrs(data): def user_local(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -473,11 +463,16 @@ def user_local(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -525,13 +520,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "local") if data["user_local"]: resp = user_local(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_local")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -546,1410 +540,88 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "radius", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tacacs+", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ldap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "password"}, + {"value": "radius"}, + {"value": "tacacs+"}, + {"value": "ldap"}, ], }, - "passwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "radius_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "passwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "radius_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "two_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortitoken", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortitoken-cloud", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "fortitoken"}, + {"value": "fortitoken-cloud", "v_range": [["v6.2.0", ""]]}, + {"value": "email"}, + {"value": "sms"}, ], }, "two_factor_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "fortitoken", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "fortitoken"}, {"value": "email"}, {"value": "sms"}], }, "two_factor_notification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "fortitoken": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "email_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "email"}, {"value": "sms"}], }, + "fortitoken": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "email_to": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sms_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "fortiguard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sms_custom_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sms_phone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "passwd_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "passwd_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "authtimeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "workstation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "fortiguard"}, {"value": "custom"}], }, + "sms_custom_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sms_phone": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "passwd_policy": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "passwd_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "authtimeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "workstation": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_concurrent_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_concurrent_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ppk_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ppk_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "auth_concurrent_value": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ppk_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ppk_identity": {"v_range": [["v6.0.0", ""]], "type": "string"}, "username_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "username_case_sensitivity": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [ + ["v6.0.0", "v6.0.0"], + ["v6.0.11", "v6.2.0"], + ["v6.2.5", "v7.0.0"], ], - }, - "tacacs_plus_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "tacacs_plus_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1984,6 +656,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_nac_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_nac_policy.py index 73995c0fd..71476ba49 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_nac_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_nac_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -146,7 +146,7 @@ options: suboptions: severity_num: description: - - Enter multiple severity levels, where 0 = Info, 1 = Low, ..., 4 = Critical + - Enter multiple severity levels, where 0 = Info, 1 = Low, ..., 4 = Critical see Notes. required: true type: int src: @@ -225,54 +225,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure NAC policy matching pattern to identify matching NAC devices. - fortios_user_nac_policy: - vdom: "{{ vdom }}" +- name: Configure NAC policy matching pattern to identify matching NAC devices. + fortinet.fortios.fortios_user_nac_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" user_nac_policy: - category: "device" - description: "" - ems_tag: " (source firewall.address.name)" - family: "" - firewall_address: " (source firewall.address.name)" - host: "myhostname" - hw_vendor: "" - hw_version: "" - mac: "" - name: "default_name_12" - os: "" - severity: - - - severity_num: "0" - src: "" - ssid_policy: " (source wireless-controller.ssid-policy.name)" - status: "enable" - sw_version: "" - switch_auto_auth: "global" - switch_fortilink: " (source system.interface.name)" - switch_group: - - - name: "default_name_23 (source switch-controller.switch-group.name)" - switch_mac_policy: " (source switch-controller.mac-policy.name)" - switch_port_policy: " (source switch-controller.port-policy.name)" - switch_scope: - - - switch_id: " (source switch-controller.managed-switch.switch-id)" - type: "" - user: "" - user_group: " (source user.group.name)" - + category: "device" + description: "" + ems_tag: " (source firewall.address.name)" + family: "" + firewall_address: " (source firewall.address.name)" + host: "myhostname" + hw_vendor: "" + hw_version: "" + mac: "" + name: "default_name_12" + os: "" + severity: + - + severity_num: "" + src: "" + ssid_policy: " (source wireless-controller.ssid-policy.name)" + status: "enable" + sw_version: "" + switch_auto_auth: "global" + switch_fortilink: " (source system.interface.name)" + switch_group: + - + name: "default_name_23 (source switch-controller.switch-group.name)" + switch_mac_policy: " (source switch-controller.mac-policy.name)" + switch_port_policy: " (source switch-controller.port-policy.name)" + switch_scope: + - + switch_id: " (source switch-controller.managed-switch.switch-id)" + type: "" + user: "" + user_group: " (source user.group.name)" """ RETURN = """ @@ -331,7 +320,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -359,6 +347,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_nac_policy_data(json): @@ -414,7 +405,6 @@ def underscore_to_hyphen(data): def user_nac_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -450,11 +440,16 @@ def user_nac_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -502,13 +497,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "nac-policy") if data["user_nac_policy"]: resp = user_nac_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_nac_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -523,493 +517,36 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.4.0", ""]], "type": "string"}, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "device", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "firewall-user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ems-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, - }, - { - "value": "vulnerability", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, + {"value": "device"}, + {"value": "firewall-user"}, + {"value": "ems-tag", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "vulnerability", "v_range": [["v7.4.0", ""]]}, ], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "hw_vendor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "family": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "os": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "hw_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "sw_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "src": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "user_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mac": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "hw_vendor": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "type": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "family": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "os": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "hw_version": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "sw_version": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "host": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "user": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "src": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "user_group": {"v_range": [["v6.4.0", ""]], "type": "string"}, "ems_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "severity": { @@ -1017,228 +554,49 @@ versioned_schema = { "elements": "dict", "children": { "severity_num": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - "switch_fortilink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", + "v_range": [["v7.4.0", ""]], }, + "switch_fortilink": {"v_range": [["v6.4.0", ""]], "type": "string"}, "switch_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - }, - "switch_mac_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "firewall_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - }, - "ssid_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", + "v_range": [["v7.0.2", ""]], }, + "switch_mac_policy": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "firewall_address": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "ssid_policy": {"v_range": [["v7.0.0", ""]], "type": "string"}, "switch_scope": { "type": "list", "elements": "dict", "children": { "switch_id": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.1"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.0.1"]], }, "switch_auto_auth": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - "type": "string", - "options": [ - { - "value": "global", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - { - "value": "enable", - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, - }, - ], - }, - "switch_port_policy": { - "revisions": {"v6.4.4": True, "v6.4.1": True, "v6.4.0": True}, + "v_range": [["v6.4.0", "v6.4.4"]], "type": "string", + "options": [{"value": "global"}, {"value": "disable"}, {"value": "enable"}], }, + "switch_port_policy": {"v_range": [["v6.4.0", "v6.4.4"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -1273,6 +631,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_password_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_password_policy.py index dd5cef832..f82a0cea2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_password_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_password_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -92,6 +92,13 @@ options: description: - Time in days before the user"s password expires. type: int + expire_status: + description: + - Enable/disable password expiration. + type: str + choices: + - 'enable' + - 'disable' expired_password_renewal: description: - Enable/disable renewal of a password that already is expired. @@ -99,11 +106,42 @@ options: choices: - 'enable' - 'disable' + min_change_characters: + description: + - Minimum number of unique characters in new password which do not exist in old password (0 - 128). + type: int + min_lower_case_letter: + description: + - Minimum number of lowercase characters in password (0 - 128). + type: int + min_non_alphanumeric: + description: + - Minimum number of non-alphanumeric characters in password (0 - 128). + type: int + min_number: + description: + - Minimum number of numeric characters in password (0 - 128). + type: int + min_upper_case_letter: + description: + - Minimum number of uppercase characters in password (0 - 128). + type: int + minimum_length: + description: + - Minimum password length (8 - 128). + type: int name: description: - Password policy name. required: true type: str + reuse_password: + description: + - Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. + type: str + choices: + - 'enable' + - 'disable' warn_days: description: - Time in days before a password expiration warning message is displayed to the user upon login. @@ -111,27 +149,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure user password policy. - fortios_user_password_policy: - vdom: "{{ vdom }}" +- name: Configure user password policy. + fortinet.fortios.fortios_user_password_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" user_password_policy: - expire_days: "180" - expired_password_renewal: "enable" - name: "default_name_5" - warn_days: "15" - + expire_days: "180" + expire_status: "enable" + expired_password_renewal: "enable" + min_change_characters: "0" + min_lower_case_letter: "0" + min_non_alphanumeric: "0" + min_number: "0" + min_upper_case_letter: "0" + minimum_length: "8" + name: "default_name_12" + reuse_password: "enable" + warn_days: "15" """ RETURN = """ @@ -190,7 +225,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -218,10 +252,26 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_password_policy_data(json): - option_list = ["expire_days", "expired_password_renewal", "name", "warn_days"] + option_list = [ + "expire_days", + "expire_status", + "expired_password_renewal", + "min_change_characters", + "min_lower_case_letter", + "min_non_alphanumeric", + "min_number", + "min_upper_case_letter", + "minimum_length", + "name", + "reuse_password", + "warn_days", + ] json = remove_invalid_fields(json) dictionary = {} @@ -247,7 +297,6 @@ def underscore_to_hyphen(data): def user_password_policy(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -283,11 +332,16 @@ def user_password_policy(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -337,13 +391,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "password-policy") if data["user_password_policy"]: resp = user_password_policy(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_password_policy")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -358,204 +411,32 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "expire_days": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "warn_days": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "expired_password_renewal": { + "v_range": [["v6.2.0", ""]], "type": "string", - "required": True, - }, - "expire_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "warn_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "minimum_length": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "min_lower_case_letter": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "min_upper_case_letter": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "min_non_alphanumeric": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "min_number": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "min_change_characters": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "expire_status": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "expired_password_renewal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "reuse_password": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -591,6 +472,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peer.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peer.py index 4e78d2b7c..4ad2e1c6f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peer.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peer.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,6 +133,27 @@ options: choices: - 'enable' - 'disable' + mfa_mode: + description: + - MFA mode for remote peer authentication/authorization. + type: str + choices: + - 'none' + - 'password' + - 'subject-identity' + mfa_password: + description: + - Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate + will use the RADIUS username as a password. + type: str + mfa_server: + description: + - Name of a remote authenticator. Performs client access right check. Source user.ldap.name user.radius.name. + type: str + mfa_username: + description: + - Unified username for remote authentication. + type: str name: description: - Peer name. @@ -160,36 +181,29 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure peer users. - fortios_user_peer: - vdom: "{{ vdom }}" +- name: Configure peer users. + fortinet.fortios.fortios_user_peer: + vdom: "{{ vdom }}" state: "present" access_token: "" user_peer: - ca: " (source vpn.certificate.ca.name)" - cn: "" - cn_type: "string" - ldap_mode: "password" - ldap_password: "" - ldap_server: " (source user.ldap.name)" - ldap_username: "" - mandatory_ca_verify: "enable" - name: "default_name_11" - ocsp_override_server: " (source vpn.certificate.ocsp-server.name)" - passwd: "" - subject: "" - two_factor: "enable" - + ca: " (source vpn.certificate.ca.name)" + cn: "" + cn_type: "string" + ldap_mode: "password" + ldap_password: "" + ldap_server: " (source user.ldap.name)" + ldap_username: "" + mandatory_ca_verify: "enable" + mfa_mode: "none" + mfa_password: "" + mfa_server: " (source user.ldap.name user.radius.name)" + mfa_username: "" + name: "default_name_15" + ocsp_override_server: " (source vpn.certificate.ocsp-server.name)" + passwd: "" + subject: "" + two_factor: "enable" """ RETURN = """ @@ -248,7 +262,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -276,6 +289,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_peer_data(json): @@ -288,6 +304,10 @@ def filter_user_peer_data(json): "ldap_server", "ldap_username", "mandatory_ca_verify", + "mfa_mode", + "mfa_password", + "mfa_server", + "mfa_username", "name", "ocsp_override_server", "passwd", @@ -319,7 +339,6 @@ def underscore_to_hyphen(data): def user_peer(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -353,11 +372,16 @@ def user_peer(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -405,13 +429,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "peer") if data["user_peer"]: resp = user_peer(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_peer")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -426,738 +449,55 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "mandatory_ca_verify": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ca": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "subject": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ca": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "subject": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cn": {"v_range": [["v6.0.0", ""]], "type": "string"}, "cn_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FQDN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "string"}, + {"value": "email"}, + {"value": "FQDN"}, + {"value": "ipv4"}, + {"value": "ipv6"}, ], }, - "ldap_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "mfa_mode": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "principal-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "password"}, + {"value": "subject-identity"}, ], }, - "ocsp_override_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "mfa_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "mfa_username": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "mfa_password": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "ocsp_override_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "two_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "passwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "passwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_server": {"v_range": [["v6.0.0", "v7.4.0"]], "type": "string"}, + "ldap_username": {"v_range": [["v6.0.0", "v7.4.0"]], "type": "string"}, + "ldap_password": {"v_range": [["v6.0.0", "v7.4.0"]], "type": "string"}, + "ldap_mode": { + "v_range": [["v6.0.0", "v7.4.0"]], "type": "string", + "options": [{"value": "password"}, {"value": "principal-name"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1179,6 +519,7 @@ def main(): "required": False, "type": "dict", "default": None, + "no_log": True, "options": {}, }, } @@ -1192,6 +533,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peergrp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peergrp.py index e18c6b4a7..86cdb6669 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peergrp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_peergrp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,27 +107,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure peer groups. - fortios_user_peergrp: - vdom: "{{ vdom }}" +- name: Configure peer groups. + fortinet.fortios.fortios_user_peergrp: + vdom: "{{ vdom }}" state: "present" access_token: "" user_peergrp: - member: - - - name: "default_name_4 (source user.peer.name)" - name: "default_name_5" - + member: + - + name: "default_name_4 (source user.peer.name)" + name: "default_name_5" """ RETURN = """ @@ -186,7 +175,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -214,6 +202,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_peergrp_data(json): @@ -243,7 +234,6 @@ def underscore_to_hyphen(data): def user_peergrp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -277,11 +267,16 @@ def user_peergrp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -329,13 +324,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "peergrp") if data["user_peergrp"]: resp = user_peergrp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_peergrp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -350,125 +344,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -503,6 +393,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_pop3.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_pop3.py index 571a90a5b..13c13cc9e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_pop3.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_pop3.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,31 +119,21 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: POP3 server entry configuration. - fortios_user_pop3: - vdom: "{{ vdom }}" +- name: POP3 server entry configuration. + fortinet.fortios.fortios_user_pop3: + vdom: "{{ vdom }}" state: "present" access_token: "" user_pop3: - name: "default_name_3" - port: "0" - secure: "none" - server: "192.168.100.40" - ssl_min_proto_version: "default" - + name: "default_name_3" + port: "0" + secure: "none" + server: "192.168.100.40" + ssl_min_proto_version: "default" """ RETURN = """ @@ -202,7 +192,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -230,6 +219,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_pop3_data(json): @@ -259,7 +251,6 @@ def underscore_to_hyphen(data): def user_pop3(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -293,11 +284,16 @@ def user_pop3(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -345,13 +341,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "pop3") if data["user_pop3"]: resp = user_pop3(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_pop3")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -366,415 +361,28 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "secure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "starttls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pop3s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "none"}, {"value": "starttls"}, {"value": "pop3s"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -809,6 +417,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_quarantine.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_quarantine.py index c7d3738de..9c5fdf114 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_quarantine.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_quarantine.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -143,35 +143,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure quarantine support. - fortios_user_quarantine: - vdom: "{{ vdom }}" +- name: Configure quarantine support. + fortinet.fortios.fortios_user_quarantine: + vdom: "{{ vdom }}" user_quarantine: - firewall_groups: " (source firewall.addrgrp.name)" - quarantine: "enable" - targets: - - - description: "" - entry: "" - macs: - - - description: "" - drop: "disable" - entry_id: "2147483647" - mac: "" - parent: "" - traffic_policy: " (source switch-controller.traffic-policy.name)" - + firewall_groups: " (source firewall.addrgrp.name)" + quarantine: "enable" + targets: + - + description: "" + entry: "" + macs: + - + description: "" + drop: "disable" + entry_id: "2147483647" + mac: "" + parent: "" + traffic_policy: " (source switch-controller.traffic-policy.name)" """ RETURN = """ @@ -230,7 +219,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -303,7 +291,6 @@ def is_successful_status(resp): def fortios_user(data, fos): - fos.do_member_operation("user", "quarantine") if data["user_quarantine"]: resp = user_quarantine(data, fos) @@ -320,469 +307,54 @@ def fortios_user(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "traffic_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "firewall_groups": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "traffic_policy": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "firewall_groups": {"v_range": [["v6.4.0", ""]], "type": "string"}, "targets": { "type": "list", "elements": "dict", "children": { "entry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "macs": { "type": "list", "elements": "dict", "children": { "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "drop": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "parent": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "entry_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -818,6 +390,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_radius.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_radius.py index 314acd059..3a71e1236 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_radius.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_radius.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -88,6 +88,21 @@ options: default: null type: dict suboptions: + account_key_cert_field: + description: + - Define subject identity field in certificate for user access right checking. + type: str + choices: + - 'othername' + - 'rfc822name' + - 'dnsname' + account_key_processing: + description: + - Account key processing operation. The FortiGate will keep either the whole domain or strip the domain from the subject identity. + type: str + choices: + - 'same' + - 'strip' accounting_server: description: - Additional accounting servers. @@ -96,7 +111,7 @@ options: suboptions: id: description: - - ID (0 - 4294967295). + - ID (0 - 4294967295). see Notes. required: true type: int interface: @@ -166,6 +181,14 @@ options: description: - CA of server to trust under TLS. Source vpn.certificate.ca.name. type: str + call_station_id_type: + description: + - Calling & Called station identifier type configuration , this option is not available for 802.1x authentication. + type: str + choices: + - 'legacy' + - 'IP' + - 'MAC' class: description: - Class attribute name(s). @@ -517,6 +540,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' transport_protocol: description: - Transport protocol to be used . @@ -542,89 +566,81 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure RADIUS server entries. - fortios_user_radius: - vdom: "{{ vdom }}" +- name: Configure RADIUS server entries. + fortinet.fortios.fortios_user_radius: + vdom: "{{ vdom }}" state: "present" access_token: "" user_radius: - accounting_server: - - - id: "4" - interface: " (source system.interface.name)" - interface_select_method: "auto" - port: "0" - secret: "" - server: "192.168.100.40" - source_ip: "84.230.14.43" - status: "enable" - acct_all_servers: "enable" - acct_interim_interval: "0" - all_usergroup: "disable" - auth_type: "auto" - ca_cert: " (source vpn.certificate.ca.name)" - class: - - - name: "default_name_18" - client_cert: " (source vpn.certificate.local.name)" - delimiter: "plus" - group_override_attr_type: "filter-Id" - h3c_compatibility: "enable" - interface: " (source system.interface.name)" - interface_select_method: "auto" - mac_case: "uppercase" - mac_password_delimiter: "hyphen" - mac_username_delimiter: "hyphen" - name: "default_name_28" - nas_id: "" - nas_id_type: "legacy" - nas_ip: "" - password_encoding: "auto" - password_renewal: "enable" - radius_coa: "enable" - radius_port: "0" - rsso: "enable" - rsso_context_timeout: "28800" - rsso_endpoint_attribute: "User-Name" - rsso_endpoint_block_attribute: "User-Name" - rsso_ep_one_ip_only: "enable" - rsso_flush_ip_session: "enable" - rsso_log_flags: "protocol-error" - rsso_log_period: "0" - rsso_radius_response: "enable" - rsso_radius_server_port: "1813" - rsso_secret: "" - rsso_validate_request_secret: "enable" - secondary_secret: "" - secondary_server: "" - secret: "" - server: "192.168.100.40" - server_identity_check: "enable" - source_ip: "84.230.14.43" - sso_attribute: "User-Name" - sso_attribute_key: "" - sso_attribute_value_override: "enable" - status_ttl: "300" - switch_controller_acct_fast_framedip_detect: "2" - switch_controller_service_type: "login" - tertiary_secret: "" - tertiary_server: "" - timeout: "5" - tls_min_proto_version: "default" - transport_protocol: "udp" - use_management_vdom: "enable" - username_case_sensitive: "enable" - + account_key_cert_field: "othername" + account_key_processing: "same" + accounting_server: + - + id: "6" + interface: " (source system.interface.name)" + interface_select_method: "auto" + port: "0" + secret: "" + server: "192.168.100.40" + source_ip: "84.230.14.43" + status: "enable" + acct_all_servers: "enable" + acct_interim_interval: "0" + all_usergroup: "disable" + auth_type: "auto" + ca_cert: " (source vpn.certificate.ca.name)" + call_station_id_type: "legacy" + class: + - + name: "default_name_21" + client_cert: " (source vpn.certificate.local.name)" + delimiter: "plus" + group_override_attr_type: "filter-Id" + h3c_compatibility: "enable" + interface: " (source system.interface.name)" + interface_select_method: "auto" + mac_case: "uppercase" + mac_password_delimiter: "hyphen" + mac_username_delimiter: "hyphen" + name: "default_name_31" + nas_id: "" + nas_id_type: "legacy" + nas_ip: "" + password_encoding: "auto" + password_renewal: "enable" + radius_coa: "enable" + radius_port: "0" + rsso: "enable" + rsso_context_timeout: "28800" + rsso_endpoint_attribute: "User-Name" + rsso_endpoint_block_attribute: "User-Name" + rsso_ep_one_ip_only: "enable" + rsso_flush_ip_session: "enable" + rsso_log_flags: "protocol-error" + rsso_log_period: "0" + rsso_radius_response: "enable" + rsso_radius_server_port: "1813" + rsso_secret: "" + rsso_validate_request_secret: "enable" + secondary_secret: "" + secondary_server: "" + secret: "" + server: "192.168.100.40" + server_identity_check: "enable" + source_ip: "84.230.14.43" + sso_attribute: "User-Name" + sso_attribute_key: "" + sso_attribute_value_override: "enable" + status_ttl: "300" + switch_controller_acct_fast_framedip_detect: "2" + switch_controller_service_type: "login" + tertiary_secret: "" + tertiary_server: "" + timeout: "5" + tls_min_proto_version: "default" + transport_protocol: "udp" + use_management_vdom: "enable" + username_case_sensitive: "enable" """ RETURN = """ @@ -683,7 +699,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -711,16 +726,22 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_radius_data(json): option_list = [ + "account_key_cert_field", + "account_key_processing", "accounting_server", "acct_all_servers", "acct_interim_interval", "all_usergroup", "auth_type", "ca_cert", + "call_station_id_type", "class", "client_cert", "delimiter", @@ -826,7 +847,6 @@ def underscore_to_hyphen(data): def user_radius(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -861,11 +881,16 @@ def user_radius(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -913,13 +938,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "radius") if data["user_radius"]: resp = user_radius(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_radius")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -934,5646 +958,372 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tertiary_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tertiary_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "status_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tertiary_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tertiary_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "status_ttl": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "all_usergroup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "use_management_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "nas_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "nas_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "nas_id_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - {"value": "legacy", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "custom", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "hostname", "revisions": {"v7.4.0": True, "v7.2.4": True}}, + {"value": "legacy"}, + {"value": "custom"}, + {"value": "hostname"}, ], }, - "nas_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "call_station_id_type": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "legacy"}, {"value": "IP"}, {"value": "MAC"}], }, - "acct_interim_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "nas_id": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "acct_interim_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "radius_coa": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "radius_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "radius_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "h3c_compatibility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ms_chap_v2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ms_chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "ms_chap_v2"}, + {"value": "ms_chap"}, + {"value": "chap"}, + {"value": "pap"}, ], }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "username_case_sensitive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "group_override_attr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "filter-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "class", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "filter-Id"}, {"value": "class"}], }, "class": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "password_renewal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "password_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ISO-8859-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "ISO-8859-1"}], }, "mac_username_delimiter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "single-hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "colon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "hyphen"}, + {"value": "single-hyphen"}, + {"value": "colon"}, + {"value": "none"}, ], }, "mac_password_delimiter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "single-hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "colon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, + {"value": "hyphen"}, + {"value": "single-hyphen"}, + {"value": "colon"}, + {"value": "none"}, ], }, "mac_case": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "uppercase", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "lowercase", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "uppercase"}, {"value": "lowercase"}], }, "acct_all_servers": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "switch_controller_acct_fast_framedip_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", }, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "switch_controller_service_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "list", "options": [ - { - "value": "login", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "framed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "callback-login", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "callback-framed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "outbound", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "administrative", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "nas-prompt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "authenticate-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "callback-nas-prompt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "call-check", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "callback-administrative", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "login"}, + {"value": "framed"}, + {"value": "callback-login"}, + {"value": "callback-framed"}, + {"value": "outbound"}, + {"value": "administrative"}, + {"value": "nas-prompt"}, + {"value": "authenticate-only"}, + {"value": "callback-nas-prompt"}, + {"value": "call-check"}, + {"value": "callback-administrative"}, ], "multiple_values": True, "elements": "str", }, "transport_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "udp", "revisions": {"v7.4.0": True}}, - {"value": "tcp", "revisions": {"v7.4.0": True}}, - {"value": "tls", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "udp"}, {"value": "tcp"}, {"value": "tls"}], }, "tls_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "default", "revisions": {"v7.4.0": True}}, - {"value": "SSLv3", "revisions": {"v7.4.0": True}}, - {"value": "TLSv1", "revisions": {"v7.4.0": True}}, - {"value": "TLSv1-1", "revisions": {"v7.4.0": True}}, - {"value": "TLSv1-2", "revisions": {"v7.4.0": True}}, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, - "ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "ca_cert": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "client_cert": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "server_identity_check": { + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "account_key_processing": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [{"value": "same"}, {"value": "strip"}], }, - "server_identity_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "account_key_cert_field": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, + {"value": "othername"}, + {"value": "rfc822name"}, + {"value": "dnsname"}, ], }, "rsso": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "rsso_radius_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "rsso_radius_server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "rsso_radius_response": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rsso_validate_request_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "rsso_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "rsso_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rsso_endpoint_attribute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "User-Name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Netmask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Filter-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-IP-Host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Reply-Message", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Number", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-Route", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IPX-Network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Class", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Called-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Calling-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-Identifier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Proxy-State", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Service", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Node", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-AppleTalk-Zone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Multi-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "User-Name"}, + {"value": "NAS-IP-Address"}, + {"value": "Framed-IP-Address"}, + {"value": "Framed-IP-Netmask"}, + {"value": "Filter-Id"}, + {"value": "Login-IP-Host"}, + {"value": "Reply-Message"}, + {"value": "Callback-Number"}, + {"value": "Callback-Id"}, + {"value": "Framed-Route"}, + {"value": "Framed-IPX-Network"}, + {"value": "Class"}, + {"value": "Called-Station-Id"}, + {"value": "Calling-Station-Id"}, + {"value": "NAS-Identifier"}, + {"value": "Proxy-State"}, + {"value": "Login-LAT-Service"}, + {"value": "Login-LAT-Node"}, + {"value": "Login-LAT-Group"}, + {"value": "Framed-AppleTalk-Zone"}, + {"value": "Acct-Session-Id"}, + {"value": "Acct-Multi-Session-Id"}, ], }, "rsso_endpoint_block_attribute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "User-Name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Netmask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Filter-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-IP-Host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Reply-Message", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Number", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-Route", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IPX-Network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Class", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Called-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Calling-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-Identifier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Proxy-State", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Service", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Node", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-AppleTalk-Zone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Multi-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "User-Name"}, + {"value": "NAS-IP-Address"}, + {"value": "Framed-IP-Address"}, + {"value": "Framed-IP-Netmask"}, + {"value": "Filter-Id"}, + {"value": "Login-IP-Host"}, + {"value": "Reply-Message"}, + {"value": "Callback-Number"}, + {"value": "Callback-Id"}, + {"value": "Framed-Route"}, + {"value": "Framed-IPX-Network"}, + {"value": "Class"}, + {"value": "Called-Station-Id"}, + {"value": "Calling-Station-Id"}, + {"value": "NAS-Identifier"}, + {"value": "Proxy-State"}, + {"value": "Login-LAT-Service"}, + {"value": "Login-LAT-Node"}, + {"value": "Login-LAT-Group"}, + {"value": "Framed-AppleTalk-Zone"}, + {"value": "Acct-Session-Id"}, + {"value": "Acct-Multi-Session-Id"}, ], }, "sso_attribute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "User-Name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Netmask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Filter-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-IP-Host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Reply-Message", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Number", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-Route", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IPX-Network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Class", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Called-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Calling-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-Identifier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Proxy-State", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Service", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Node", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-AppleTalk-Zone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Multi-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "User-Name"}, + {"value": "NAS-IP-Address"}, + {"value": "Framed-IP-Address"}, + {"value": "Framed-IP-Netmask"}, + {"value": "Filter-Id"}, + {"value": "Login-IP-Host"}, + {"value": "Reply-Message"}, + {"value": "Callback-Number"}, + {"value": "Callback-Id"}, + {"value": "Framed-Route"}, + {"value": "Framed-IPX-Network"}, + {"value": "Class"}, + {"value": "Called-Station-Id"}, + {"value": "Calling-Station-Id"}, + {"value": "NAS-Identifier"}, + {"value": "Proxy-State"}, + {"value": "Login-LAT-Service"}, + {"value": "Login-LAT-Node"}, + {"value": "Login-LAT-Group"}, + {"value": "Framed-AppleTalk-Zone"}, + {"value": "Acct-Session-Id"}, + {"value": "Acct-Multi-Session-Id"}, ], }, - "sso_attribute_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "sso_attribute_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sso_attribute_value_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "rsso_context_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "rsso_log_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "rsso_context_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "rsso_log_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "rsso_log_flags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "protocol-error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "profile-missing", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "accounting-stop-missed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "accounting-event", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "endpoint-block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "radiusd-other", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "protocol-error"}, + {"value": "profile-missing"}, + {"value": "accounting-stop-missed"}, + {"value": "accounting-event"}, + {"value": "endpoint-block"}, + {"value": "radiusd-other"}, + {"value": "none"}, ], "multiple_values": True, "elements": "str", }, "rsso_flush_ip_session": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rsso_ep_one_ip_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "delimiter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "plus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "comma", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "plus"}, {"value": "comma"}], }, "accounting_server": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "auto"}, + {"value": "sdwan"}, + {"value": "specify"}, ], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -6608,6 +1358,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_saml.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_saml.py index beb09ed27..4faaafc58 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_saml.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_saml.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -175,6 +175,13 @@ options: - SAML server entry name. required: true type: str + reauth: + description: + - Enable/disable signalling of IDP to force user re-authentication . + type: str + choices: + - 'enable' + - 'disable' single_logout_url: description: - SP single logout URL. @@ -215,41 +222,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SAML server entry configuration. - fortios_user_saml: - vdom: "{{ vdom }}" +- name: SAML server entry configuration. + fortinet.fortios.fortios_user_saml: + vdom: "{{ vdom }}" state: "present" access_token: "" user_saml: - adfs_claim: "enable" - auth_url: "" - cert: " (source vpn.certificate.local.name)" - clock_tolerance: "15" - digest_method: "sha1" - entity_id: "" - group_claim_type: "email" - group_name: "" - idp_cert: " (source vpn.certificate.remote.name)" - idp_entity_id: "" - idp_single_logout_url: "" - idp_single_sign_on_url: "" - limit_relaystate: "enable" - name: "default_name_16" - single_logout_url: "" - single_sign_on_url: "" - user_claim_type: "email" - user_name: "" - + adfs_claim: "enable" + auth_url: "" + cert: " (source vpn.certificate.local.name)" + clock_tolerance: "15" + digest_method: "sha1" + entity_id: "" + group_claim_type: "email" + group_name: "" + idp_cert: " (source vpn.certificate.remote.name)" + idp_entity_id: "" + idp_single_logout_url: "" + idp_single_sign_on_url: "" + limit_relaystate: "enable" + name: "default_name_16" + reauth: "enable" + single_logout_url: "" + single_sign_on_url: "" + user_claim_type: "email" + user_name: "" """ RETURN = """ @@ -308,7 +305,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -336,6 +332,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_saml_data(json): @@ -354,6 +353,7 @@ def filter_user_saml_data(json): "idp_single_sign_on_url", "limit_relaystate", "name", + "reauth", "single_logout_url", "single_sign_on_url", "user_claim_type", @@ -384,7 +384,6 @@ def underscore_to_hyphen(data): def user_saml(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -418,11 +417,16 @@ def user_saml(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -470,13 +474,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "saml") if data["user_saml"]: resp = user_saml(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_saml")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -491,1383 +494,93 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "entity_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "single_sign_on_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "single_logout_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "idp_entity_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "idp_single_sign_on_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "idp_single_logout_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "idp_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "user_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "group_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "entity_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "single_sign_on_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "single_logout_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "idp_entity_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "idp_single_sign_on_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "idp_single_logout_url": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "idp_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "user_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "group_name": {"v_range": [["v6.2.0", ""]], "type": "string"}, "digest_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "sha1"}, {"value": "sha256"}], }, "limit_relaystate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "clock_tolerance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", - }, - "auth_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "clock_tolerance": {"v_range": [["v7.0.4", ""]], "type": "integer"}, + "auth_url": {"v_range": [["v7.2.1", ""]], "type": "string"}, "adfs_claim": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "user_claim_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "given-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "upn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "common-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "email-adfs-1x", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "upn-adfs-1x", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "role", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "sur-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ppid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "name-identifier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "authentication-method", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "deny-only-group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "deny-only-primary-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "deny-only-primary-group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "primary-group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "primary-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "windows-account-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "email"}, + {"value": "given-name"}, + {"value": "name"}, + {"value": "upn"}, + {"value": "common-name"}, + {"value": "email-adfs-1x"}, + {"value": "group"}, + {"value": "upn-adfs-1x"}, + {"value": "role"}, + {"value": "sur-name"}, + {"value": "ppid"}, + {"value": "name-identifier"}, + {"value": "authentication-method"}, + {"value": "deny-only-group-sid"}, + {"value": "deny-only-primary-sid"}, + {"value": "deny-only-primary-group-sid"}, + {"value": "group-sid"}, + {"value": "primary-group-sid"}, + {"value": "primary-sid"}, + {"value": "windows-account-name"}, ], }, "group_claim_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "email", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "given-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "upn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "common-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "email-adfs-1x", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "upn-adfs-1x", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "role", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "sur-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ppid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "name-identifier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "authentication-method", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "deny-only-group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "deny-only-primary-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "deny-only-primary-group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "primary-group-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "primary-sid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "windows-account-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "email"}, + {"value": "given-name"}, + {"value": "name"}, + {"value": "upn"}, + {"value": "common-name"}, + {"value": "email-adfs-1x"}, + {"value": "group"}, + {"value": "upn-adfs-1x"}, + {"value": "role"}, + {"value": "sur-name"}, + {"value": "ppid"}, + {"value": "name-identifier"}, + {"value": "authentication-method"}, + {"value": "deny-only-group-sid"}, + {"value": "deny-only-primary-sid"}, + {"value": "deny-only-primary-group-sid"}, + {"value": "group-sid"}, + {"value": "primary-group-sid"}, + {"value": "primary-sid"}, + {"value": "windows-account-name"}, ], }, + "reauth": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -1902,6 +615,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_security_exempt_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_security_exempt_list.py index 287fad35c..eda67784f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_security_exempt_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_security_exempt_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -127,7 +127,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int service: @@ -155,40 +155,29 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure security exemption list. - fortios_user_security_exempt_list: - vdom: "{{ vdom }}" +- name: Configure security exemption list. + fortinet.fortios.fortios_user_security_exempt_list: + vdom: "{{ vdom }}" state: "present" access_token: "" user_security_exempt_list: - description: "" - name: "default_name_4" - rule: - - - devices: - - - name: "default_name_7 (source user.device.alias user.device-group.name user.device-category.name)" - dstaddr: - - - name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" - id: "10" - service: - - - name: "default_name_12 (source firewall.service.custom.name firewall.service.group.name)" - srcaddr: - - - name: "default_name_14 (source firewall.address.name firewall.addrgrp.name)" - + description: "" + name: "default_name_4" + rule: + - + devices: + - + name: "default_name_7 (source user.device.alias user.device-group.name user.device-category.name)" + dstaddr: + - + name: "default_name_9 (source firewall.address.name firewall.addrgrp.name)" + id: "10" + service: + - + name: "default_name_12 (source firewall.service.custom.name firewall.service.group.name)" + srcaddr: + - + name: "default_name_14 (source firewall.address.name firewall.addrgrp.name)" """ RETURN = """ @@ -247,7 +236,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,6 +263,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_security_exempt_list_data(json): @@ -304,7 +295,6 @@ def underscore_to_hyphen(data): def user_security_exempt_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -340,11 +330,16 @@ def user_security_exempt_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -394,7 +389,6 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "security-exempt-list") if data["user_security_exempt_list"]: resp = user_security_exempt_list(data, fos, check_mode) @@ -402,7 +396,7 @@ def fortios_user(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("user_security_exempt_list") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -417,96 +411,14 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, @@ -515,265 +427,54 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "service": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "devices": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -810,6 +511,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_setting.py index ccbd415e1..ea4ade813 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -130,7 +130,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int port: @@ -187,6 +187,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' auth_ssl_sigalgs: description: - Set signature algorithms related to HTTPS authentication (affects TLS version <= 1.2 only). @@ -216,6 +217,11 @@ options: - 'https' - 'ftp' - 'telnet' + default_user_password_policy: + description: + - Default password policy to apply to all local users unless otherwise specified, as defined in config user password-policy. Source user + .password-policy.name. + type: str per_policy_disclaimer: description: - Enable/disable per policy disclaimer. @@ -233,46 +239,36 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure user authentication setting. - fortios_user_setting: - vdom: "{{ vdom }}" +- name: Configure user authentication setting. + fortinet.fortios.fortios_user_setting: + vdom: "{{ vdom }}" user_setting: - auth_blackout_time: "0" - auth_ca_cert: " (source vpn.certificate.local.name)" - auth_cert: " (source vpn.certificate.local.name)" - auth_http_basic: "enable" - auth_invalid_max: "5" - auth_lockout_duration: "0" - auth_lockout_threshold: "3" - auth_on_demand: "always" - auth_portal_timeout: "3" - auth_ports: - - - id: "13" - port: "1024" - type: "http" - auth_secure_http: "enable" - auth_src_mac: "enable" - auth_ssl_allow_renegotiation: "enable" - auth_ssl_max_proto_version: "sslv3" - auth_ssl_min_proto_version: "default" - auth_ssl_sigalgs: "no-rsa-pss" - auth_timeout: "5" - auth_timeout_type: "idle-timeout" - auth_type: "http" - per_policy_disclaimer: "enable" - radius_ses_timeout_act: "hard-timeout" - + auth_blackout_time: "0" + auth_ca_cert: " (source vpn.certificate.local.name)" + auth_cert: " (source vpn.certificate.local.name)" + auth_http_basic: "enable" + auth_invalid_max: "5" + auth_lockout_duration: "0" + auth_lockout_threshold: "3" + auth_on_demand: "always" + auth_portal_timeout: "3" + auth_ports: + - + id: "13" + port: "1024" + type: "http" + auth_secure_http: "enable" + auth_src_mac: "enable" + auth_ssl_allow_renegotiation: "enable" + auth_ssl_max_proto_version: "sslv3" + auth_ssl_min_proto_version: "default" + auth_ssl_sigalgs: "no-rsa-pss" + auth_timeout: "5" + auth_timeout_type: "idle-timeout" + auth_type: "http" + default_user_password_policy: " (source user.password-policy.name)" + per_policy_disclaimer: "enable" + radius_ses_timeout_act: "hard-timeout" """ RETURN = """ @@ -331,7 +327,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -376,6 +371,7 @@ def filter_user_setting_data(json): "auth_timeout", "auth_timeout_type", "auth_type", + "default_user_password_policy", "per_policy_disclaimer", "radius_ses_timeout_act", ] @@ -454,7 +450,6 @@ def is_successful_status(resp): def fortios_user(data, fos): - fos.do_member_operation("user", "setting") if data["user_setting"]: resp = user_setting(data, fos) @@ -471,1724 +466,125 @@ def fortios_user(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "http"}, + {"value": "https"}, + {"value": "ftp"}, + {"value": "telnet"}, ], "multiple_values": True, "elements": "str", }, - "auth_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "auth_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_ca_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_secure_http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_http_basic": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_ssl_allow_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_src_mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_on_demand": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "always", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "implicitly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "auth_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "always"}, {"value": "implicitly"}], }, + "auth_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auth_timeout_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "idle-timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hard-timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "new-session", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "idle-timeout"}, + {"value": "hard-timeout"}, + {"value": "new-session"}, ], }, - "auth_portal_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "auth_portal_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "radius_ses_timeout_act": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "hard-timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore-timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_blackout_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auth_invalid_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auth_lockout_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auth_lockout_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "hard-timeout"}, {"value": "ignore-timeout"}], }, + "auth_blackout_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_invalid_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_lockout_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_lockout_duration": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "per_policy_disclaimer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_ports": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "http"}, + {"value": "https"}, + {"value": "ftp"}, + {"value": "telnet"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "auth_ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, "auth_ssl_max_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "sslv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "tlsv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "tlsv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "tlsv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "tlsv1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "sslv3"}, + {"value": "tlsv1"}, + {"value": "tlsv1-1"}, + {"value": "tlsv1-2"}, + {"value": "tlsv1-3"}, ], }, "auth_ssl_sigalgs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "no-rsa-pss", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "no-rsa-pss"}, {"value": "all"}], }, + "default_user_password_policy": {"v_range": [["v7.4.1", ""]], "type": "string"}, }, } @@ -2210,6 +606,7 @@ def main(): "required": False, "type": "dict", "default": None, + "no_log": True, "options": {}, }, } @@ -2223,6 +620,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_tacacsplus.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_tacacsplus.py index 1e0a88ee2..6de7dc8e5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_tacacsplus.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_user_tacacsplus.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -157,36 +157,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure TACACS+ server entries. - fortios_user_tacacsplus: - vdom: "{{ vdom }}" +- name: Configure TACACS+ server entries. + fortinet.fortios.fortios_user_tacacsplus: + vdom: "{{ vdom }}" state: "present" access_token: "" user_tacacsplus: - authen_type: "mschap" - authorization: "enable" - interface: " (source system.interface.name)" - interface_select_method: "auto" - key: "" - name: "default_name_8" - port: "49" - secondary_key: "" - secondary_server: "" - server: "192.168.100.40" - source_ip: "84.230.14.43" - tertiary_key: "" - tertiary_server: "" - + authen_type: "mschap" + authorization: "enable" + interface: " (source system.interface.name)" + interface_select_method: "auto" + key: "" + name: "default_name_8" + port: "49" + secondary_key: "" + secondary_server: "" + server: "192.168.100.40" + source_ip: "84.230.14.43" + tertiary_key: "" + tertiary_server: "" """ RETURN = """ @@ -245,7 +234,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -273,6 +261,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_user_tacacsplus_data(json): @@ -316,7 +307,6 @@ def underscore_to_hyphen(data): def user_tacacsplus(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -352,11 +342,16 @@ def user_tacacsplus(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -404,13 +399,12 @@ def is_successful_status(resp): def fortios_user(data, fos, check_mode): - fos.do_member_operation("user", "tacacs+") if data["user_tacacsplus"]: resp = user_tacacsplus(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("user_tacacsplus")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -425,695 +419,42 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tertiary_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "tertiary_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tertiary_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "tertiary_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "authen_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "mschap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ascii", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "mschap"}, + {"value": "chap"}, + {"value": "pap"}, + {"value": "ascii"}, + {"value": "auto"}, ], }, "authorization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1148,6 +489,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_profile.py index c84485fae..9a2045843 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,7 +133,7 @@ options: type: int id: description: - - ID. + - ID. see Notes. required: true type: int log: @@ -192,41 +192,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VideoFilter profile. - fortios_videofilter_profile: - vdom: "{{ vdom }}" +- name: Configure VideoFilter profile. + fortinet.fortios.fortios_videofilter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" videofilter_profile: - comment: "Comment." - dailymotion: "enable" - default_action: "allow" - fortiguard_category: - filters: - - - action: "allow" - category_id: "0" - id: "10" - log: "enable" - log: "enable" - name: "default_name_13" - replacemsg_group: " (source system.replacemsg-group.name)" - vimeo: "enable" - vimeo_restrict: "" - youtube: "enable" - youtube_channel_filter: "0" - youtube_restrict: "none" - + comment: "Comment." + dailymotion: "enable" + default_action: "allow" + fortiguard_category: + filters: + - + action: "allow" + category_id: "0" + id: "10" + log: "enable" + log: "enable" + name: "default_name_13" + replacemsg_group: " (source system.replacemsg-group.name)" + vimeo: "enable" + vimeo_restrict: "" + youtube: "enable" + youtube_channel_filter: "0" + youtube_restrict: "none" """ RETURN = """ @@ -285,7 +274,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -382,7 +370,6 @@ def is_successful_status(resp): def fortios_videofilter(data, fos): - fos.do_member_operation("videofilter", "profile") if data["videofilter_profile"]: resp = videofilter_profile(data, fos) @@ -402,128 +389,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.0.0", ""]], "type": "string"}, "default_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.4.0": True}}, - {"value": "monitor", "revisions": {"v7.4.0": True}}, - {"value": "block", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "allow"}, {"value": "monitor"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], - }, - "youtube_channel_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "youtube_channel_filter": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "fortiguard_category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "dict", "children": { "filters": { @@ -531,425 +411,55 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - {"value": "bypass", "revisions": {"v7.0.0": True}}, + {"value": "allow", "v_range": [["v7.0.1", ""]]}, + {"value": "monitor"}, + {"value": "block"}, + {"value": "bypass", "v_range": [["v7.0.0", "v7.0.0"]]}, ], }, - "category_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, + "category_id": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } }, }, "youtube": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vimeo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dailymotion": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "replacemsg_group": {"v_range": [["v7.0.1", ""]], "type": "string"}, "youtube_restrict": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "none", "revisions": {"v7.0.0": True}}, - {"value": "strict", "revisions": {"v7.0.0": True}}, - {"value": "moderate", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "none"}, {"value": "strict"}, {"value": "moderate"}], }, - "vimeo_restrict": {"revisions": {"v7.0.0": True}, "type": "string"}, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, + "vimeo_restrict": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, }, + "v_range": [["v7.0.0", ""]], } @@ -984,6 +494,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_channel_filter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_channel_filter.py index 604059c04..001f30569 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_channel_filter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_channel_filter.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -125,12 +127,12 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int id: description: - - ID. + - ID. see Notes. required: true type: int log: @@ -154,35 +156,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure YouTube channel filter. - fortios_videofilter_youtube_channel_filter: - vdom: "{{ vdom }}" +- name: Configure YouTube channel filter. + fortinet.fortios.fortios_videofilter_youtube_channel_filter: + vdom: "{{ vdom }}" state: "present" access_token: "" videofilter_youtube_channel_filter: - comment: "Comment." - default_action: "allow" - entries: - - - action: "allow" - channel_id: "" - comment: "Comment." - id: "9" - id: "10" - log: "enable" - name: "default_name_12" - override_category: "enable" - + comment: "Comment." + default_action: "allow" + entries: + - + action: "allow" + channel_id: "" + comment: "Comment." + id: "9" + id: "10" + log: "enable" + name: "default_name_12" + override_category: "enable" """ RETURN = """ @@ -241,7 +232,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -337,7 +327,6 @@ def is_successful_status(resp): def fortios_videofilter(data, fos): - fos.do_member_operation("videofilter", "youtube-channel-filter") if data["videofilter_youtube_channel_filter"]: resp = videofilter_youtube_channel_filter(data, fos) @@ -359,410 +348,50 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v7.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v7.0.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", "required": True, }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "comment": {"v_range": [["v7.0.0", ""]], "type": "string"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - {"value": "bypass", "revisions": {"v7.0.0": True}}, + {"value": "allow", "v_range": [["v7.0.1", ""]]}, + {"value": "monitor"}, + {"value": "block"}, + {"value": "bypass", "v_range": [["v7.0.0", "v7.0.0"]]}, ], }, - "channel_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, + "channel_id": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, + "v_range": [["v7.0.0", ""]], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default_action": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, + "v_range": [["v7.0.1", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "monitor"}, {"value": "block"}], }, "override_category": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -799,6 +428,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_key.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_key.py index 22071d665..7bcb5fb9b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_key.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_videofilter_youtube_key.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int key: @@ -107,26 +109,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure YouTube API keys. - fortios_videofilter_youtube_key: - vdom: "{{ vdom }}" +- name: Configure YouTube API keys. + fortinet.fortios.fortios_videofilter_youtube_key: + vdom: "{{ vdom }}" state: "present" access_token: "" videofilter_youtube_key: - id: "3" - key: "" - status: "enable" - + id: "3" + key: "" + status: "enable" """ RETURN = """ @@ -185,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -269,7 +259,6 @@ def is_successful_status(resp): def fortios_videofilter(data, fos): - fos.do_member_operation("videofilter", "youtube-key") if data["videofilter_youtube_key"]: resp = videofilter_youtube_key(data, fos) @@ -289,70 +278,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - "required": True, - }, - "key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v7.0.0", ""]], "type": "integer", "required": True}, + "key": {"v_range": [["v7.0.0", ""]], "type": "string"}, "status": { - "revisions": {"v7.0.0": True}, + "v_range": [["v7.0.0", "v7.0.0"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -390,6 +324,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_virtual_patch_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_virtual_patch_profile.py new file mode 100644 index 000000000..e9ab742ff --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_virtual_patch_profile.py @@ -0,0 +1,535 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_virtual_patch_profile +short_description: Configure virtual-patch profile in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify virtual_patch feature and profile category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + state: + description: + - Indicates whether to create or remove the object. + type: str + required: true + choices: + - 'present' + - 'absent' + virtual_patch_profile: + description: + - Configure virtual-patch profile. + default: null + type: dict + suboptions: + action: + description: + - Action (pass/block). + type: str + choices: + - 'pass' + - 'block' + comment: + description: + - Comment. + type: str + exemption: + description: + - Exempt devices or rules. + type: list + elements: dict + suboptions: + device: + description: + - Device MAC addresses. + type: list + elements: dict + suboptions: + mac: + description: + - Device MAC address. + required: true + type: str + id: + description: + - IDs. see Notes. + required: true + type: int + rule: + description: + - Patch signature rule IDs. + type: list + elements: dict + suboptions: + id: + description: + - Rule IDs. see Notes. + required: true + type: int + status: + description: + - Enable/disable exemption. + type: str + choices: + - 'enable' + - 'disable' + log: + description: + - Enable/disable logging of detection. + type: str + choices: + - 'enable' + - 'disable' + name: + description: + - Profile name. + required: true + type: str + severity: + description: + - Relative severity of the signature (low, medium, high, critical). + type: list + elements: str + choices: + - 'low' + - 'medium' + - 'high' + - 'critical' +""" + +EXAMPLES = """ +- name: Configure virtual-patch profile. + fortinet.fortios.fortios_virtual_patch_profile: + vdom: "{{ vdom }}" + state: "present" + access_token: "" + virtual_patch_profile: + action: "pass" + comment: "Comment." + exemption: + - + device: + - + mac: "" + id: "8" + rule: + - + id: "10" + status: "enable" + log: "enable" + name: "default_name_13" + severity: "low" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_virtual_patch_profile_data(json): + option_list = ["action", "comment", "exemption", "log", "name", "severity"] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def flatten_single_path(data, path, index): + if ( + not data + or index == len(path) + or path[index] not in data + or not data[path[index]] + ): + return + + if index == len(path) - 1: + data[path[index]] = " ".join(str(elem) for elem in data[path[index]]) + elif isinstance(data[path[index]], list): + for value in data[path[index]]: + flatten_single_path(value, path, index + 1) + else: + flatten_single_path(data[path[index]], path, index + 1) + + +def flatten_multilists_attributes(data): + multilist_attrs = [ + ["severity"], + ] + + for attr in multilist_attrs: + flatten_single_path(data, attr, 0) + + return data + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def virtual_patch_profile(data, fos): + vdom = data["vdom"] + + state = data["state"] + + virtual_patch_profile_data = data["virtual_patch_profile"] + virtual_patch_profile_data = flatten_multilists_attributes( + virtual_patch_profile_data + ) + filtered_data = underscore_to_hyphen( + filter_virtual_patch_profile_data(virtual_patch_profile_data) + ) + + if state == "present" or state is True: + return fos.set("virtual-patch", "profile", data=filtered_data, vdom=vdom) + + elif state == "absent": + return fos.delete( + "virtual-patch", "profile", mkey=filtered_data["name"], vdom=vdom + ) + else: + fos._module.fail_json(msg="state must be present or absent!") + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_virtual_patch(data, fos): + fos.do_member_operation("virtual-patch", "profile") + if data["virtual_patch_profile"]: + resp = virtual_patch_profile(data, fos) + else: + fos._module.fail_json(msg="missing task body: %s" % ("virtual_patch_profile")) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "type": "list", + "elements": "dict", + "children": { + "name": {"v_range": [["v7.4.1", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "severity": { + "v_range": [["v7.4.1", ""]], + "type": "list", + "options": [ + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + {"value": "critical"}, + ], + "multiple_values": True, + "elements": "str", + }, + "action": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "pass"}, {"value": "block"}], + }, + "log": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "exemption": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + "required": True, + }, + "status": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "rule": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + "device": { + "type": "list", + "elements": "dict", + "children": { + "mac": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], + }, + }, + "v_range": [["v7.4.1", ""]], +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = "name" + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "state": {"required": True, "type": "str", "choices": ["present", "absent"]}, + "virtual_patch_profile": { + "required": False, + "type": "dict", + "default": None, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["virtual_patch_profile"]["options"][attribute_name] = module_spec[ + "options" + ][attribute_name] + if mkeyname and mkeyname == attribute_name: + fields["virtual_patch_profile"]["options"][attribute_name][ + "required" + ] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "virtual_patch_profile" + ) + + is_error, has_changed, result, diff = fortios_virtual_patch(module.params, fos) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_voip_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_voip_profile.py index 745ca48ed..6f7518b89 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_voip_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_voip_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -969,154 +969,143 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VoIP profiles. - fortios_voip_profile: - vdom: "{{ vdom }}" +- name: Configure VoIP profiles. + fortinet.fortios.fortios_voip_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" voip_profile: - comment: "Comment." - feature_set: "ips" - msrp: - log_violations: "disable" - max_msg_size: "0" - max_msg_size_action: "pass" - status: "disable" - name: "default_name_10" - sccp: - block_mcast: "disable" - log_call_summary: "disable" - log_violations: "disable" - max_calls: "0" - status: "disable" - verify_header: "disable" - sip: - ack_rate: "0" - ack_rate_track: "none" - block_ack: "disable" - block_bye: "disable" - block_cancel: "disable" - block_geo_red_options: "disable" - block_info: "disable" - block_invite: "disable" - block_long_lines: "disable" - block_message: "disable" - block_notify: "disable" - block_options: "disable" - block_prack: "disable" - block_publish: "disable" - block_refer: "disable" - block_register: "disable" - block_subscribe: "disable" - block_unknown: "disable" - block_update: "disable" - bye_rate: "0" - bye_rate_track: "none" - call_id_regex: "" - call_keepalive: "0" - cancel_rate: "0" - cancel_rate_track: "none" - contact_fixup: "disable" - content_type_regex: "" - hnt_restrict_source_ip: "disable" - hosted_nat_traversal: "disable" - info_rate: "0" - info_rate_track: "none" - invite_rate: "0" - invite_rate_track: "none" - ips_rtp: "disable" - log_call_summary: "disable" - log_violations: "disable" - malformed_header_allow: "discard" - malformed_header_call_id: "discard" - malformed_header_contact: "discard" - malformed_header_content_length: "discard" - malformed_header_content_type: "discard" - malformed_header_cseq: "discard" - malformed_header_expires: "discard" - malformed_header_from: "discard" - malformed_header_max_forwards: "discard" - malformed_header_no_proxy_require: "discard" - malformed_header_no_require: "discard" - malformed_header_p_asserted_identity: "discard" - malformed_header_rack: "discard" - malformed_header_record_route: "discard" - malformed_header_route: "discard" - malformed_header_rseq: "discard" - malformed_header_sdp_a: "discard" - malformed_header_sdp_b: "discard" - malformed_header_sdp_c: "discard" - malformed_header_sdp_i: "discard" - malformed_header_sdp_k: "discard" - malformed_header_sdp_m: "discard" - malformed_header_sdp_o: "discard" - malformed_header_sdp_r: "discard" - malformed_header_sdp_s: "discard" - malformed_header_sdp_t: "discard" - malformed_header_sdp_v: "discard" - malformed_header_sdp_z: "discard" - malformed_header_to: "discard" - malformed_header_via: "discard" - malformed_request_line: "discard" - max_body_length: "0" - max_dialogs: "0" - max_idle_dialogs: "0" - max_line_length: "998" - message_rate: "0" - message_rate_track: "none" - nat_port_range: "" - nat_trace: "disable" - no_sdp_fixup: "disable" - notify_rate: "0" - notify_rate_track: "none" - open_contact_pinhole: "disable" - open_record_route_pinhole: "disable" - open_register_pinhole: "disable" - open_via_pinhole: "disable" - options_rate: "0" - options_rate_track: "none" - prack_rate: "0" - prack_rate_track: "none" - preserve_override: "disable" - provisional_invite_expiry_time: "210" - publish_rate: "0" - publish_rate_track: "none" - refer_rate: "0" - refer_rate_track: "none" - register_contact_trace: "disable" - register_rate: "0" - register_rate_track: "none" - rfc2543_branch: "disable" - rtp: "disable" - ssl_algorithm: "high" - ssl_auth_client: " (source user.peer.name user.peergrp.name)" - ssl_auth_server: " (source user.peer.name user.peergrp.name)" - ssl_client_certificate: " (source vpn.certificate.local.name)" - ssl_client_renegotiation: "allow" - ssl_max_version: "ssl-3.0" - ssl_min_version: "ssl-3.0" - ssl_mode: "off" - ssl_pfs: "require" - ssl_send_empty_frags: "enable" - ssl_server_certificate: " (source vpn.certificate.local.name)" - status: "disable" - strict_register: "disable" - subscribe_rate: "0" - subscribe_rate_track: "none" - unknown_header: "discard" - update_rate: "0" - update_rate_track: "none" - + comment: "Comment." + feature_set: "ips" + msrp: + log_violations: "disable" + max_msg_size: "0" + max_msg_size_action: "pass" + status: "disable" + name: "default_name_10" + sccp: + block_mcast: "disable" + log_call_summary: "disable" + log_violations: "disable" + max_calls: "0" + status: "disable" + verify_header: "disable" + sip: + ack_rate: "0" + ack_rate_track: "none" + block_ack: "disable" + block_bye: "disable" + block_cancel: "disable" + block_geo_red_options: "disable" + block_info: "disable" + block_invite: "disable" + block_long_lines: "disable" + block_message: "disable" + block_notify: "disable" + block_options: "disable" + block_prack: "disable" + block_publish: "disable" + block_refer: "disable" + block_register: "disable" + block_subscribe: "disable" + block_unknown: "disable" + block_update: "disable" + bye_rate: "0" + bye_rate_track: "none" + call_id_regex: "" + call_keepalive: "0" + cancel_rate: "0" + cancel_rate_track: "none" + contact_fixup: "disable" + content_type_regex: "" + hnt_restrict_source_ip: "disable" + hosted_nat_traversal: "disable" + info_rate: "0" + info_rate_track: "none" + invite_rate: "0" + invite_rate_track: "none" + ips_rtp: "disable" + log_call_summary: "disable" + log_violations: "disable" + malformed_header_allow: "discard" + malformed_header_call_id: "discard" + malformed_header_contact: "discard" + malformed_header_content_length: "discard" + malformed_header_content_type: "discard" + malformed_header_cseq: "discard" + malformed_header_expires: "discard" + malformed_header_from: "discard" + malformed_header_max_forwards: "discard" + malformed_header_no_proxy_require: "discard" + malformed_header_no_require: "discard" + malformed_header_p_asserted_identity: "discard" + malformed_header_rack: "discard" + malformed_header_record_route: "discard" + malformed_header_route: "discard" + malformed_header_rseq: "discard" + malformed_header_sdp_a: "discard" + malformed_header_sdp_b: "discard" + malformed_header_sdp_c: "discard" + malformed_header_sdp_i: "discard" + malformed_header_sdp_k: "discard" + malformed_header_sdp_m: "discard" + malformed_header_sdp_o: "discard" + malformed_header_sdp_r: "discard" + malformed_header_sdp_s: "discard" + malformed_header_sdp_t: "discard" + malformed_header_sdp_v: "discard" + malformed_header_sdp_z: "discard" + malformed_header_to: "discard" + malformed_header_via: "discard" + malformed_request_line: "discard" + max_body_length: "0" + max_dialogs: "0" + max_idle_dialogs: "0" + max_line_length: "998" + message_rate: "0" + message_rate_track: "none" + nat_port_range: "" + nat_trace: "disable" + no_sdp_fixup: "disable" + notify_rate: "0" + notify_rate_track: "none" + open_contact_pinhole: "disable" + open_record_route_pinhole: "disable" + open_register_pinhole: "disable" + open_via_pinhole: "disable" + options_rate: "0" + options_rate_track: "none" + prack_rate: "0" + prack_rate_track: "none" + preserve_override: "disable" + provisional_invite_expiry_time: "210" + publish_rate: "0" + publish_rate_track: "none" + refer_rate: "0" + refer_rate_track: "none" + register_contact_trace: "disable" + register_rate: "0" + register_rate_track: "none" + rfc2543_branch: "disable" + rtp: "disable" + ssl_algorithm: "high" + ssl_auth_client: " (source user.peer.name user.peergrp.name)" + ssl_auth_server: " (source user.peer.name user.peergrp.name)" + ssl_client_certificate: " (source vpn.certificate.local.name)" + ssl_client_renegotiation: "allow" + ssl_max_version: "ssl-3.0" + ssl_min_version: "ssl-3.0" + ssl_mode: "off" + ssl_pfs: "require" + ssl_send_empty_frags: "enable" + ssl_server_certificate: " (source vpn.certificate.local.name)" + status: "disable" + strict_register: "disable" + subscribe_rate: "0" + subscribe_rate_track: "none" + unknown_header: "discard" + update_rate: "0" + update_rate_track: "none" """ RETURN = """ @@ -1175,7 +1164,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1203,6 +1191,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_voip_profile_data(json): @@ -1232,7 +1223,6 @@ def underscore_to_hyphen(data): def voip_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1266,11 +1256,16 @@ def voip_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1318,13 +1313,12 @@ def is_successful_status(resp): def fortios_voip(data, fos, check_mode): - fos.do_member_operation("voip", "profile") if data["voip_profile"]: resp = voip_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("voip_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1339,10704 +1333,769 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "feature_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "ips", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "voipd", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - }, - { - "value": "flow", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "ips", "v_range": [["v7.4.0", ""]]}, + {"value": "voipd", "v_range": [["v7.4.0", ""]]}, + {"value": "flow", "v_range": [["v7.0.0", "v7.2.4"]]}, + {"value": "proxy", "v_range": [["v7.0.0", "v7.2.4"]]}, ], }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "nat_port_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "nat_port_range": {"v_range": [["v6.2.0", ""]], "type": "string"}, "open_register_pinhole": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "open_contact_pinhole": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "strict_register": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "register_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "register_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "register_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "invite_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "invite_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "invite_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "max_dialogs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_line_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "max_dialogs": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_line_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "block_long_lines": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_unknown": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "call_keepalive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "call_keepalive": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "block_ack": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_bye": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_cancel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_invite": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_message": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_notify": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_prack": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_publish": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_refer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_register": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_subscribe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_update": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "register_contact_trace": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "open_via_pinhole": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "open_record_route_pinhole": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rfc2543_branch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_violations": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_call_summary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "nat_trace": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "subscribe_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "subscribe_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "subscribe_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "message_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "message_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "message_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "notify_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "notify_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "notify_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "refer_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "refer_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "refer_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "update_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "update_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "update_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "options_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "options_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "options_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "ack_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ack_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ack_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "prack_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "prack_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "prack_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "info_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "info_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "info_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "publish_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "publish_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "publish_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "bye_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "bye_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bye_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, - "cancel_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "cancel_rate": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "cancel_rate_track": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "src-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "dest-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "src-ip"}, + {"value": "dest-ip"}, ], }, "preserve_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "no_sdp_fixup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "contact_fixup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "max_idle_dialogs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "max_idle_dialogs": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "block_geo_red_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "hosted_nat_traversal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "hnt_restrict_source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "call_id_regex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "content_type_regex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "max_body_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "call_id_regex": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "content_type_regex": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "max_body_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "unknown_header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_request_line": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_via": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_from": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_to": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_call_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_cseq": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_rack": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_rseq": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_contact": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_record_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_expires": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_content_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_content_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_max_forwards": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_allow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_p_asserted_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_no_require": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_no_proxy_require": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_v": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_o": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_s": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_i": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_c": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_b": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_z": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_k": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_a": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_t": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_r": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "malformed_header_sdp_m": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "respond", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discard"}, + {"value": "pass"}, + {"value": "respond"}, ], }, "provisional_invite_expiry_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "ips_rtp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "ssl_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "off", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "off"}, {"value": "full"}], }, "ssl_send_empty_frags": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_client_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secure", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "deny"}, + {"value": "secure"}, ], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "ssl_pfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "require", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "require"}, + {"value": "deny"}, + {"value": "allow"}, ], }, "ssl_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], }, "ssl_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ssl-3.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls-1.3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ssl-3.0"}, + {"value": "tls-1.0"}, + {"value": "tls-1.1"}, + {"value": "tls-1.2"}, + {"value": "tls-1.3", "v_range": [["v6.2.0", ""]]}, ], }, "ssl_client_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "ssl_server_certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_auth_client": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssl_auth_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, + "ssl_auth_client": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssl_auth_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, }, "sccp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "block_mcast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "verify_header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_call_summary": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_violations": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "max_calls": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "max_calls": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, }, "msrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "log_violations": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "max_msg_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "max_msg_size": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "max_msg_size_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "reset", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "pass"}, + {"value": "block"}, + {"value": "reset"}, + {"value": "monitor"}, ], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -12071,6 +2130,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ca.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ca.py index 0b278898a..fd238b959 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ca.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ca.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,6 +104,10 @@ options: description: - CA identifier of the SCEP server. type: str + est_url: + description: + - URL of the EST server. + type: str last_updated: description: - Time at which CA was last updated. @@ -160,36 +164,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: CA certificate. - fortios_vpn_certificate_ca: - vdom: "{{ vdom }}" +- name: CA certificate. + fortinet.fortios.fortios_vpn_certificate_ca: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_certificate_ca: - auto_update_days: "0" - auto_update_days_warning: "0" - ca: "" - ca_identifier: "myId_6" - last_updated: "2147483647" - name: "default_name_8" - obsolete: "disable" - range: "global" - scep_url: "" - source: "factory" - source_ip: "84.230.14.43" - ssl_inspection_trusted: "enable" - trusted: "enable" - + auto_update_days: "0" + auto_update_days_warning: "0" + ca: "" + ca_identifier: "myId_6" + est_url: "" + last_updated: "2147483647" + name: "default_name_9" + obsolete: "disable" + range: "global" + scep_url: "" + source: "factory" + source_ip: "84.230.14.43" + ssl_inspection_trusted: "enable" + trusted: "enable" """ RETURN = """ @@ -248,7 +242,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -276,6 +269,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_certificate_ca_data(json): @@ -284,6 +280,7 @@ def filter_vpn_certificate_ca_data(json): "auto_update_days_warning", "ca", "ca_identifier", + "est_url", "last_updated", "name", "obsolete", @@ -319,7 +316,6 @@ def underscore_to_hyphen(data): def vpn_certificate_ca(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -355,11 +351,16 @@ def vpn_certificate_ca(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -409,13 +410,12 @@ def is_successful_status(resp): def fortios_vpn_certificate(data, fos, check_mode): - fos.do_member_operation("vpn.certificate", "ca") if data["vpn_certificate_ca"]: resp = vpn_certificate_ca(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_certificate_ca")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -430,600 +430,45 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "ca": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "ca": {"v_range": [["v6.0.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, "ssl_inspection_trusted": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "scep_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auto_update_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_update_days_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ca_identifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "scep_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "est_url": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "auto_update_days": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_update_days_warning": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ca_identifier": {"v_range": [["v7.0.2", ""]], "type": "string"}, "obsolete": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "last_updated": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "trusted": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1058,6 +503,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_crl.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_crl.py index 81b036d4f..b93af58a3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_crl.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_crl.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -155,37 +155,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Certificate Revocation List as a PEM file. - fortios_vpn_certificate_crl: - vdom: "{{ vdom }}" +- name: Certificate Revocation List as a PEM file. + fortinet.fortios.fortios_vpn_certificate_crl: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_certificate_crl: - crl: "" - http_url: "" - last_updated: "2147483647" - ldap_password: "" - ldap_server: "" - ldap_username: "" - name: "default_name_9" - range: "global" - scep_cert: " (source vpn.certificate.local.name)" - scep_url: "" - source: "factory" - source_ip: "84.230.14.43" - update_interval: "0" - update_vdom: " (source system.vdom.name)" - + crl: "" + http_url: "" + last_updated: "2147483647" + ldap_password: "" + ldap_server: "" + ldap_username: "" + name: "default_name_9" + range: "global" + scep_cert: " (source vpn.certificate.local.name)" + scep_url: "" + source: "factory" + source_ip: "84.230.14.43" + update_interval: "0" + update_vdom: " (source system.vdom.name)" """ RETURN = """ @@ -244,7 +233,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -272,6 +260,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_certificate_crl_data(json): @@ -316,7 +307,6 @@ def underscore_to_hyphen(data): def vpn_certificate_crl(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -352,11 +342,16 @@ def vpn_certificate_crl(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -406,13 +401,12 @@ def is_successful_status(resp): def fortios_vpn_certificate(data, fos, check_mode): - fos.do_member_operation("vpn.certificate", "crl") if data["vpn_certificate_crl"]: resp = vpn_certificate_crl(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_certificate_crl")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -427,570 +421,33 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "crl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "crl": {"v_range": [["v6.0.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "update_vdom": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ldap_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "http_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "scep_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "scep_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "update_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, + "update_vdom": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ldap_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "http_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "scep_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "scep_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "update_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "last_updated": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1025,6 +482,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_local.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_local.py index adfe8479c..77b07c0f6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_local.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_local.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -160,6 +160,40 @@ options: - 'scep' - 'cmpv2' - 'acme2' + - 'est' + est_ca_id: + description: + - CA identifier of the CA server for signing via EST. + type: str + est_client_cert: + description: + - Certificate used to authenticate this FortiGate to EST server. Source vpn.certificate.local.name. + type: str + est_http_password: + description: + - HTTP Authentication password for signing via EST. + type: str + est_http_username: + description: + - HTTP Authentication username for signing via EST. + type: str + est_server: + description: + - 'Address and port for EST server (e.g. https://example.com:1234).' + type: str + est_server_cert: + description: + - EST server"s certificate must be verifiable by this certificate to be authenticated. Source vpn.certificate.ca.name vpn.certificate + .remote.name. + type: str + est_srp_password: + description: + - EST SRP authentication password. + type: str + est_srp_username: + description: + - EST SRP authentication username. + type: str ike_localid: description: - Local ID the FortiGate uses for authentication as a VPN client. @@ -236,53 +270,50 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Local keys and certificates. - fortios_vpn_certificate_local: - vdom: "{{ vdom }}" +- name: Local keys and certificates. + fortinet.fortios.fortios_vpn_certificate_local: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_certificate_local: - acme_ca_url: "" - acme_domain: "" - acme_email: "" - acme_renew_window: "30" - acme_rsa_key_size: "2048" - auto_regenerate_days: "0" - auto_regenerate_days_warning: "0" - ca_identifier: "myId_10" - certificate: "" - cmp_path: "" - cmp_regeneration_method: "keyupate" - cmp_server: "" - cmp_server_cert: " (source vpn.certificate.ca.name vpn.certificate.remote.name)" - comments: "" - csr: "" - enroll_protocol: "none" - ike_localid: "" - ike_localid_type: "asn1dn" - last_updated: "2147483647" - name: "default_name_22" - name_encoding: "printable" - password: "" - private_key: "" - private_key_retain: "enable" - range: "global" - scep_password: "" - scep_url: "" - source: "factory" - source_ip: "84.230.14.43" - state: "" - + acme_ca_url: "" + acme_domain: "" + acme_email: "" + acme_renew_window: "30" + acme_rsa_key_size: "2048" + auto_regenerate_days: "0" + auto_regenerate_days_warning: "0" + ca_identifier: "myId_10" + certificate: "" + cmp_path: "" + cmp_regeneration_method: "keyupate" + cmp_server: "" + cmp_server_cert: " (source vpn.certificate.ca.name vpn.certificate.remote.name)" + comments: "" + csr: "" + enroll_protocol: "none" + est_ca_id: "" + est_client_cert: " (source vpn.certificate.local.name)" + est_http_password: "" + est_http_username: "" + est_server: "" + est_server_cert: " (source vpn.certificate.ca.name vpn.certificate.remote.name)" + est_srp_password: "" + est_srp_username: "" + ike_localid: "" + ike_localid_type: "asn1dn" + last_updated: "2147483647" + name: "default_name_30" + name_encoding: "printable" + password: "" + private_key: "" + private_key_retain: "enable" + range: "global" + scep_password: "" + scep_url: "" + source: "factory" + source_ip: "84.230.14.43" + state: "" """ RETURN = """ @@ -341,7 +372,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -369,6 +399,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_certificate_local_data(json): @@ -389,6 +422,14 @@ def filter_vpn_certificate_local_data(json): "comments", "csr", "enroll_protocol", + "est_ca_id", + "est_client_cert", + "est_http_password", + "est_http_username", + "est_server", + "est_server_cert", + "est_srp_password", + "est_srp_username", "ike_localid", "ike_localid_type", "last_updated", @@ -429,7 +470,6 @@ def underscore_to_hyphen(data): def vpn_certificate_local(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -465,11 +505,16 @@ def vpn_certificate_local(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -519,13 +564,12 @@ def is_successful_status(resp): def fortios_vpn_certificate(data, fos, check_mode): - fos.do_member_operation("vpn.certificate", "local") if data["vpn_certificate_local"]: resp = vpn_certificate_local(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_certificate_local")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -540,1345 +584,89 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "private_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "csr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "scep_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "private_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certificate": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "csr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "scep_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_regenerate_days": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, + "auto_regenerate_days": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auto_regenerate_days_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "scep_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ca_identifier": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "scep_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ca_identifier": {"v_range": [["v6.0.0", ""]], "type": "string"}, "name_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "printable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utf8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ike_localid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "printable"}, {"value": "utf8"}], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ike_localid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ike_localid_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "asn1dn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "asn1dn"}, {"value": "fqdn"}], }, "enroll_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scep", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cmpv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "acme2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "none"}, + {"value": "scep"}, + {"value": "cmpv2"}, + {"value": "acme2", "v_range": [["v7.0.0", ""]]}, + {"value": "est", "v_range": [["v7.4.1", ""]]}, ], }, "private_key_retain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "cmp_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cmp_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cmp_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "cmp_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cmp_path": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cmp_server_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "cmp_regeneration_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "keyupate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "renewal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "acme_ca_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "acme_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "acme_email": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - }, - "acme_rsa_key_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "acme_renew_window": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "options": [{"value": "keyupate"}, {"value": "renewal"}], + }, + "acme_ca_url": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "acme_domain": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "acme_email": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "acme_rsa_key_size": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "acme_renew_window": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "est_server": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_ca_id": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_http_username": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_http_password": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_client_cert": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_server_cert": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_srp_username": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "est_srp_password": {"v_range": [["v7.4.1", ""]], "type": "string"}, "state": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, "last_updated": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1900,6 +688,7 @@ def main(): "required": False, "type": "dict", "default": None, + "no_log": True, "options": {}, }, } @@ -1915,6 +704,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ocsp_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ocsp_server.py index 2964d1f7e..3a4e4aa4e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ocsp_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_ocsp_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,30 +123,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: OCSP server configuration. - fortios_vpn_certificate_ocsp_server: - vdom: "{{ vdom }}" +- name: OCSP server configuration. + fortinet.fortios.fortios_vpn_certificate_ocsp_server: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_certificate_ocsp_server: - cert: " (source vpn.certificate.remote.name vpn.certificate.ca.name)" - name: "default_name_4" - secondary_cert: " (source vpn.certificate.remote.name vpn.certificate.ca.name)" - secondary_url: "" - source_ip: "84.230.14.43" - unavail_action: "revoke" - url: "myurl.com" - + cert: " (source vpn.certificate.remote.name vpn.certificate.ca.name)" + name: "default_name_4" + secondary_cert: " (source vpn.certificate.remote.name vpn.certificate.ca.name)" + secondary_url: "" + source_ip: "84.230.14.43" + unavail_action: "revoke" + url: "myurl.com" """ RETURN = """ @@ -205,7 +194,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -233,6 +221,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_certificate_ocsp_server_data(json): @@ -270,7 +261,6 @@ def underscore_to_hyphen(data): def vpn_certificate_ocsp_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -306,11 +296,16 @@ def vpn_certificate_ocsp_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -360,7 +355,6 @@ def is_successful_status(resp): def fortios_vpn_certificate(data, fos, check_mode): - fos.do_member_operation("vpn.certificate", "ocsp-server") if data["vpn_certificate_ocsp_server"]: resp = vpn_certificate_ocsp_server(data, fos, check_mode) @@ -368,7 +362,7 @@ def fortios_vpn_certificate(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("vpn_certificate_ocsp_server") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -383,297 +377,19 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "secondary_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "secondary_cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "unavail_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "revoke", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "revoke"}, {"value": "ignore"}], }, + "source_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -710,6 +426,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_remote.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_remote.py index 12346da7e..7eca5151f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_remote.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_remote.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,27 +115,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Remote certificate as a PEM file. - fortios_vpn_certificate_remote: - vdom: "{{ vdom }}" +- name: Remote certificate as a PEM file. + fortinet.fortios.fortios_vpn_certificate_remote: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_certificate_remote: - name: "default_name_3" - range: "global" - remote: "" - source: "factory" - + name: "default_name_3" + range: "global" + remote: "" + source: "factory" """ RETURN = """ @@ -194,7 +183,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -222,6 +210,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_certificate_remote_data(json): @@ -251,7 +242,6 @@ def underscore_to_hyphen(data): def vpn_certificate_remote(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -287,11 +277,16 @@ def vpn_certificate_remote(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -341,13 +336,12 @@ def is_successful_status(resp): def fortios_vpn_certificate(data, fos, check_mode): - fos.do_member_operation("vpn.certificate", "remote") if data["vpn_certificate_remote"]: resp = vpn_certificate_remote(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_certificate_remote")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -362,299 +356,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "remote": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "remote": {"v_range": [["v6.0.0", ""]], "type": "string"}, "range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "global", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vdom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "global"}, {"value": "vdom"}], }, "source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bundle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "factory"}, {"value": "user"}, {"value": "bundle"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -691,6 +406,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_setting.py index fc40112e0..442ab0579 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_certificate_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -253,6 +253,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' ssl_ocsp_option: description: - Specify whether the OCSP URL is from the certificate or the default OCSP server. @@ -302,60 +303,49 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: VPN certificate setting. - fortios_vpn_certificate_setting: - vdom: "{{ vdom }}" +- name: VPN certificate setting. + fortinet.fortios.fortios_vpn_certificate_setting: + vdom: "{{ vdom }}" vpn_certificate_setting: - cert_expire_warning: "14" - certname_dsa1024: " (source vpn.certificate.local.name)" - certname_dsa2048: " (source vpn.certificate.local.name)" - certname_ecdsa256: " (source vpn.certificate.local.name)" - certname_ecdsa384: " (source vpn.certificate.local.name)" - certname_ecdsa521: " (source vpn.certificate.local.name)" - certname_ed25519: " (source vpn.certificate.local.name)" - certname_ed448: " (source vpn.certificate.local.name)" - certname_rsa1024: " (source vpn.certificate.local.name)" - certname_rsa2048: " (source vpn.certificate.local.name)" - certname_rsa4096: " (source vpn.certificate.local.name)" - check_ca_cert: "enable" - check_ca_chain: "enable" - cmp_key_usage_checking: "enable" - cmp_save_extra_certs: "enable" - cn_allow_multi: "disable" - cn_match: "substring" - crl_verification: - chain_crl_absence: "ignore" - expiry: "ignore" - leaf_crl_absence: "ignore" - interface: " (source system.interface.name)" - interface_select_method: "auto" - ocsp_default_server: " (source vpn.certificate.ocsp-server.name)" - ocsp_option: "certificate" - ocsp_status: "enable" - proxy: "" - proxy_password: "" - proxy_port: "8080" - proxy_username: "" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - ssl_ocsp_option: "certificate" - ssl_ocsp_source_ip: "" - ssl_ocsp_status: "enable" - strict_crl_check: "enable" - strict_ocsp_check: "enable" - subject_match: "substring" - subject_set: "subset" - + cert_expire_warning: "14" + certname_dsa1024: " (source vpn.certificate.local.name)" + certname_dsa2048: " (source vpn.certificate.local.name)" + certname_ecdsa256: " (source vpn.certificate.local.name)" + certname_ecdsa384: " (source vpn.certificate.local.name)" + certname_ecdsa521: " (source vpn.certificate.local.name)" + certname_ed25519: " (source vpn.certificate.local.name)" + certname_ed448: " (source vpn.certificate.local.name)" + certname_rsa1024: " (source vpn.certificate.local.name)" + certname_rsa2048: " (source vpn.certificate.local.name)" + certname_rsa4096: " (source vpn.certificate.local.name)" + check_ca_cert: "enable" + check_ca_chain: "enable" + cmp_key_usage_checking: "enable" + cmp_save_extra_certs: "enable" + cn_allow_multi: "disable" + cn_match: "substring" + crl_verification: + chain_crl_absence: "ignore" + expiry: "ignore" + leaf_crl_absence: "ignore" + interface: " (source system.interface.name)" + interface_select_method: "auto" + ocsp_default_server: " (source vpn.certificate.ocsp-server.name)" + ocsp_option: "certificate" + ocsp_status: "enable" + proxy: "" + proxy_password: "" + proxy_port: "8080" + proxy_username: "" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + ssl_ocsp_option: "certificate" + ssl_ocsp_source_ip: "" + ssl_ocsp_status: "enable" + strict_crl_check: "enable" + strict_ocsp_check: "enable" + subject_match: "substring" + subject_set: "subset" """ RETURN = """ @@ -414,7 +404,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -524,7 +513,6 @@ def is_successful_status(resp): def fortios_vpn_certificate(data, fos): - fos.do_member_operation("vpn.certificate", "setting") if data["vpn_certificate_setting"]: resp = vpn_certificate_setting(data, fos) @@ -541,2064 +529,141 @@ def fortios_vpn_certificate(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ocsp_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ocsp_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "certificate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "server", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "proxy_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "proxy_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "proxy_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ocsp_default_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "certificate"}, {"value": "server"}], }, + "proxy": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "proxy_port": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "proxy_username": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "proxy_password": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "source_ip": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "ocsp_default_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "interface_select_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sdwan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "check_ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "check_ca_chain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "subject_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "substring", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "value", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "substring"}, {"value": "value"}], }, "subject_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "subset", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "superset", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "subset"}, {"value": "superset"}], }, "cn_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "substring", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "value", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "substring"}, {"value": "value"}], }, "cn_allow_multi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "crl_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "dict", "children": { "expiry": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "revoke", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "ignore"}, {"value": "revoke"}], }, "leaf_crl_absence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "revoke", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "ignore"}, {"value": "revoke"}], }, "chain_crl_absence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "ignore", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "revoke", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "ignore"}, {"value": "revoke"}], }, }, }, "strict_ocsp_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_min_proto_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SSLv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TLSv1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, "cmp_save_extra_certs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cmp_key_usage_checking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "cert_expire_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "certname_rsa1024": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certname_rsa2048": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certname_rsa4096": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "certname_dsa1024": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certname_dsa2048": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certname_ecdsa256": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certname_ecdsa384": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "certname_ecdsa521": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "certname_ed25519": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "certname_ed448": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "v_range": [["v6.0.0", "v6.0.0"], ["v6.0.11", "v6.2.0"], ["v6.2.5", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "cert_expire_warning": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "certname_rsa1024": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certname_rsa2048": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certname_rsa4096": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "certname_dsa1024": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certname_dsa2048": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certname_ecdsa256": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certname_ecdsa384": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "certname_ecdsa521": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "certname_ed25519": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "certname_ed448": {"v_range": [["v6.2.0", ""]], "type": "string"}, "ssl_ocsp_source_ip": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.2.4"]], "type": "string", }, "strict_crl_check": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_ocsp_status": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_ocsp_option": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "certificate", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "server", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "certificate"}, {"value": "server"}], }, }, } @@ -2636,6 +701,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ike_gateway.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ike_gateway.py index b07d504ec..46fef021d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ike_gateway.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ike_gateway.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: List gateways. - fortios_vpn_ike_gateway: - vdom: "{{ vdom }}" +- name: List gateways. + fortinet.fortios.fortios_vpn_ike_gateway: + vdom: "{{ vdom }}" vpn_ike_gateway: - name: "default_name_3" - + name: "default_name_3" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_vpn_ike(data, fos): - fos.do_member_operation("vpn.ike", "gateway") if data["vpn_ike_gateway"]: resp = vpn_ike_gateway(data, fos) @@ -275,39 +262,15 @@ def fortios_vpn_ike(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -344,6 +307,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_concentrator.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_concentrator.py index 43042d9a8..7dc1806e5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_concentrator.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_concentrator.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Concentrator ID (1 - 65535). + - Concentrator ID (1 - 65535). see Notes. required: true type: int member: @@ -118,29 +120,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Concentrator configuration. - fortios_vpn_ipsec_concentrator: - vdom: "{{ vdom }}" +- name: Concentrator configuration. + fortinet.fortios.fortios_vpn_ipsec_concentrator: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_concentrator: - id: "3" - member: - - - name: "default_name_5 (source vpn.ipsec.manualkey.name vpn.ipsec.phase1.name)" - name: "default_name_6" - src_check: "disable" - + id: "3" + member: + - + name: "default_name_5 (source vpn.ipsec.manualkey.name vpn.ipsec.phase1.name)" + name: "default_name_6" + src_check: "disable" """ RETURN = """ @@ -199,7 +190,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -227,6 +217,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_concentrator_data(json): @@ -256,7 +249,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_concentrator(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -292,11 +284,16 @@ def vpn_ipsec_concentrator(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,13 +343,12 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "concentrator") if data["vpn_ipsec_concentrator"]: resp = vpn_ipsec_concentrator(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_ipsec_concentrator")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -367,243 +363,27 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v7.0.1", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "src_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "member": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -640,6 +420,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_fec.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_fec.py index 74f7d6652..9f5bbf963 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_fec.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_fec.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -124,7 +124,7 @@ options: type: int seqno: description: - - Sequence number (1 - 64). + - Sequence number (1 - 64). see Notes. required: true type: int name: @@ -135,34 +135,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Forward Error Correction (FEC) mapping profiles. - fortios_vpn_ipsec_fec: - vdom: "{{ vdom }}" +- name: Configure Forward Error Correction (FEC) mapping profiles. + fortinet.fortios.fortios_vpn_ipsec_fec: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_fec: - mappings: - - - bandwidth_bi_threshold: "0" - bandwidth_down_threshold: "0" - bandwidth_up_threshold: "0" - base: "0" - latency_threshold: "0" - packet_loss_threshold: "0" - redundant: "0" - seqno: "0" - name: "default_name_12" - + mappings: + - + bandwidth_bi_threshold: "0" + bandwidth_down_threshold: "0" + bandwidth_up_threshold: "0" + base: "0" + latency_threshold: "0" + packet_loss_threshold: "0" + redundant: "0" + seqno: "" + name: "default_name_12" """ RETURN = """ @@ -221,7 +210,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -301,7 +289,6 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos): - fos.do_member_operation("vpn.ipsec", "fec") if data["vpn_ipsec_fec"]: resp = vpn_ipsec_fec(data, fos) @@ -321,196 +308,40 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.0.2", ""]], "type": "string", "required": True}, "mappings": { "type": "list", "elements": "dict", "children": { "seqno": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", "required": True, }, - "base": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", - }, - "redundant": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", - }, + "base": {"v_range": [["v7.0.2", ""]], "type": "integer"}, + "redundant": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "packet_loss_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", - }, - "latency_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, + "latency_threshold": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "bandwidth_up_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, "bandwidth_down_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, "bandwidth_bi_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], } @@ -545,6 +376,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_forticlient.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_forticlient.py index a9e0004ff..c2f48ca56 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_forticlient.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_forticlient.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -112,27 +112,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiClient policy realm. - fortios_vpn_ipsec_forticlient: - vdom: "{{ vdom }}" +- name: Configure FortiClient policy realm. + fortinet.fortios.fortios_vpn_ipsec_forticlient: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_forticlient: - phase2name: " (source vpn.ipsec.phase2.name vpn.ipsec.phase2-interface.name)" - realm: "" - status: "enable" - usergroupname: " (source user.group.name)" - + phase2name: " (source vpn.ipsec.phase2.name vpn.ipsec.phase2-interface.name)" + realm: "" + status: "enable" + usergroupname: " (source user.group.name)" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +207,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_forticlient_data(json): @@ -248,7 +239,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_forticlient(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -284,11 +274,16 @@ def vpn_ipsec_forticlient(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -338,13 +333,12 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "forticlient") if data["vpn_ipsec_forticlient"]: resp = vpn_ipsec_forticlient(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_ipsec_forticlient")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -359,210 +353,16 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "usergroupname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "phase2name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "realm": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "usergroupname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "phase2name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -599,6 +399,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey.py index 7b99a3efc..07fdbaa7c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -157,34 +157,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPsec manual keys. - fortios_vpn_ipsec_manualkey: - vdom: "{{ vdom }}" +- name: Configure IPsec manual keys. + fortinet.fortios.fortios_vpn_ipsec_manualkey: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_manualkey: - authentication: "null" - authkey: "" - enckey: "" - encryption: "null" - interface: " (source system.interface.name)" - local_gw: "" - localspi: "" - name: "default_name_10" - npu_offload: "enable" - remote_gw: "" - remotespi: "" - + authentication: "null" + authkey: "" + enckey: "" + encryption: "null" + interface: " (source system.interface.name)" + local_gw: "" + localspi: "" + name: "default_name_10" + npu_offload: "enable" + remote_gw: "" + remotespi: "" """ RETURN = """ @@ -243,7 +232,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -271,6 +259,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_manualkey_data(json): @@ -312,7 +303,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_manualkey(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -348,11 +338,16 @@ def vpn_ipsec_manualkey(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -402,13 +397,12 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "manualkey") if data["vpn_ipsec_manualkey"]: resp = vpn_ipsec_manualkey(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_ipsec_manualkey")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -423,881 +417,49 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "null"}, + {"value": "md5"}, + {"value": "sha1"}, + {"value": "sha256"}, + {"value": "sha384"}, + {"value": "sha512"}, ], }, "encryption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "null"}, + {"value": "des"}, + {"value": "3des"}, + {"value": "aes128"}, + {"value": "aes192"}, + {"value": "aes256"}, + {"value": "aria128"}, + {"value": "aria192"}, + {"value": "aria256"}, + {"value": "seed"}, ], }, - "authkey": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "enckey": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "localspi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remotespi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "authkey": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "enckey": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "localspi": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remotespi": {"v_range": [["v6.0.0", ""]], "type": "string"}, "npu_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1333,6 +495,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey_interface.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey_interface.py index 6c2771f9d..84a219127 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey_interface.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_manualkey_interface.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -179,38 +179,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPsec manual keys. - fortios_vpn_ipsec_manualkey_interface: - vdom: "{{ vdom }}" +- name: Configure IPsec manual keys. + fortinet.fortios.fortios_vpn_ipsec_manualkey_interface: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_manualkey_interface: - addr_type: "4" - auth_alg: "null" - auth_key: "" - enc_alg: "null" - enc_key: "" - interface: " (source system.interface.name)" - ip_version: "4" - local_gw: "" - local_gw6: "" - local_spi: "" - name: "default_name_13" - npu_offload: "enable" - remote_gw: "" - remote_gw6: "" - remote_spi: "" - + addr_type: "4" + auth_alg: "null" + auth_key: "" + enc_alg: "null" + enc_key: "" + interface: " (source system.interface.name)" + ip_version: "4" + local_gw: "" + local_gw6: "" + local_spi: "" + name: "default_name_13" + npu_offload: "enable" + remote_gw: "" + remote_gw6: "" + remote_spi: "" """ RETURN = """ @@ -269,7 +258,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -297,6 +285,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_manualkey_interface_data(json): @@ -342,7 +333,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_manualkey_interface(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -380,11 +370,16 @@ def vpn_ipsec_manualkey_interface(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -436,7 +431,6 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "manualkey-interface") if data["vpn_ipsec_manualkey_interface"]: resp = vpn_ipsec_manualkey_interface(data, fos, check_mode) @@ -444,7 +438,7 @@ def fortios_vpn_ipsec(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("vpn_ipsec_manualkey_interface") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -459,1117 +453,61 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "4"}, {"value": "6"}], }, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "remote_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "4"}, {"value": "6"}], }, + "remote_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "null"}, + {"value": "md5"}, + {"value": "sha1"}, + {"value": "sha256"}, + {"value": "sha384"}, + {"value": "sha512"}, ], }, "enc_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "null"}, + {"value": "des"}, + {"value": "3des"}, + {"value": "aes128"}, + {"value": "aes192"}, + {"value": "aes256"}, + {"value": "aria128"}, + {"value": "aria192"}, + {"value": "aria256"}, + {"value": "seed"}, ], }, - "auth_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "enc_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_spi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_spi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "auth_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "enc_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_spi": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_spi": {"v_range": [["v6.0.0", ""]], "type": "string"}, "npu_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1607,6 +545,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1.py index c63a65dfa..712fbf000 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -443,6 +443,17 @@ options: description: - Local physical, aggregate, or VLAN outgoing interface. Source system.interface.name. type: str + internal_domain_list: + description: + - One or more internal domain names in quotes separated by spaces. + type: list + elements: dict + suboptions: + domain_name: + description: + - Domain name. + required: true + type: str ip_delay_interval: description: - IP address reuse delay interval in seconds (0 - 28800). @@ -475,7 +486,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int start_ip: @@ -538,7 +549,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int start_ip: @@ -898,157 +909,149 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VPN remote gateway. - fortios_vpn_ipsec_phase1: - vdom: "{{ vdom }}" +- name: Configure VPN remote gateway. + fortinet.fortios.fortios_vpn_ipsec_phase1: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_phase1: - acct_verify: "enable" - add_gw_route: "enable" - add_route: "disable" - assign_ip: "disable" - assign_ip_from: "range" - authmethod: "psk" - authmethod_remote: "psk" - authpasswd: "" - authusr: "" - authusrgrp: " (source user.group.name)" - auto_negotiate: "enable" - backup_gateway: - - - address: "" - banner: "" - cert_id_validation: "enable" - certificate: - - - name: "default_name_19 (source vpn.certificate.local.name)" - childless_ike: "enable" - client_auto_negotiate: "disable" - client_keep_alive: "disable" - comments: "" - dhcp_ra_giaddr: "" - dhcp6_ra_linkaddr: "" - dhgrp: "1" - digital_signature_auth: "enable" - distance: "15" - dns_mode: "manual" - domain: "" - dpd: "disable" - dpd_retrycount: "3" - dpd_retryinterval: "" - eap: "enable" - eap_exclude_peergrp: " (source user.peergrp.name)" - eap_identity: "use-id-payload" - enforce_unique_id: "disable" - esn: "require" - fec_base: "10" - fec_codec: "rs" - fec_egress: "enable" - fec_health_check: " (source system.sdwan.health-check.name)" - fec_ingress: "enable" - fec_mapping_profile: "" - fec_receive_timeout: "50" - fec_redundant: "1" - fec_send_timeout: "5" - fgsp_sync: "enable" - forticlient_enforcement: "enable" - fragmentation: "enable" - fragmentation_mtu: "1200" - group_authentication: "enable" - group_authentication_secret: "" - ha_sync_esp_seqno: "enable" - idle_timeout: "enable" - idle_timeoutinterval: "15" - ike_version: "1" - inbound_dscp_copy: "enable" - include_local_lan: "disable" - interface: " (source system.interface.name)" - ip_delay_interval: "0" - ipv4_dns_server1: "" - ipv4_dns_server2: "" - ipv4_dns_server3: "" - ipv4_end_ip: "" - ipv4_exclude_range: - - - end_ip: "" - id: "68" - start_ip: "" - ipv4_name: " (source firewall.address.name firewall.addrgrp.name)" - ipv4_netmask: "" - ipv4_split_exclude: " (source firewall.address.name firewall.addrgrp.name)" - ipv4_split_include: " (source firewall.address.name firewall.addrgrp.name)" - ipv4_start_ip: "" - ipv4_wins_server1: "" - ipv4_wins_server2: "" - ipv6_dns_server1: "" - ipv6_dns_server2: "" - ipv6_dns_server3: "" - ipv6_end_ip: "" - ipv6_exclude_range: - - - end_ip: "" - id: "83" - start_ip: "" - ipv6_name: " (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_prefix: "128" - ipv6_split_exclude: " (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_split_include: " (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_start_ip: "" - keepalive: "10" - keylife: "86400" - local_gw: "" - localid: "" - localid_type: "auto" - loopback_asymroute: "enable" - mesh_selector_type: "disable" - mode: "aggressive" - mode_cfg: "disable" - mode_cfg_allow_client_selector: "disable" - name: "default_name_100" - nattraversal: "enable" - negotiate_timeout: "30" - network_id: "0" - network_overlay: "disable" - npu_offload: "enable" - peer: " (source user.peer.name)" - peergrp: " (source user.peergrp.name)" - peerid: "" - peertype: "any" - ppk: "disable" - ppk_identity: "" - ppk_secret: "" - priority: "1" - proposal: "des-md5" - psksecret: "" - psksecret_remote: "" - reauth: "disable" - rekey: "enable" - remote_gw: "" - remotegw_ddns: "" - rsa_signature_format: "pkcs1" - rsa_signature_hash_override: "enable" - save_password: "disable" - send_cert_chain: "enable" - signature_hash_alg: "sha1" - split_include_service: " (source firewall.service.group.name firewall.service.custom.name)" - suite_b: "disable" - type: "static" - unity_support: "disable" - usrgrp: " (source user.group.name)" - wizard_type: "custom" - xauthtype: "disable" - + acct_verify: "enable" + add_gw_route: "enable" + add_route: "disable" + assign_ip: "disable" + assign_ip_from: "range" + authmethod: "psk" + authmethod_remote: "psk" + authpasswd: "" + authusr: "" + authusrgrp: " (source user.group.name)" + auto_negotiate: "enable" + backup_gateway: + - + address: "" + banner: "" + cert_id_validation: "enable" + certificate: + - + name: "default_name_19 (source vpn.certificate.local.name)" + childless_ike: "enable" + client_auto_negotiate: "disable" + client_keep_alive: "disable" + comments: "" + dhcp_ra_giaddr: "" + dhcp6_ra_linkaddr: "" + dhgrp: "1" + digital_signature_auth: "enable" + distance: "15" + dns_mode: "manual" + domain: "" + dpd: "disable" + dpd_retrycount: "3" + dpd_retryinterval: "" + eap: "enable" + eap_exclude_peergrp: " (source user.peergrp.name)" + eap_identity: "use-id-payload" + enforce_unique_id: "disable" + esn: "require" + fec_base: "10" + fec_codec: "rs" + fec_egress: "enable" + fec_health_check: " (source system.sdwan.health-check.name)" + fec_ingress: "enable" + fec_mapping_profile: "" + fec_receive_timeout: "50" + fec_redundant: "1" + fec_send_timeout: "5" + fgsp_sync: "enable" + forticlient_enforcement: "enable" + fragmentation: "enable" + fragmentation_mtu: "1200" + group_authentication: "enable" + group_authentication_secret: "" + ha_sync_esp_seqno: "enable" + idle_timeout: "enable" + idle_timeoutinterval: "15" + ike_version: "1" + inbound_dscp_copy: "enable" + include_local_lan: "disable" + interface: " (source system.interface.name)" + internal_domain_list: + - + domain_name: "" + ip_delay_interval: "0" + ipv4_dns_server1: "" + ipv4_dns_server2: "" + ipv4_dns_server3: "" + ipv4_end_ip: "" + ipv4_exclude_range: + - + end_ip: "" + id: "70" + start_ip: "" + ipv4_name: " (source firewall.address.name firewall.addrgrp.name)" + ipv4_netmask: "" + ipv4_split_exclude: " (source firewall.address.name firewall.addrgrp.name)" + ipv4_split_include: " (source firewall.address.name firewall.addrgrp.name)" + ipv4_start_ip: "" + ipv4_wins_server1: "" + ipv4_wins_server2: "" + ipv6_dns_server1: "" + ipv6_dns_server2: "" + ipv6_dns_server3: "" + ipv6_end_ip: "" + ipv6_exclude_range: + - + end_ip: "" + id: "85" + start_ip: "" + ipv6_name: " (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_prefix: "128" + ipv6_split_exclude: " (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_split_include: " (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_start_ip: "" + keepalive: "10" + keylife: "86400" + local_gw: "" + localid: "" + localid_type: "auto" + loopback_asymroute: "enable" + mesh_selector_type: "disable" + mode: "aggressive" + mode_cfg: "disable" + mode_cfg_allow_client_selector: "disable" + name: "default_name_102" + nattraversal: "enable" + negotiate_timeout: "30" + network_id: "0" + network_overlay: "disable" + npu_offload: "enable" + peer: " (source user.peer.name)" + peergrp: " (source user.peergrp.name)" + peerid: "" + peertype: "any" + ppk: "disable" + ppk_identity: "" + ppk_secret: "" + priority: "1" + proposal: "des-md5" + psksecret: "" + psksecret_remote: "" + reauth: "disable" + rekey: "enable" + remote_gw: "" + remotegw_ddns: "" + rsa_signature_format: "pkcs1" + rsa_signature_hash_override: "enable" + save_password: "disable" + send_cert_chain: "enable" + signature_hash_alg: "sha1" + split_include_service: " (source firewall.service.group.name firewall.service.custom.name)" + suite_b: "disable" + type: "static" + unity_support: "disable" + usrgrp: " (source user.group.name)" + wizard_type: "custom" + xauthtype: "disable" """ RETURN = """ @@ -1107,7 +1110,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1135,6 +1137,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_phase1_data(json): @@ -1195,6 +1200,7 @@ def filter_vpn_ipsec_phase1_data(json): "inbound_dscp_copy", "include_local_lan", "interface", + "internal_domain_list", "ip_delay_interval", "ipv4_dns_server1", "ipv4_dns_server2", @@ -1318,7 +1324,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_phase1(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1355,11 +1360,16 @@ def vpn_ipsec_phase1(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1407,13 +1417,12 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "phase1") if data["vpn_ipsec_phase1"]: resp = vpn_ipsec_phase1(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_ipsec_phase1")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1428,9846 +1437,563 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ddns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "static"}, {"value": "dynamic"}, {"value": "ddns"}], }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ike_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "remote_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remotegw_ddns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "1"}, {"value": "2"}], }, - "keylife": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "remote_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remotegw_ddns": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "keylife": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "certificate": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "authmethod": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "psk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "signature", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "psk"}, {"value": "signature"}], }, "authmethod_remote": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "psk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "signature", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "psk"}, {"value": "signature"}], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "aggressive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "main", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "aggressive"}, {"value": "main"}], }, "peertype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "one", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "peer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "peergrp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "one"}, + {"value": "dialup"}, + {"value": "peer"}, + {"value": "peergrp"}, ], }, - "peerid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "usrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "peergrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "peerid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "usrgrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "peer": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "peergrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mode_cfg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "mode_cfg_allow_client_selector": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "assign_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "assign_ip_from": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usrgrp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "range"}, + {"value": "usrgrp"}, + {"value": "dhcp"}, + {"value": "name"}, ], }, - "ipv4_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_netmask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ipv4_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_netmask": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dhcp_ra_giaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "dhcp6_ra_linkaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "dns_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipv4_dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_dns_server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "manual"}, {"value": "auto"}], }, - "ipv4_wins_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_wins_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ipv4_dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_dns_server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "internal_domain_list": { + "type": "list", + "elements": "dict", + "children": { + "domain_name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } }, - "type": "string", + "v_range": [["v7.4.1", ""]], }, + "ipv4_wins_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_wins_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ipv4_exclude_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ipv4_split_include": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "split_include_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, - "ipv4_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ipv4_split_include": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "split_include_service": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_prefix": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipv6_dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_exclude_range": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v6.0.0", ""]], + "type": "integer", + "required": True, + }, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, - "ipv6_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ipv6_split_include": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip_delay_interval": {"v_range": [["v7.0.1", ""]], "type": "integer"}, + "unity_support": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ipv6_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "banner": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "include_local_lan": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ipv6_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipv6_dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ipv4_split_exclude": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_split_exclude": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "save_password": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ipv6_dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "client_auto_negotiate": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ipv6_dns_server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "client_keep_alive": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ipv6_exclude_range": { + "backup_gateway": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "address": { + "v_range": [["v6.0.0", ""]], "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "required": True, + } }, + "v_range": [["v6.0.0", ""]], }, - "ipv6_split_include": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "proposal": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [ + {"value": "des-md5"}, + {"value": "des-sha1"}, + {"value": "des-sha256"}, + {"value": "des-sha384"}, + {"value": "des-sha512"}, + {"value": "3des-md5"}, + {"value": "3des-sha1"}, + {"value": "3des-sha256"}, + {"value": "3des-sha384"}, + {"value": "3des-sha512"}, + {"value": "aes128-md5"}, + {"value": "aes128-sha1"}, + {"value": "aes128-sha256"}, + {"value": "aes128-sha384"}, + {"value": "aes128-sha512"}, + {"value": "aes128gcm-prfsha1"}, + {"value": "aes128gcm-prfsha256"}, + {"value": "aes128gcm-prfsha384"}, + {"value": "aes128gcm-prfsha512"}, + {"value": "aes192-md5"}, + {"value": "aes192-sha1"}, + {"value": "aes192-sha256"}, + {"value": "aes192-sha384"}, + {"value": "aes192-sha512"}, + {"value": "aes256-md5"}, + {"value": "aes256-sha1"}, + {"value": "aes256-sha256"}, + {"value": "aes256-sha384"}, + {"value": "aes256-sha512"}, + {"value": "aes256gcm-prfsha1"}, + {"value": "aes256gcm-prfsha256"}, + {"value": "aes256gcm-prfsha384"}, + {"value": "aes256gcm-prfsha512"}, + {"value": "chacha20poly1305-prfsha1"}, + {"value": "chacha20poly1305-prfsha256"}, + {"value": "chacha20poly1305-prfsha384"}, + {"value": "chacha20poly1305-prfsha512"}, + {"value": "aria128-md5"}, + {"value": "aria128-sha1"}, + {"value": "aria128-sha256"}, + {"value": "aria128-sha384"}, + {"value": "aria128-sha512"}, + {"value": "aria192-md5"}, + {"value": "aria192-sha1"}, + {"value": "aria192-sha256"}, + {"value": "aria192-sha384"}, + {"value": "aria192-sha512"}, + {"value": "aria256-md5"}, + {"value": "aria256-sha1"}, + {"value": "aria256-sha256"}, + {"value": "aria256-sha384"}, + {"value": "aria256-sha512"}, + {"value": "seed-md5"}, + {"value": "seed-sha1"}, + {"value": "seed-sha256"}, + {"value": "seed-sha384"}, + {"value": "seed-sha512"}, + ], + "multiple_values": True, + "elements": "str", }, - "ipv6_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "add_route": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ip_delay_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "add_gw_route": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "unity_support": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "psksecret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "psksecret_remote": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "keepalive": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "localid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "localid_type": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "fqdn"}, + {"value": "user-fqdn"}, + {"value": "keyid"}, + {"value": "address"}, + {"value": "asn1dn"}, ], }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "auto_negotiate": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "banner": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "negotiate_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fragmentation": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "include_local_lan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "dpd": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "on-idle"}, + {"value": "on-demand"}, ], }, - "ipv4_split_exclude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "dpd_retrycount": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dpd_retryinterval": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "npu_offload": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ipv6_split_exclude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "send_cert_chain": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "save_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "dhgrp": { + "v_range": [["v6.0.0", ""]], + "type": "list", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "1"}, + {"value": "2"}, + {"value": "5"}, + {"value": "14"}, + {"value": "15"}, + {"value": "16"}, + {"value": "17"}, + {"value": "18"}, + {"value": "19"}, + {"value": "20"}, + {"value": "21"}, + {"value": "27"}, + {"value": "28"}, + {"value": "29"}, + {"value": "30"}, + {"value": "31"}, + {"value": "32", "v_range": [["v6.2.0", ""]]}, ], + "multiple_values": True, + "elements": "str", }, - "client_auto_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "suite_b": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "client_keep_alive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "backup_gateway": { - "type": "list", - "elements": "dict", - "children": { - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "proposal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "add_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "add_gw_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "psksecret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "psksecret_remote": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "keepalive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "localid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "localid_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user-fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "keyid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "asn1dn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "negotiate_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fragmentation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dpd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "on-idle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "on-demand", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dpd_retrycount": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dpd_retryinterval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "forticlient_enforcement": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "npu_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "send_cert_chain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "dhgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "15", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "17", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "27", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "29", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "30", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "31", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "suite_b": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "suite-b-gcm-128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "suite-b-gcm-256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eap_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "use-id-payload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send-request", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "suite-b-gcm-128"}, + {"value": "suite-b-gcm-256"}, ], }, - "eap_exclude_peergrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "acct_verify": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "eap": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ppk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "eap_identity": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "require", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "use-id-payload"}, {"value": "send-request"}], }, - "ppk_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "eap_exclude_peergrp": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "acct_verify": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ppk_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ppk": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "allow"}, {"value": "require"}], }, + "ppk_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ppk_identity": {"v_range": [["v6.0.0", ""]], "type": "string"}, "wizard_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-forticlient", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-ios", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-android", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-windows", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static-fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static-cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-cisco-fw", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "simplified-static-fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "hub-fortigate-auto-discovery", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "custom"}, + {"value": "dialup-forticlient"}, + {"value": "dialup-ios"}, + {"value": "dialup-android"}, + {"value": "dialup-windows"}, + {"value": "dialup-cisco"}, + {"value": "static-fortigate"}, + {"value": "dialup-fortigate"}, + {"value": "static-cisco"}, + {"value": "dialup-cisco-fw"}, + {"value": "simplified-static-fortigate", "v_range": [["v6.2.0", ""]]}, + {"value": "hub-fortigate-auto-discovery", "v_range": [["v6.2.0", ""]]}, { "value": "spoke-fortigate-auto-discovery", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, ], }, "xauthtype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "client"}, + {"value": "pap"}, + {"value": "chap"}, + {"value": "auto"}, ], }, "reauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "authusr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "authpasswd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "authusr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "authpasswd": {"v_range": [["v6.0.0", ""]], "type": "string"}, "group_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "group_authentication_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "authusrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "group_authentication_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "authusrgrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mesh_selector_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "subnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "subnet"}, {"value": "host"}], }, "idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "idle_timeoutinterval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "idle_timeoutinterval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ha_sync_esp_seqno": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fgsp_sync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inbound_dscp_copy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nattraversal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "forced", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "forced"}], }, - "fragmentation_mtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "esn": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "require"}, {"value": "allow"}, {"value": "disable"}], }, + "fragmentation_mtu": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "childless_ike": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rekey": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "digital_signature_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "signature_hash_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha2-256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha2-384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha2-512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sha1"}, + {"value": "sha2-256"}, + {"value": "sha2-384"}, + {"value": "sha2-512"}, ], "multiple_values": True, "elements": "str", }, "rsa_signature_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pkcs1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pss", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pkcs1"}, {"value": "pss"}], }, "rsa_signature_hash_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "enforce_unique_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "keep-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "keep-old", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "keep-new"}, + {"value": "keep-old"}, ], }, "cert_id_validation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fec_egress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "fec_send_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "fec_base": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "fec_send_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "fec_base": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "fec_codec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "rs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "xor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "rs", "v_range": [["v7.0.2", ""]]}, + {"value": "xor", "v_range": [["v7.0.2", ""]]}, ], }, - "fec_redundant": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "fec_redundant": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "fec_ingress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "fec_receive_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "fec_health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "fec_mapping_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "esn": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "fec_receive_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "fec_health_check": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "fec_mapping_profile": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "forticlient_enforcement": { + "v_range": [["v6.0.0", "v7.4.0"]], "type": "string", - "options": [ - { - "value": "require", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "network_overlay": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.0.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "network_id": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "network_id": {"v_range": [["v6.2.0", "v7.0.1"]], "type": "integer"}, "loopback_asymroute": { - "revisions": { - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", "v7.0.1"]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.0.1": True, "v7.0.0": True}}, - {"value": "disable", "revisions": {"v7.0.1": True, "v7.0.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -11302,6 +2028,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1_interface.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1_interface.py index 9e2240a26..044529d74 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1_interface.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1_interface.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -379,6 +379,13 @@ options: choices: - 'use-id-payload' - 'send-request' + ems_sn_check: + description: + - Enable/disable verification of EMS serial number. + type: str + choices: + - 'enable' + - 'disable' encap_local_gw4: description: - Local IPv4 address of GRE/VXLAN tunnel. @@ -574,6 +581,17 @@ options: description: - Local physical, aggregate, or VLAN outgoing interface. Source system.interface.name. type: str + internal_domain_list: + description: + - One or more internal domain names in quotes separated by spaces. + type: list + elements: dict + suboptions: + domain_name: + description: + - Domain name. + required: true + type: str ip_delay_interval: description: - IP address reuse delay interval in seconds (0 - 28800). @@ -620,7 +638,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int start_ip: @@ -683,7 +701,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int start_ip: @@ -788,7 +806,14 @@ options: monitor: description: - IPsec interface as backup for primary interface. Source vpn.ipsec.phase1-interface.name. - type: str + type: list + elements: dict + suboptions: + name: + description: + - IPsec interface as backup for primary interface. Source vpn.ipsec.phase1-interface.name. + required: true + type: str monitor_hold_down_delay: description: - Time to wait in seconds before recovery once primary re-establishes. @@ -818,6 +843,11 @@ options: - 'thursday' - 'friday' - 'saturday' + monitor_min: + description: + - Minimum number of links to become degraded before activating this interface. Zero (0) means all links must be down before activating + this interface. + type: int name: description: - IPsec remote gateway name. @@ -1124,196 +1154,192 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VPN remote gateway. - fortios_vpn_ipsec_phase1_interface: - vdom: "{{ vdom }}" +- name: Configure VPN remote gateway. + fortinet.fortios.fortios_vpn_ipsec_phase1_interface: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_phase1_interface: - acct_verify: "enable" - add_gw_route: "enable" - add_route: "disable" - aggregate_member: "enable" - aggregate_weight: "1" - assign_ip: "disable" - assign_ip_from: "range" - authmethod: "psk" - authmethod_remote: "psk" - authpasswd: "" - authusr: "" - authusrgrp: " (source user.group.name)" - auto_discovery_crossover: "allow" - auto_discovery_forwarder: "enable" - auto_discovery_offer_interval: "5" - auto_discovery_psk: "enable" - auto_discovery_receiver: "enable" - auto_discovery_sender: "enable" - auto_discovery_shortcuts: "independent" - auto_negotiate: "enable" - backup_gateway: - - - address: "" - banner: "" - cert_id_validation: "enable" - certificate: - - - name: "default_name_28 (source vpn.certificate.local.name)" - childless_ike: "enable" - client_auto_negotiate: "disable" - client_keep_alive: "disable" - comments: "" - default_gw: "" - default_gw_priority: "0" - dev_id: "" - dev_id_notification: "disable" - dhcp_ra_giaddr: "" - dhcp6_ra_linkaddr: "" - dhgrp: "1" - digital_signature_auth: "enable" - distance: "15" - dns_mode: "manual" - domain: "" - dpd: "disable" - dpd_retrycount: "3" - dpd_retryinterval: "" - eap: "enable" - eap_exclude_peergrp: " (source user.peergrp.name)" - eap_identity: "use-id-payload" - encap_local_gw4: "" - encap_local_gw6: "" - encap_remote_gw4: "" - encap_remote_gw6: "" - encapsulation: "none" - encapsulation_address: "ike" - enforce_unique_id: "disable" - esn: "require" - exchange_fgt_device_id: "enable" - exchange_interface_ip: "enable" - exchange_ip_addr4: "" - exchange_ip_addr6: "" - fec_base: "10" - fec_codec: "rs" - fec_egress: "enable" - fec_health_check: " (source system.sdwan.health-check.name)" - fec_ingress: "enable" - fec_mapping_profile: " (source vpn.ipsec.fec.name)" - fec_receive_timeout: "50" - fec_redundant: "1" - fec_send_timeout: "5" - fgsp_sync: "enable" - forticlient_enforcement: "enable" - fragmentation: "enable" - fragmentation_mtu: "1200" - group_authentication: "enable" - group_authentication_secret: "" - ha_sync_esp_seqno: "enable" - idle_timeout: "enable" - idle_timeoutinterval: "15" - ike_version: "1" - inbound_dscp_copy: "enable" - include_local_lan: "disable" - interface: " (source system.interface.name)" - ip_delay_interval: "0" - ip_fragmentation: "pre-encapsulation" - ip_version: "4" - ipv4_dns_server1: "" - ipv4_dns_server2: "" - ipv4_dns_server3: "" - ipv4_end_ip: "" - ipv4_exclude_range: - - - end_ip: "" - id: "93" - start_ip: "" - ipv4_name: " (source firewall.address.name firewall.addrgrp.name)" - ipv4_netmask: "" - ipv4_split_exclude: " (source firewall.address.name firewall.addrgrp.name)" - ipv4_split_include: " (source firewall.address.name firewall.addrgrp.name)" - ipv4_start_ip: "" - ipv4_wins_server1: "" - ipv4_wins_server2: "" - ipv6_dns_server1: "" - ipv6_dns_server2: "" - ipv6_dns_server3: "" - ipv6_end_ip: "" - ipv6_exclude_range: - - - end_ip: "" - id: "108" - start_ip: "" - ipv6_name: " (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_prefix: "128" - ipv6_split_exclude: " (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_split_include: " (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_start_ip: "" - keepalive: "10" - keylife: "86400" - kms: " (source vpn.kmip-server.name)" - link_cost: "0" - local_gw: "" - local_gw6: "" - localid: "" - localid_type: "auto" - loopback_asymroute: "enable" - mesh_selector_type: "disable" - mode: "aggressive" - mode_cfg: "disable" - mode_cfg_allow_client_selector: "disable" - monitor: " (source vpn.ipsec.phase1-interface.name)" - monitor_hold_down_delay: "0" - monitor_hold_down_time: "" - monitor_hold_down_type: "immediate" - monitor_hold_down_weekday: "everyday" - name: "default_name_133" - nattraversal: "enable" - negotiate_timeout: "30" - net_device: "enable" - network_id: "0" - network_overlay: "disable" - npu_offload: "enable" - packet_redistribution: "enable" - passive_mode: "enable" - peer: " (source user.peer.name)" - peergrp: " (source user.peergrp.name)" - peerid: "" - peertype: "any" - ppk: "disable" - ppk_identity: "" - ppk_secret: "" - priority: "1" - proposal: "des-md5" - psksecret: "" - psksecret_remote: "" - reauth: "disable" - rekey: "enable" - remote_gw: "" - remote_gw6: "" - remotegw_ddns: "" - rsa_signature_format: "pkcs1" - rsa_signature_hash_override: "enable" - save_password: "disable" - send_cert_chain: "enable" - signature_hash_alg: "sha1" - split_include_service: " (source firewall.service.group.name firewall.service.custom.name)" - suite_b: "disable" - tunnel_search: "selectors" - type: "static" - unity_support: "disable" - usrgrp: " (source user.group.name)" - vni: "0" - wizard_type: "custom" - xauthtype: "disable" - + acct_verify: "enable" + add_gw_route: "enable" + add_route: "disable" + aggregate_member: "enable" + aggregate_weight: "1" + assign_ip: "disable" + assign_ip_from: "range" + authmethod: "psk" + authmethod_remote: "psk" + authpasswd: "" + authusr: "" + authusrgrp: " (source user.group.name)" + auto_discovery_crossover: "allow" + auto_discovery_forwarder: "enable" + auto_discovery_offer_interval: "5" + auto_discovery_psk: "enable" + auto_discovery_receiver: "enable" + auto_discovery_sender: "enable" + auto_discovery_shortcuts: "independent" + auto_negotiate: "enable" + backup_gateway: + - + address: "" + banner: "" + cert_id_validation: "enable" + certificate: + - + name: "default_name_28 (source vpn.certificate.local.name)" + childless_ike: "enable" + client_auto_negotiate: "disable" + client_keep_alive: "disable" + comments: "" + default_gw: "" + default_gw_priority: "0" + dev_id: "" + dev_id_notification: "disable" + dhcp_ra_giaddr: "" + dhcp6_ra_linkaddr: "" + dhgrp: "1" + digital_signature_auth: "enable" + distance: "15" + dns_mode: "manual" + domain: "" + dpd: "disable" + dpd_retrycount: "3" + dpd_retryinterval: "" + eap: "enable" + eap_exclude_peergrp: " (source user.peergrp.name)" + eap_identity: "use-id-payload" + ems_sn_check: "enable" + encap_local_gw4: "" + encap_local_gw6: "" + encap_remote_gw4: "" + encap_remote_gw6: "" + encapsulation: "none" + encapsulation_address: "ike" + enforce_unique_id: "disable" + esn: "require" + exchange_fgt_device_id: "enable" + exchange_interface_ip: "enable" + exchange_ip_addr4: "" + exchange_ip_addr6: "" + fec_base: "10" + fec_codec: "rs" + fec_egress: "enable" + fec_health_check: " (source system.sdwan.health-check.name)" + fec_ingress: "enable" + fec_mapping_profile: " (source vpn.ipsec.fec.name)" + fec_receive_timeout: "50" + fec_redundant: "1" + fec_send_timeout: "5" + fgsp_sync: "enable" + forticlient_enforcement: "enable" + fragmentation: "enable" + fragmentation_mtu: "1200" + group_authentication: "enable" + group_authentication_secret: "" + ha_sync_esp_seqno: "enable" + idle_timeout: "enable" + idle_timeoutinterval: "15" + ike_version: "1" + inbound_dscp_copy: "enable" + include_local_lan: "disable" + interface: " (source system.interface.name)" + internal_domain_list: + - + domain_name: "" + ip_delay_interval: "0" + ip_fragmentation: "pre-encapsulation" + ip_version: "4" + ipv4_dns_server1: "" + ipv4_dns_server2: "" + ipv4_dns_server3: "" + ipv4_end_ip: "" + ipv4_exclude_range: + - + end_ip: "" + id: "96" + start_ip: "" + ipv4_name: " (source firewall.address.name firewall.addrgrp.name)" + ipv4_netmask: "" + ipv4_split_exclude: " (source firewall.address.name firewall.addrgrp.name)" + ipv4_split_include: " (source firewall.address.name firewall.addrgrp.name)" + ipv4_start_ip: "" + ipv4_wins_server1: "" + ipv4_wins_server2: "" + ipv6_dns_server1: "" + ipv6_dns_server2: "" + ipv6_dns_server3: "" + ipv6_end_ip: "" + ipv6_exclude_range: + - + end_ip: "" + id: "111" + start_ip: "" + ipv6_name: " (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_prefix: "128" + ipv6_split_exclude: " (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_split_include: " (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_start_ip: "" + keepalive: "10" + keylife: "86400" + kms: " (source vpn.kmip-server.name)" + link_cost: "0" + local_gw: "" + local_gw6: "" + localid: "" + localid_type: "auto" + loopback_asymroute: "enable" + mesh_selector_type: "disable" + mode: "aggressive" + mode_cfg: "disable" + mode_cfg_allow_client_selector: "disable" + monitor: + - + name: "default_name_132 (source vpn.ipsec.phase1-interface.name)" + monitor_hold_down_delay: "0" + monitor_hold_down_time: "" + monitor_hold_down_type: "immediate" + monitor_hold_down_weekday: "everyday" + monitor_min: "0" + name: "default_name_138" + nattraversal: "enable" + negotiate_timeout: "30" + net_device: "enable" + network_id: "0" + network_overlay: "disable" + npu_offload: "enable" + packet_redistribution: "enable" + passive_mode: "enable" + peer: " (source user.peer.name)" + peergrp: " (source user.peergrp.name)" + peerid: "" + peertype: "any" + ppk: "disable" + ppk_identity: "" + ppk_secret: "" + priority: "1" + proposal: "des-md5" + psksecret: "" + psksecret_remote: "" + reauth: "disable" + rekey: "enable" + remote_gw: "" + remote_gw6: "" + remotegw_ddns: "" + rsa_signature_format: "pkcs1" + rsa_signature_hash_override: "enable" + save_password: "disable" + send_cert_chain: "enable" + signature_hash_alg: "sha1" + split_include_service: " (source firewall.service.group.name firewall.service.custom.name)" + suite_b: "disable" + tunnel_search: "selectors" + type: "static" + unity_support: "disable" + usrgrp: " (source user.group.name)" + vni: "0" + wizard_type: "custom" + xauthtype: "disable" """ RETURN = """ @@ -1372,7 +1398,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1400,6 +1425,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_phase1_interface_data(json): @@ -1449,6 +1477,7 @@ def filter_vpn_ipsec_phase1_interface_data(json): "eap", "eap_exclude_peergrp", "eap_identity", + "ems_sn_check", "encap_local_gw4", "encap_local_gw6", "encap_remote_gw4", @@ -1483,6 +1512,7 @@ def filter_vpn_ipsec_phase1_interface_data(json): "inbound_dscp_copy", "include_local_lan", "interface", + "internal_domain_list", "ip_delay_interval", "ip_fragmentation", "ip_version", @@ -1526,6 +1556,7 @@ def filter_vpn_ipsec_phase1_interface_data(json): "monitor_hold_down_time", "monitor_hold_down_type", "monitor_hold_down_weekday", + "monitor_min", "name", "nattraversal", "negotiate_timeout", @@ -1622,7 +1653,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_phase1_interface(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1661,11 +1691,16 @@ def vpn_ipsec_phase1_interface(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1715,7 +1750,6 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "phase1-interface") if data["vpn_ipsec_phase1_interface"]: resp = vpn_ipsec_phase1_interface(data, fos, check_mode) @@ -1723,7 +1757,7 @@ def fortios_vpn_ipsec(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("vpn_ipsec_phase1_interface") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1738,12273 +1772,722 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ddns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "static"}, {"value": "dynamic"}, {"value": "ddns"}], }, + "interface": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ip_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "4"}, {"value": "6"}], }, "ike_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "local_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "1"}, {"value": "2"}], }, - "local_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remotegw_ddns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "keylife": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "local_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remotegw_ddns": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "keylife": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "certificate": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "authmethod": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "psk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "signature", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "psk"}, {"value": "signature"}], }, "authmethod_remote": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "psk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "signature", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "psk"}, {"value": "signature"}], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "aggressive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "main", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "aggressive"}, {"value": "main"}], }, "peertype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "one", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "peer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "peergrp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "one"}, + {"value": "dialup"}, + {"value": "peer"}, + {"value": "peergrp"}, ], }, - "peerid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "default_gw": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "default_gw_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "usrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "peergrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "peerid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "default_gw": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "default_gw_priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "usrgrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "peer": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "peergrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, "monitor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "monitor_min": {"v_range": [["v7.4.1", ""]], "type": "integer"}, "monitor_hold_down_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "immediate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "delay", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "monitor_hold_down_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "immediate"}, {"value": "delay"}, {"value": "time"}], }, + "monitor_hold_down_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "monitor_hold_down_weekday": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "everyday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sunday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tuesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wednesday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thursday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "friday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "saturday", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "everyday"}, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], }, - "monitor_hold_down_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "monitor_hold_down_time": {"v_range": [["v6.0.0", ""]], "type": "string"}, "net_device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "passive_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "exchange_interface_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "exchange_ip_addr4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "exchange_ip_addr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "exchange_ip_addr4": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "exchange_ip_addr6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "aggregate_member": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "aggregate_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "aggregate_weight": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "packet_redistribution": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [], "type": "string", "options": [ - { - "value": "enable", - "revisions": {"v7.4.0": True, "v7.2.2": True, "v7.2.1": True}, - }, - { - "value": "disable", - "revisions": {"v7.4.0": True, "v7.2.2": True, "v7.2.1": True}, - }, + {"value": "enable", "v_range": [["v7.2.1", "v7.2.2"], ["v7.4.0", ""]]}, + {"value": "disable", "v_range": [["v7.2.1", "v7.2.2"], ["v7.4.0", ""]]}, ], }, "mode_cfg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "mode_cfg_allow_client_selector": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "assign_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "assign_ip_from": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usrgrp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "range"}, + {"value": "usrgrp"}, + {"value": "dhcp"}, + {"value": "name"}, ], }, - "ipv4_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_netmask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ipv4_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_netmask": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dhcp_ra_giaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "dhcp6_ra_linkaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "dns_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipv4_dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_dns_server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_wins_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "manual"}, {"value": "auto"}], }, - "ipv4_wins_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ipv4_dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_dns_server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "internal_domain_list": { + "type": "list", + "elements": "dict", + "children": { + "domain_name": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } }, - "type": "string", + "v_range": [["v7.4.1", ""]], }, + "ipv4_wins_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_wins_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ipv4_exclude_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ipv4_split_include": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "split_include_service": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv4_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_prefix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipv6_dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "type": "string", - }, - "ipv6_dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_dns_server3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "ipv4_split_include": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "split_include_service": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv4_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_prefix": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipv6_dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server3": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ipv6_exclude_range": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, - "ipv6_split_include": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip_delay_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "ipv6_split_include": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip_delay_interval": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "unity_support": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "banner": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "domain": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "banner": {"v_range": [["v6.0.0", ""]], "type": "string"}, "include_local_lan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ipv4_split_exclude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_split_exclude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ipv4_split_exclude": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_split_exclude": {"v_range": [["v6.0.0", ""]], "type": "string"}, "save_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "client_auto_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "client_keep_alive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "backup_gateway": { "type": "list", "elements": "dict", "children": { "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "proposal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm-prfsha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm-prfsha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305-prfsha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "des-md5"}, + {"value": "des-sha1"}, + {"value": "des-sha256"}, + {"value": "des-sha384"}, + {"value": "des-sha512"}, + {"value": "3des-md5"}, + {"value": "3des-sha1"}, + {"value": "3des-sha256"}, + {"value": "3des-sha384"}, + {"value": "3des-sha512"}, + {"value": "aes128-md5"}, + {"value": "aes128-sha1"}, + {"value": "aes128-sha256"}, + {"value": "aes128-sha384"}, + {"value": "aes128-sha512"}, + {"value": "aes128gcm-prfsha1"}, + {"value": "aes128gcm-prfsha256"}, + {"value": "aes128gcm-prfsha384"}, + {"value": "aes128gcm-prfsha512"}, + {"value": "aes192-md5"}, + {"value": "aes192-sha1"}, + {"value": "aes192-sha256"}, + {"value": "aes192-sha384"}, + {"value": "aes192-sha512"}, + {"value": "aes256-md5"}, + {"value": "aes256-sha1"}, + {"value": "aes256-sha256"}, + {"value": "aes256-sha384"}, + {"value": "aes256-sha512"}, + {"value": "aes256gcm-prfsha1"}, + {"value": "aes256gcm-prfsha256"}, + {"value": "aes256gcm-prfsha384"}, + {"value": "aes256gcm-prfsha512"}, + {"value": "chacha20poly1305-prfsha1"}, + {"value": "chacha20poly1305-prfsha256"}, + {"value": "chacha20poly1305-prfsha384"}, + {"value": "chacha20poly1305-prfsha512"}, + {"value": "aria128-md5"}, + {"value": "aria128-sha1"}, + {"value": "aria128-sha256"}, + {"value": "aria128-sha384"}, + {"value": "aria128-sha512"}, + {"value": "aria192-md5"}, + {"value": "aria192-sha1"}, + {"value": "aria192-sha256"}, + {"value": "aria192-sha384"}, + {"value": "aria192-sha512"}, + {"value": "aria256-md5"}, + {"value": "aria256-sha1"}, + {"value": "aria256-sha256"}, + {"value": "aria256-sha384"}, + {"value": "aria256-sha512"}, + {"value": "seed-md5"}, + {"value": "seed-sha1"}, + {"value": "seed-sha256"}, + {"value": "seed-sha384"}, + {"value": "seed-sha512"}, ], "multiple_values": True, "elements": "str", }, "add_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "add_gw_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "psksecret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "psksecret_remote": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "keepalive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "localid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "psksecret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "psksecret_remote": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "keepalive": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "localid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "localid_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user-fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "keyid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "asn1dn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto"}, + {"value": "fqdn"}, + {"value": "user-fqdn"}, + {"value": "keyid"}, + {"value": "address"}, + {"value": "asn1dn"}, ], }, "auto_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "negotiate_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "negotiate_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "fragmentation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_fragmentation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "pre-encapsulation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "post-encapsulation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "pre-encapsulation"}, + {"value": "post-encapsulation"}, ], }, "dpd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "on-idle", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "on-demand", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "on-idle"}, + {"value": "on-demand"}, ], }, - "dpd_retrycount": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dpd_retryinterval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "forticlient_enforcement": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "dpd_retrycount": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dpd_retryinterval": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "npu_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "send_cert_chain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "15", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "17", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "27", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "29", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "30", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "31", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "1"}, + {"value": "2"}, + {"value": "5"}, + {"value": "14"}, + {"value": "15"}, + {"value": "16"}, + {"value": "17"}, + {"value": "18"}, + {"value": "19"}, + {"value": "20"}, + {"value": "21"}, + {"value": "27"}, + {"value": "28"}, + {"value": "29"}, + {"value": "30"}, + {"value": "31"}, + {"value": "32", "v_range": [["v6.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "suite_b": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "suite-b-gcm-128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "suite-b-gcm-256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "suite-b-gcm-128"}, + {"value": "suite-b-gcm-256"}, ], }, "eap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "eap_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "use-id-payload", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send-request", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eap_exclude_peergrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "use-id-payload"}, {"value": "send-request"}], }, + "eap_exclude_peergrp": {"v_range": [["v6.2.0", ""]], "type": "string"}, "acct_verify": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ppk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "require", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ppk_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ppk_identity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "allow"}, {"value": "require"}], }, + "ppk_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ppk_identity": {"v_range": [["v6.0.0", ""]], "type": "string"}, "wizard_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-forticlient", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-ios", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-android", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-windows", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static-fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static-cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dialup-cisco-fw", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "simplified-static-fortigate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "hub-fortigate-auto-discovery", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "custom"}, + {"value": "dialup-forticlient"}, + {"value": "dialup-ios"}, + {"value": "dialup-android"}, + {"value": "dialup-windows"}, + {"value": "dialup-cisco"}, + {"value": "static-fortigate"}, + {"value": "dialup-fortigate"}, + {"value": "static-cisco"}, + {"value": "dialup-cisco-fw"}, + {"value": "simplified-static-fortigate", "v_range": [["v6.2.0", ""]]}, + {"value": "hub-fortigate-auto-discovery", "v_range": [["v6.2.0", ""]]}, { "value": "spoke-fortigate-auto-discovery", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, ], }, "xauthtype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "client"}, + {"value": "pap"}, + {"value": "chap"}, + {"value": "auto"}, ], }, "reauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "authusr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "authpasswd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "authusr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "authpasswd": {"v_range": [["v6.0.0", ""]], "type": "string"}, "group_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "group_authentication_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "authusrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "group_authentication_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "authusrgrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, "mesh_selector_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "subnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "idle_timeoutinterval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "subnet"}, {"value": "host"}], }, + "idle_timeout": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "idle_timeoutinterval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ha_sync_esp_seqno": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fgsp_sync": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "inbound_dscp_copy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_discovery_sender": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_discovery_receiver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_discovery_forwarder": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_discovery_psk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_discovery_shortcuts": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "independent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "dependent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "independent"}, {"value": "dependent"}], }, "auto_discovery_crossover": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "allow", "revisions": {"v7.4.0": True}}, - {"value": "block", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "auto_discovery_offer_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "integer", }, "encapsulation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gre", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vxlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vpn-id-ipip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "none"}, + {"value": "gre"}, + {"value": "vxlan"}, + {"value": "vpn-id-ipip", "v_range": [["v7.2.0", ""]]}, ], }, "encapsulation_address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "ike", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "encap_local_gw4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "encap_local_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "encap_remote_gw4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "encap_remote_gw6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "ike"}, {"value": "ipv4"}, {"value": "ipv6"}], }, - "vni": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "encap_local_gw4": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "encap_local_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "encap_remote_gw4": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "encap_remote_gw6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "vni": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "nattraversal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "forced", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}, {"value": "forced"}], }, - "fragmentation_mtu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "esn": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "require"}, {"value": "allow"}, {"value": "disable"}], }, + "fragmentation_mtu": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "childless_ike": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rekey": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "digital_signature_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "signature_hash_alg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha2-256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha2-384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sha2-512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sha1"}, + {"value": "sha2-256"}, + {"value": "sha2-384"}, + {"value": "sha2-512"}, ], "multiple_values": True, "elements": "str", }, "rsa_signature_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pkcs1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pss", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pkcs1"}, {"value": "pss"}], }, "rsa_signature_hash_override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "enforce_unique_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "keep-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "keep-old", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "keep-new"}, + {"value": "keep-old"}, ], }, "cert_id_validation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fec_egress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "fec_send_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "fec_base": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "fec_send_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "fec_base": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "fec_codec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "rs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "xor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "rs", "v_range": [["v7.0.2", ""]]}, + {"value": "xor", "v_range": [["v7.0.2", ""]]}, ], }, - "fec_redundant": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "fec_redundant": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "fec_ingress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "fec_receive_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "fec_health_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "fec_mapping_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "fec_receive_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "fec_health_check": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "fec_mapping_profile": {"v_range": [["v7.0.2", ""]], "type": "string"}, "network_overlay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "network_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "network_id": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "dev_id_notification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - ], - }, - "dev_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "dev_id": {"v_range": [["v7.4.0", ""]], "type": "string"}, "loopback_asymroute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "link_cost": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "kms": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "link_cost": {"v_range": [["v7.2.1", ""]], "type": "integer"}, + "kms": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "exchange_fgt_device_id": { + "v_range": [["v7.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "exchange_fgt_device_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "ems_sn_check": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "esn": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "forticlient_enforcement": { + "v_range": [["v6.0.0", "v7.4.0"]], "type": "string", - "options": [ - { - "value": "require", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_search": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "selectors", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nexthop", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "selectors"}, {"value": "nexthop"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -14041,6 +2524,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2.py index 8c9ebd18c..2d41db72a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -425,69 +425,58 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VPN autokey tunnel. - fortios_vpn_ipsec_phase2: - vdom: "{{ vdom }}" +- name: Configure VPN autokey tunnel. + fortinet.fortios.fortios_vpn_ipsec_phase2: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_phase2: - add_route: "phase1" - auto_negotiate: "enable" - comments: "" - dhcp_ipsec: "enable" - dhgrp: "1" - diffserv: "enable" - diffservcode: "" - dst_addr_type: "subnet" - dst_end_ip: "" - dst_end_ip6: "" - dst_name: " (source firewall.address.name firewall.addrgrp.name)" - dst_name6: " (source firewall.address6.name firewall.addrgrp6.name)" - dst_port: "0" - dst_start_ip: "" - dst_start_ip6: "" - dst_subnet: "" - dst_subnet6: "" - encapsulation: "tunnel-mode" - inbound_dscp_copy: "phase1" - initiator_ts_narrow: "enable" - ipv4_df: "enable" - keepalive: "enable" - keylife_type: "seconds" - keylifekbs: "5120" - keylifeseconds: "43200" - l2tp: "enable" - name: "default_name_29" - pfs: "enable" - phase1name: " (source vpn.ipsec.phase1.name)" - proposal: "null-md5" - protocol: "0" - replay: "enable" - route_overlap: "use-old" - selector_match: "exact" - single_source: "enable" - src_addr_type: "subnet" - src_end_ip: "" - src_end_ip6: "" - src_name: " (source firewall.address.name firewall.addrgrp.name)" - src_name6: " (source firewall.address6.name firewall.addrgrp6.name)" - src_port: "0" - src_start_ip: "" - src_start_ip6: "" - src_subnet: "" - src_subnet6: "" - use_natip: "enable" - + add_route: "phase1" + auto_negotiate: "enable" + comments: "" + dhcp_ipsec: "enable" + dhgrp: "1" + diffserv: "enable" + diffservcode: "" + dst_addr_type: "subnet" + dst_end_ip: "" + dst_end_ip6: "" + dst_name: " (source firewall.address.name firewall.addrgrp.name)" + dst_name6: " (source firewall.address6.name firewall.addrgrp6.name)" + dst_port: "0" + dst_start_ip: "" + dst_start_ip6: "" + dst_subnet: "" + dst_subnet6: "" + encapsulation: "tunnel-mode" + inbound_dscp_copy: "phase1" + initiator_ts_narrow: "enable" + ipv4_df: "enable" + keepalive: "enable" + keylife_type: "seconds" + keylifekbs: "5120" + keylifeseconds: "43200" + l2tp: "enable" + name: "default_name_29" + pfs: "enable" + phase1name: " (source vpn.ipsec.phase1.name)" + proposal: "null-md5" + protocol: "0" + replay: "enable" + route_overlap: "use-old" + selector_match: "exact" + single_source: "enable" + src_addr_type: "subnet" + src_end_ip: "" + src_end_ip6: "" + src_name: " (source firewall.address.name firewall.addrgrp.name)" + src_name6: " (source firewall.address6.name firewall.addrgrp6.name)" + src_port: "0" + src_start_ip: "" + src_start_ip6: "" + src_subnet: "" + src_subnet6: "" + use_natip: "enable" """ RETURN = """ @@ -546,7 +535,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -574,6 +562,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_phase2_data(json): @@ -680,7 +671,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_phase2(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -717,11 +707,16 @@ def vpn_ipsec_phase2(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -769,13 +764,12 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "phase2") if data["vpn_ipsec_phase2"]: resp = vpn_ipsec_phase2(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_ipsec_phase2")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -790,4975 +784,233 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "phase1name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "phase1name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dhcp_ipsec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "use_natip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "selector_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "exact", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "subset", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "exact"}, {"value": "subset"}, {"value": "auto"}], }, "proposal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "null-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "null-md5"}, + {"value": "null-sha1"}, + {"value": "null-sha256"}, + {"value": "null-sha384"}, + {"value": "null-sha512"}, + {"value": "des-null"}, + {"value": "des-md5"}, + {"value": "des-sha1"}, + {"value": "des-sha256"}, + {"value": "des-sha384"}, + {"value": "des-sha512"}, + {"value": "3des-null"}, + {"value": "3des-md5"}, + {"value": "3des-sha1"}, + {"value": "3des-sha256"}, + {"value": "3des-sha384"}, + {"value": "3des-sha512"}, + {"value": "aes128-null"}, + {"value": "aes128-md5"}, + {"value": "aes128-sha1"}, + {"value": "aes128-sha256"}, + {"value": "aes128-sha384"}, + {"value": "aes128-sha512"}, + {"value": "aes128gcm"}, + {"value": "aes192-null"}, + {"value": "aes192-md5"}, + {"value": "aes192-sha1"}, + {"value": "aes192-sha256"}, + {"value": "aes192-sha384"}, + {"value": "aes192-sha512"}, + {"value": "aes256-null"}, + {"value": "aes256-md5"}, + {"value": "aes256-sha1"}, + {"value": "aes256-sha256"}, + {"value": "aes256-sha384"}, + {"value": "aes256-sha512"}, + {"value": "aes256gcm"}, + {"value": "chacha20poly1305"}, + {"value": "aria128-null"}, + {"value": "aria128-md5"}, + {"value": "aria128-sha1"}, + {"value": "aria128-sha256"}, + {"value": "aria128-sha384"}, + {"value": "aria128-sha512"}, + {"value": "aria192-null"}, + {"value": "aria192-md5"}, + {"value": "aria192-sha1"}, + {"value": "aria192-sha256"}, + {"value": "aria192-sha384"}, + {"value": "aria192-sha512"}, + {"value": "aria256-null"}, + {"value": "aria256-md5"}, + {"value": "aria256-sha1"}, + {"value": "aria256-sha256"}, + {"value": "aria256-sha384"}, + {"value": "aria256-sha512"}, + {"value": "seed-null"}, + {"value": "seed-md5"}, + {"value": "seed-sha1"}, + {"value": "seed-sha256"}, + {"value": "seed-sha384"}, + {"value": "seed-sha512"}, ], "multiple_values": True, "elements": "str", }, "pfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv4_df": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "15", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "17", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "27", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "29", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "30", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "31", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "1"}, + {"value": "2"}, + {"value": "5"}, + {"value": "14"}, + {"value": "15"}, + {"value": "16"}, + {"value": "17"}, + {"value": "18"}, + {"value": "19"}, + {"value": "20"}, + {"value": "21"}, + {"value": "27"}, + {"value": "28"}, + {"value": "29"}, + {"value": "30"}, + {"value": "31"}, + {"value": "32", "v_range": [["v6.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "replay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "keepalive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "add_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "phase1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "phase1"}, {"value": "enable"}, {"value": "disable"}], }, "inbound_dscp_copy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "phase1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], - }, - "keylifeseconds": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "keylifekbs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "phase1"}, {"value": "enable"}, {"value": "disable"}], }, + "keylifeseconds": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "keylifekbs": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "keylife_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "seconds", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "kbs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "seconds"}, {"value": "kbs"}, {"value": "both"}], }, "single_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_overlap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "use-old", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "use-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "use-old"}, {"value": "use-new"}, {"value": "allow"}], }, "encapsulation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "tunnel-mode", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transport-mode", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "tunnel-mode"}, {"value": "transport-mode"}], }, "l2tp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "initiator_ts_narrow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "diffservcode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "src_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_name6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "diffservcode": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "src_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_name6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "src_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "subnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subnet"}, + {"value": "range"}, + {"value": "ip"}, + {"value": "name"}, ], }, - "src_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_start_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_end_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_subnet6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dst_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_name6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "src_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_start_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_end_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_subnet6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dst_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_name6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dst_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "subnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subnet"}, + {"value": "range"}, + {"value": "ip"}, + {"value": "name"}, ], }, - "dst_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_start_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_end_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_subnet6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "dst_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_start_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_end_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_subnet6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -5793,6 +1045,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2_interface.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2_interface.py index 79270b6bf..b24541ccf 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2_interface.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase2_interface.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -434,69 +434,58 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure VPN autokey tunnel. - fortios_vpn_ipsec_phase2_interface: - vdom: "{{ vdom }}" +- name: Configure VPN autokey tunnel. + fortinet.fortios.fortios_vpn_ipsec_phase2_interface: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ipsec_phase2_interface: - add_route: "phase1" - auto_discovery_forwarder: "phase1" - auto_discovery_sender: "phase1" - auto_negotiate: "enable" - comments: "" - dhcp_ipsec: "enable" - dhgrp: "1" - diffserv: "enable" - diffservcode: "" - dst_addr_type: "subnet" - dst_end_ip: "" - dst_end_ip6: "" - dst_name: " (source firewall.address.name firewall.addrgrp.name)" - dst_name6: " (source firewall.address6.name firewall.addrgrp6.name)" - dst_port: "0" - dst_start_ip: "" - dst_start_ip6: "" - dst_subnet: "" - dst_subnet6: "" - encapsulation: "tunnel-mode" - inbound_dscp_copy: "phase1" - initiator_ts_narrow: "enable" - ipv4_df: "enable" - keepalive: "enable" - keylife_type: "seconds" - keylifekbs: "5120" - keylifeseconds: "43200" - l2tp: "enable" - name: "default_name_31" - pfs: "enable" - phase1name: " (source vpn.ipsec.phase1-interface.name)" - proposal: "null-md5" - protocol: "0" - replay: "enable" - route_overlap: "use-old" - single_source: "enable" - src_addr_type: "subnet" - src_end_ip: "" - src_end_ip6: "" - src_name: " (source firewall.address.name firewall.addrgrp.name)" - src_name6: " (source firewall.address6.name firewall.addrgrp6.name)" - src_port: "0" - src_start_ip: "" - src_start_ip6: "" - src_subnet: "" - src_subnet6: "" - + add_route: "phase1" + auto_discovery_forwarder: "phase1" + auto_discovery_sender: "phase1" + auto_negotiate: "enable" + comments: "" + dhcp_ipsec: "enable" + dhgrp: "1" + diffserv: "enable" + diffservcode: "" + dst_addr_type: "subnet" + dst_end_ip: "" + dst_end_ip6: "" + dst_name: " (source firewall.address.name firewall.addrgrp.name)" + dst_name6: " (source firewall.address6.name firewall.addrgrp6.name)" + dst_port: "0" + dst_start_ip: "" + dst_start_ip6: "" + dst_subnet: "" + dst_subnet6: "" + encapsulation: "tunnel-mode" + inbound_dscp_copy: "phase1" + initiator_ts_narrow: "enable" + ipv4_df: "enable" + keepalive: "enable" + keylife_type: "seconds" + keylifekbs: "5120" + keylifeseconds: "43200" + l2tp: "enable" + name: "default_name_31" + pfs: "enable" + phase1name: " (source vpn.ipsec.phase1-interface.name)" + proposal: "null-md5" + protocol: "0" + replay: "enable" + route_overlap: "use-old" + single_source: "enable" + src_addr_type: "subnet" + src_end_ip: "" + src_end_ip6: "" + src_name: " (source firewall.address.name firewall.addrgrp.name)" + src_name6: " (source firewall.address6.name firewall.addrgrp6.name)" + src_port: "0" + src_start_ip: "" + src_start_ip6: "" + src_subnet: "" + src_subnet6: "" """ RETURN = """ @@ -555,7 +544,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -583,6 +571,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ipsec_phase2_interface_data(json): @@ -689,7 +680,6 @@ def underscore_to_hyphen(data): def vpn_ipsec_phase2_interface(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -728,11 +718,16 @@ def vpn_ipsec_phase2_interface(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -782,7 +777,6 @@ def is_successful_status(resp): def fortios_vpn_ipsec(data, fos, check_mode): - fos.do_member_operation("vpn.ipsec", "phase2-interface") if data["vpn_ipsec_phase2_interface"]: resp = vpn_ipsec_phase2_interface(data, fos, check_mode) @@ -790,7 +784,7 @@ def fortios_vpn_ipsec(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("vpn_ipsec_phase2_interface") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -805,5236 +799,241 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "phase1name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "phase1name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dhcp_ipsec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "proposal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "null-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "null-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3des-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes128gcm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aes256gcm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chacha20poly1305", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria128-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria192-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aria256-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-null", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "seed-sha512", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "null-md5"}, + {"value": "null-sha1"}, + {"value": "null-sha256"}, + {"value": "null-sha384"}, + {"value": "null-sha512"}, + {"value": "des-null"}, + {"value": "des-md5"}, + {"value": "des-sha1"}, + {"value": "des-sha256"}, + {"value": "des-sha384"}, + {"value": "des-sha512"}, + {"value": "3des-null"}, + {"value": "3des-md5"}, + {"value": "3des-sha1"}, + {"value": "3des-sha256"}, + {"value": "3des-sha384"}, + {"value": "3des-sha512"}, + {"value": "aes128-null"}, + {"value": "aes128-md5"}, + {"value": "aes128-sha1"}, + {"value": "aes128-sha256"}, + {"value": "aes128-sha384"}, + {"value": "aes128-sha512"}, + {"value": "aes128gcm"}, + {"value": "aes192-null"}, + {"value": "aes192-md5"}, + {"value": "aes192-sha1"}, + {"value": "aes192-sha256"}, + {"value": "aes192-sha384"}, + {"value": "aes192-sha512"}, + {"value": "aes256-null"}, + {"value": "aes256-md5"}, + {"value": "aes256-sha1"}, + {"value": "aes256-sha256"}, + {"value": "aes256-sha384"}, + {"value": "aes256-sha512"}, + {"value": "aes256gcm"}, + {"value": "chacha20poly1305"}, + {"value": "aria128-null"}, + {"value": "aria128-md5"}, + {"value": "aria128-sha1"}, + {"value": "aria128-sha256"}, + {"value": "aria128-sha384"}, + {"value": "aria128-sha512"}, + {"value": "aria192-null"}, + {"value": "aria192-md5"}, + {"value": "aria192-sha1"}, + {"value": "aria192-sha256"}, + {"value": "aria192-sha384"}, + {"value": "aria192-sha512"}, + {"value": "aria256-null"}, + {"value": "aria256-md5"}, + {"value": "aria256-sha1"}, + {"value": "aria256-sha256"}, + {"value": "aria256-sha384"}, + {"value": "aria256-sha512"}, + {"value": "seed-null"}, + {"value": "seed-md5"}, + {"value": "seed-sha1"}, + {"value": "seed-sha256"}, + {"value": "seed-sha384"}, + {"value": "seed-sha512"}, ], "multiple_values": True, "elements": "str", }, "pfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv4_df": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "15", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "17", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "27", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "29", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "30", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "31", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "1"}, + {"value": "2"}, + {"value": "5"}, + {"value": "14"}, + {"value": "15"}, + {"value": "16"}, + {"value": "17"}, + {"value": "18"}, + {"value": "19"}, + {"value": "20"}, + {"value": "21"}, + {"value": "27"}, + {"value": "28"}, + {"value": "29"}, + {"value": "30"}, + {"value": "31"}, + {"value": "32", "v_range": [["v6.2.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "replay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "keepalive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_negotiate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "add_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "phase1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "phase1"}, {"value": "enable"}, {"value": "disable"}], }, "inbound_dscp_copy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "phase1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "phase1"}, {"value": "enable"}, {"value": "disable"}], }, "auto_discovery_sender": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "phase1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "phase1"}, {"value": "enable"}, {"value": "disable"}], }, "auto_discovery_forwarder": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "phase1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "keylifeseconds": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "keylifekbs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "phase1"}, {"value": "enable"}, {"value": "disable"}], }, + "keylifeseconds": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "keylifekbs": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "keylife_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "seconds", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "kbs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "seconds"}, {"value": "kbs"}, {"value": "both"}], }, "single_source": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_overlap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "use-old", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "use-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "use-old"}, {"value": "use-new"}, {"value": "allow"}], }, "encapsulation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "tunnel-mode", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "transport-mode", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "tunnel-mode"}, {"value": "transport-mode"}], }, "l2tp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, "initiator_ts_narrow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "diffserv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "diffservcode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "src_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_name6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "diffservcode": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "protocol": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "src_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_name6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "src_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "subnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "subnet6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "range6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subnet"}, + {"value": "range"}, + {"value": "ip"}, + {"value": "name"}, + {"value": "subnet6"}, + {"value": "range6"}, + {"value": "ip6"}, + {"value": "name6"}, ], }, - "src_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_start_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_end_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_subnet6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "src_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dst_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_name6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "src_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_start_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_end_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_subnet6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "src_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dst_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_name6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dst_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "subnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "subnet6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "range6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "name6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "subnet"}, + {"value": "range"}, + {"value": "ip"}, + {"value": "name"}, + {"value": "subnet6"}, + {"value": "range6"}, + {"value": "ip6"}, + {"value": "name6"}, ], }, - "dst_start_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_start_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_end_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_end_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_subnet6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dst_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "dst_start_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_start_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_end_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_end_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_subnet": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_subnet6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dst_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -6071,6 +1070,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_kmip_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_kmip_server.py index 4e3f5dcab..bc041e5a7 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_kmip_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_kmip_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -128,7 +128,7 @@ options: type: str id: description: - - ID + - ID see Notes. required: true type: int port: @@ -160,6 +160,7 @@ options: - 'TLSv1' - 'TLSv1-1' - 'TLSv1-2' + - 'TLSv1-3' username: description: - User name to use for connectivity to the KMIP server. @@ -167,38 +168,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: KMIP server entry configuration. - fortios_vpn_kmip_server: - vdom: "{{ vdom }}" +- name: KMIP server entry configuration. + fortinet.fortios.fortios_vpn_kmip_server: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_kmip_server: - interface: " (source system.interface.name)" - interface_select_method: "auto" - name: "default_name_5" - password: "" - server_identity_check: "enable" - server_list: - - - cert: " (source vpn.certificate.local.name)" - id: "10" - port: "5696" - server: "192.168.100.40" - status: "enable" - source_ip: "84.230.14.43" - ssl_min_proto_version: "default" - username: "" - + interface: " (source system.interface.name)" + interface_select_method: "auto" + name: "default_name_5" + password: "" + server_identity_check: "enable" + server_list: + - + cert: " (source vpn.certificate.local.name)" + id: "10" + port: "5696" + server: "192.168.100.40" + status: "enable" + source_ip: "84.230.14.43" + ssl_min_proto_version: "default" + username: "" """ RETURN = """ @@ -257,7 +247,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -349,7 +338,6 @@ def is_successful_status(resp): def fortios_vpn(data, fos): - fos.do_member_operation("vpn", "kmip-server") if data["vpn_kmip_server"]: resp = vpn_kmip_server(data, fos) @@ -369,64 +357,55 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": {"revisions": {"v7.4.0": True}, "type": "string", "required": True}, + "name": {"v_range": [["v7.4.0", ""]], "type": "string", "required": True}, "server_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server": {"revisions": {"v7.4.0": True}, "type": "string"}, - "port": {"revisions": {"v7.4.0": True}, "type": "integer"}, - "cert": {"revisions": {"v7.4.0": True}, "type": "string"}, + "server": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "port": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "cert": {"v_range": [["v7.4.0", ""]], "type": "string"}, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, - "username": {"revisions": {"v7.4.0": True}, "type": "string"}, - "password": {"revisions": {"v7.4.0": True}, "type": "string"}, + "username": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "password": {"v_range": [["v7.4.0", ""]], "type": "string"}, "ssl_min_proto_version": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "default", "revisions": {"v7.4.0": True}}, - {"value": "SSLv3", "revisions": {"v7.4.0": True}}, - {"value": "TLSv1", "revisions": {"v7.4.0": True}}, - {"value": "TLSv1-1", "revisions": {"v7.4.0": True}}, - {"value": "TLSv1-2", "revisions": {"v7.4.0": True}}, + {"value": "default"}, + {"value": "SSLv3"}, + {"value": "TLSv1"}, + {"value": "TLSv1-1"}, + {"value": "TLSv1-2"}, + {"value": "TLSv1-3", "v_range": [["v7.4.1", ""]]}, ], }, "server_identity_check": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "interface_select_method": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "auto", "revisions": {"v7.4.0": True}}, - {"value": "sdwan", "revisions": {"v7.4.0": True}}, - {"value": "specify", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "auto"}, {"value": "sdwan"}, {"value": "specify"}], }, - "interface": {"revisions": {"v7.4.0": True}, "type": "string"}, - "source_ip": {"revisions": {"v7.4.0": True}, "type": "string"}, + "interface": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v7.4.0", ""]], "type": "string"}, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], } @@ -461,6 +440,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_l2tp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_l2tp.py index 278e03d51..3937bf900 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_l2tp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_l2tp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -128,30 +128,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure L2TP. - fortios_vpn_l2tp: - vdom: "{{ vdom }}" +- name: Configure L2TP. + fortinet.fortios.fortios_vpn_l2tp: + vdom: "{{ vdom }}" vpn_l2tp: - compress: "enable" - eip: "" - enforce_ipsec: "enable" - hello_interval: "60" - lcp_echo_interval: "5" - lcp_max_echo_fails: "3" - sip: "" - status: "enable" - usrgrp: " (source user.group.name)" - + compress: "enable" + eip: "" + enforce_ipsec: "enable" + hello_interval: "60" + lcp_echo_interval: "5" + lcp_max_echo_fails: "3" + sip: "" + status: "enable" + usrgrp: " (source user.group.name)" """ RETURN = """ @@ -210,7 +199,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -291,7 +279,6 @@ def is_successful_status(resp): def fortios_vpn(data, fos): - fos.do_member_operation("vpn", "l2tp") if data["vpn_l2tp"]: resp = vpn_l2tp(data, fos) @@ -308,466 +295,35 @@ def fortios_vpn(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "usrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "usrgrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, "enforce_ipsec": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "lcp_echo_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "lcp_max_echo_fails": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "hello_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, + "hello_interval": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "compress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -798,6 +354,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ocvpn.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ocvpn.py index 5f1277607..58a6c4bd3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ocvpn.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ocvpn.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -218,7 +218,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int interface: @@ -274,7 +274,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int interface: @@ -306,68 +306,57 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Overlay Controller VPN settings. - fortios_vpn_ocvpn: - vdom: "{{ vdom }}" +- name: Configure Overlay Controller VPN settings. + fortinet.fortios.fortios_vpn_ocvpn: + vdom: "{{ vdom }}" vpn_ocvpn: - auto_discovery: "enable" - auto_discovery_shortcut_mode: "independent" - eap: "enable" - eap_users: " (source user.group.name)" - forticlient_access: - auth_groups: - - - auth_group: " (source user.group.name)" - name: "default_name_10" - overlays: - - - overlay_name: " (source vpn.ocvpn.overlays.overlay-name)" - psksecret: "" - status: "enable" - ha_alias: "" - ip_allocation_block: "" - multipath: "enable" - nat: "enable" - overlays: - - - assign_ip: "enable" - id: "21" - inter_overlay: "allow" - ipv4_end_ip: "" - ipv4_start_ip: "" - name: "default_name_25" - overlay_name: "" - subnets: - - - id: "28" - interface: " (source system.interface.name)" - subnet: "" - type: "subnet" - poll_interval: "30" - role: "spoke" - sdwan: "enable" - sdwan_zone: " (source system.sdwan.zone.name)" - status: "enable" - subnets: - - - id: "38" - interface: " (source system.interface.name)" - subnet: "" - type: "subnet" - wan_interface: - - - name: "default_name_43 (source system.interface.name)" - + auto_discovery: "enable" + auto_discovery_shortcut_mode: "independent" + eap: "enable" + eap_users: " (source user.group.name)" + forticlient_access: + auth_groups: + - + auth_group: " (source user.group.name)" + name: "default_name_10" + overlays: + - + overlay_name: " (source vpn.ocvpn.overlays.overlay-name)" + psksecret: "" + status: "enable" + ha_alias: "" + ip_allocation_block: "" + multipath: "enable" + nat: "enable" + overlays: + - + assign_ip: "enable" + id: "21" + inter_overlay: "allow" + ipv4_end_ip: "" + ipv4_start_ip: "" + name: "default_name_25" + overlay_name: "" + subnets: + - + id: "28" + interface: " (source system.interface.name)" + subnet: "" + type: "subnet" + poll_interval: "30" + role: "spoke" + sdwan: "enable" + sdwan_zone: " (source system.sdwan.zone.name)" + status: "enable" + subnets: + - + id: "38" + interface: " (source system.interface.name)" + subnet: "" + type: "subnet" + wan_interface: + - + name: "default_name_43 (source system.interface.name)" """ RETURN = """ @@ -426,7 +415,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -515,7 +503,6 @@ def is_successful_status(resp): def fortios_vpn(data, fos): - fos.do_member_operation("vpn", "ocvpn") if data["vpn_ocvpn"]: resp = vpn_ocvpn(data, fos) @@ -532,1108 +519,121 @@ def fortios_vpn(data, fos): versioned_schema = { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "role": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.2.4"]], "type": "string", "options": [ - { - "value": "spoke", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "primary-hub", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "secondary-hub", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "spoke"}, + {"value": "primary-hub"}, + {"value": "secondary-hub"}, ], }, "multipath": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sdwan": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "sdwan_zone": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "sdwan_zone": {"v_range": [["v7.0.0", "v7.2.4"]], "type": "string"}, "wan_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.2.4"]], }, "nat": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ip_allocation_block": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.2.4"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ip_allocation_block": {"v_range": [["v6.4.0", "v7.2.4"]], "type": "string"}, "overlays": { "type": "list", "elements": "dict", "children": { "overlay_name": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", "required": True, }, "inter_overlay": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "subnets": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.2.4"]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "subnet", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "interface", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "subnet": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.2.4"]], "type": "string", + "options": [{"value": "subnet"}, {"value": "interface"}], }, + "subnet": {"v_range": [["v6.2.0", "v7.2.4"]], "type": "string"}, "interface": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.2.4"]], "type": "string", }, }, - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.2.4"]], }, "assign_ip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "ipv4_start_ip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "ipv4_end_ip": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "id": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ipv4_start_ip": {"v_range": [["v6.2.0", "v7.0.0"]], "type": "string"}, + "ipv4_end_ip": {"v_range": [["v6.2.0", "v7.0.0"]], "type": "string"}, + "id": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "integer"}, + "name": {"v_range": [["v6.2.0", "v6.2.7"]], "type": "string"}, }, - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.2.4"]], }, "forticlient_access": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "psksecret": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "psksecret": {"v_range": [["v6.4.0", "v7.2.4"]], "type": "string"}, "auth_groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", "required": True, }, "auth_group": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", }, "overlays": { @@ -1641,357 +641,37 @@ versioned_schema = { "elements": "dict", "children": { "overlay_name": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.2.4"]], "type": "string", "required": True, } }, - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.2.4"]], }, }, - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v7.2.4"]], }, }, }, "auto_discovery": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_discovery_shortcut_mode": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "independent", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "dependent", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "poll_interval": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "independent"}, {"value": "dependent"}], }, + "poll_interval": {"v_range": [["v6.0.0", "v7.2.4"]], "type": "integer"}, "eap": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "eap_users": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v7.2.4"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eap_users": {"v_range": [["v6.2.0", "v7.2.4"]], "type": "string"}, "ha_alias": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, "subnets": { @@ -1999,42 +679,19 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "integer", "required": True, }, "type": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "subnet", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "interface", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "subnet": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "interface": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "subnet"}, {"value": "interface"}], }, + "subnet": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "interface": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, } @@ -2070,6 +727,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_pptp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_pptp.py index 63574d87d..906a96e45 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_pptp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_pptp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -113,27 +113,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure PPTP. - fortios_vpn_pptp: - vdom: "{{ vdom }}" +- name: Configure PPTP. + fortinet.fortios.fortios_vpn_pptp: + vdom: "{{ vdom }}" vpn_pptp: - eip: "" - ip_mode: "range" - local_ip: "" - sip: "" - status: "enable" - usrgrp: " (source user.group.name)" - + eip: "" + ip_mode: "range" + local_ip: "" + sip: "" + status: "enable" + usrgrp: " (source user.group.name)" """ RETURN = """ @@ -192,7 +181,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -263,7 +251,6 @@ def is_successful_status(resp): def fortios_vpn(data, fos): - fos.do_member_operation("vpn", "pptp") if data["vpn_pptp"]: resp = vpn_pptp(data, fos) @@ -280,328 +267,23 @@ def fortios_vpn(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usrgrp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "local_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "usrgrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "range"}, {"value": "usrgrp"}], }, + "eip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "local_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "usrgrp": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -631,6 +313,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_client.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_client.py index 0ee88e324..3426f6311 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_client.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_client.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -163,40 +163,29 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Client. - fortios_vpn_ssl_client: - vdom: "{{ vdom }}" +- name: Client. + fortinet.fortios.fortios_vpn_ssl_client: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ssl_client: - certificate: " (source vpn.certificate.local.name)" - class_id: "0" - comment: "Comment." - distance: "10" - interface: " (source system.interface.name)" - ipv4_subnets: " (source firewall.address.name firewall.addrgrp.name)" - ipv6_subnets: " (source firewall.address6.name firewall.addrgrp6.name)" - name: "default_name_10" - peer: " (source user.peer.name user.peergrp.name)" - port: "443" - priority: "1" - psk: "" - realm: "" - server: "192.168.100.40" - source_ip: "84.230.14.43" - status: "enable" - user: "" - + certificate: " (source vpn.certificate.local.name)" + class_id: "0" + comment: "Comment." + distance: "10" + interface: " (source system.interface.name)" + ipv4_subnets: " (source firewall.address.name firewall.addrgrp.name)" + ipv6_subnets: " (source firewall.address6.name firewall.addrgrp6.name)" + name: "default_name_10" + peer: " (source user.peer.name user.peergrp.name)" + port: "443" + priority: "1" + psk: "" + realm: "" + server: "192.168.100.40" + source_ip: "84.230.14.43" + status: "enable" + user: "" """ RETURN = """ @@ -255,7 +244,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -355,7 +343,6 @@ def is_successful_status(resp): def fortios_vpn_ssl(data, fos): - fos.do_member_operation("vpn.ssl", "client") if data["vpn_ssl_client"]: resp = vpn_ssl_client(data, fos) @@ -375,387 +362,29 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "interface": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "psk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "interface": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "user": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "psk": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "peer": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "server": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "realm": {"v_range": [["v7.0.1", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "certificate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "integer", - }, - "class_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "integer", - }, - "ipv4_subnets": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, - "type": "string", - }, - "ipv6_subnets": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "certificate": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "source_ip": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "distance": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "class_id": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "ipv4_subnets": {"v_range": [["v7.2.4", ""]], "type": "string"}, + "ipv6_subnets": {"v_range": [["v7.2.4", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, + "v_range": [["v7.0.0", ""]], } @@ -790,6 +419,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_settings.py index 2973b2e82..8d0392d0c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -145,7 +145,7 @@ options: type: str id: description: - - ID (0 - 4294967295). + - ID (0 - 4294967295). see Notes. required: true type: int portal: @@ -695,133 +695,122 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SSL-VPN. - fortios_vpn_ssl_settings: - vdom: "{{ vdom }}" +- name: Configure SSL-VPN. + fortinet.fortios.fortios_vpn_ssl_settings: + vdom: "{{ vdom }}" vpn_ssl_settings: - algorithm: "high" - auth_session_check_source_ip: "enable" - auth_timeout: "28800" - authentication_rule: - - - auth: "any" - cipher: "any" - client_cert: "enable" - groups: - - - name: "default_name_11 (source user.group.name)" - id: "12" - portal: " (source vpn.ssl.web.portal.name)" - realm: " (source vpn.ssl.web.realm.url-path)" - source_address: - - - name: "default_name_16 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" - source_address_negate: "enable" - source_address6: - - - name: "default_name_19 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - source_address6_negate: "enable" - source_interface: - - - name: "default_name_22 (source system.interface.name system.zone.name)" - user_peer: " (source user.peer.name)" - users: - - - name: "default_name_25 (source user.local.name)" - auto_tunnel_static_route: "enable" - banned_cipher: "RSA" - browser_language_detection: "enable" - check_referer: "enable" - ciphersuite: "TLS-AES-128-GCM-SHA256" - client_sigalgs: "no-rsa-pss" - default_portal: " (source vpn.ssl.web.portal.name)" - deflate_compression_level: "6" - deflate_min_data_size: "300" - dns_server1: "" - dns_server2: "" - dns_suffix: "" - dtls_heartbeat_fail_count: "3" - dtls_heartbeat_idle_timeout: "3" - dtls_heartbeat_interval: "3" - dtls_hello_timeout: "10" - dtls_max_proto_ver: "dtls1-0" - dtls_min_proto_ver: "dtls1-0" - dtls_tunnel: "enable" - dual_stack_mode: "enable" - encode_2f_sequence: "enable" - encrypt_and_store_password: "enable" - force_two_factor_auth: "enable" - header_x_forwarded_for: "pass" - hsts_include_subdomains: "enable" - http_compression: "enable" - http_only_cookie: "enable" - http_request_body_timeout: "30" - http_request_header_timeout: "20" - https_redirect: "enable" - idle_timeout: "300" - ipv6_dns_server1: "" - ipv6_dns_server2: "" - ipv6_wins_server1: "" - ipv6_wins_server2: "" - login_attempt_limit: "2" - login_block_time: "60" - login_timeout: "30" - port: "10443" - port_precedence: "enable" - reqclientcert: "enable" - route_source_interface: "enable" - saml_redirect_port: "8020" - server_hostname: "myhostname" - servercert: " (source vpn.certificate.local.name)" - source_address: - - - name: "default_name_72 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" - source_address_negate: "enable" - source_address6: - - - name: "default_name_75 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" - source_address6_negate: "enable" - source_interface: - - - name: "default_name_78 (source system.interface.name system.zone.name)" - ssl_client_renegotiation: "disable" - ssl_insert_empty_fragment: "enable" - ssl_max_proto_ver: "tls1-0" - ssl_min_proto_ver: "tls1-0" - status: "enable" - tlsv1_0: "enable" - tlsv1_1: "enable" - tlsv1_2: "enable" - tlsv1_3: "enable" - transform_backward_slashes: "enable" - tunnel_addr_assigned_method: "first-available" - tunnel_connect_without_reauth: "enable" - tunnel_ip_pools: - - - name: "default_name_92 (source firewall.address.name firewall.addrgrp.name)" - tunnel_ipv6_pools: - - - name: "default_name_94 (source firewall.address6.name firewall.addrgrp6.name)" - tunnel_user_session_timeout: "30" - unsafe_legacy_renegotiation: "enable" - url_obscuration: "enable" - user_peer: " (source user.peer.name)" - web_mode_snat: "enable" - wins_server1: "" - wins_server2: "" - x_content_type_options: "enable" - ztna_trusted_client: "enable" - + algorithm: "high" + auth_session_check_source_ip: "enable" + auth_timeout: "28800" + authentication_rule: + - + auth: "any" + cipher: "any" + client_cert: "enable" + groups: + - + name: "default_name_11 (source user.group.name)" + id: "12" + portal: " (source vpn.ssl.web.portal.name)" + realm: " (source vpn.ssl.web.realm.url-path)" + source_address: + - + name: "default_name_16 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" + source_address_negate: "enable" + source_address6: + - + name: "default_name_19 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + source_address6_negate: "enable" + source_interface: + - + name: "default_name_22 (source system.interface.name system.zone.name)" + user_peer: " (source user.peer.name)" + users: + - + name: "default_name_25 (source user.local.name)" + auto_tunnel_static_route: "enable" + banned_cipher: "RSA" + browser_language_detection: "enable" + check_referer: "enable" + ciphersuite: "TLS-AES-128-GCM-SHA256" + client_sigalgs: "no-rsa-pss" + default_portal: " (source vpn.ssl.web.portal.name)" + deflate_compression_level: "6" + deflate_min_data_size: "300" + dns_server1: "" + dns_server2: "" + dns_suffix: "" + dtls_heartbeat_fail_count: "3" + dtls_heartbeat_idle_timeout: "3" + dtls_heartbeat_interval: "3" + dtls_hello_timeout: "10" + dtls_max_proto_ver: "dtls1-0" + dtls_min_proto_ver: "dtls1-0" + dtls_tunnel: "enable" + dual_stack_mode: "enable" + encode_2f_sequence: "enable" + encrypt_and_store_password: "enable" + force_two_factor_auth: "enable" + header_x_forwarded_for: "pass" + hsts_include_subdomains: "enable" + http_compression: "enable" + http_only_cookie: "enable" + http_request_body_timeout: "30" + http_request_header_timeout: "20" + https_redirect: "enable" + idle_timeout: "300" + ipv6_dns_server1: "" + ipv6_dns_server2: "" + ipv6_wins_server1: "" + ipv6_wins_server2: "" + login_attempt_limit: "2" + login_block_time: "60" + login_timeout: "30" + port: "10443" + port_precedence: "enable" + reqclientcert: "enable" + route_source_interface: "enable" + saml_redirect_port: "8020" + server_hostname: "myhostname" + servercert: " (source vpn.certificate.local.name)" + source_address: + - + name: "default_name_72 (source firewall.address.name firewall.addrgrp.name system.external-resource.name)" + source_address_negate: "enable" + source_address6: + - + name: "default_name_75 (source firewall.address6.name firewall.addrgrp6.name system.external-resource.name)" + source_address6_negate: "enable" + source_interface: + - + name: "default_name_78 (source system.interface.name system.zone.name)" + ssl_client_renegotiation: "disable" + ssl_insert_empty_fragment: "enable" + ssl_max_proto_ver: "tls1-0" + ssl_min_proto_ver: "tls1-0" + status: "enable" + tlsv1_0: "enable" + tlsv1_1: "enable" + tlsv1_2: "enable" + tlsv1_3: "enable" + transform_backward_slashes: "enable" + tunnel_addr_assigned_method: "first-available" + tunnel_connect_without_reauth: "enable" + tunnel_ip_pools: + - + name: "default_name_92 (source firewall.address.name firewall.addrgrp.name)" + tunnel_ipv6_pools: + - + name: "default_name_94 (source firewall.address6.name firewall.addrgrp6.name)" + tunnel_user_session_timeout: "30" + unsafe_legacy_renegotiation: "enable" + url_obscuration: "enable" + user_peer: " (source user.peer.name)" + web_mode_snat: "enable" + wins_server1: "" + wins_server2: "" + x_content_type_options: "enable" + ztna_trusted_client: "enable" """ RETURN = """ @@ -880,7 +869,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1062,7 +1050,6 @@ def is_successful_status(resp): def fortios_vpn_ssl(data, fos): - fos.do_member_operation("vpn.ssl", "settings") if data["vpn_ssl_settings"]: resp = vpn_ssl_settings(data, fos) @@ -1079,3552 +1066,248 @@ def fortios_vpn_ssl(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "reqclientcert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "user_peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "user_peer": {"v_range": [["v6.2.0", ""]], "type": "string"}, "ssl_max_proto_ver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "tls1-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tls1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tls1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tls1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "tls1-0"}, + {"value": "tls1-1"}, + {"value": "tls1-2"}, + {"value": "tls1-3"}, ], }, "ssl_min_proto_ver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "tls1-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tls1-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tls1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "tls1-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "tls1-0"}, + {"value": "tls1-1"}, + {"value": "tls1-2"}, + {"value": "tls1-3"}, ], }, "banned_cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "RSA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DHE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ECDHE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DSS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ECDSA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AESGCM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CAMELLIA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3DES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SHA1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "STATIC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CHACHA20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ARIA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "AESCCM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "DH", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "ECDH", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "RSA"}, + {"value": "DHE"}, + {"value": "ECDHE"}, + {"value": "DSS"}, + {"value": "ECDSA"}, + {"value": "AES"}, + {"value": "AESGCM"}, + {"value": "CAMELLIA"}, + {"value": "3DES"}, + {"value": "SHA1"}, + {"value": "SHA256"}, + {"value": "SHA384"}, + {"value": "STATIC"}, + {"value": "CHACHA20", "v_range": [["v7.0.0", ""]]}, + {"value": "ARIA", "v_range": [["v7.0.0", ""]]}, + {"value": "AESCCM", "v_range": [["v7.0.0", ""]]}, + {"value": "DH", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "ECDH", "v_range": [["v6.0.0", "v6.0.11"]]}, ], "multiple_values": True, "elements": "str", }, "ciphersuite": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "options": [ - { - "value": "TLS-AES-128-GCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-AES-256-GCM-SHA384", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-CHACHA20-POLY1305-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-AES-128-CCM-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "TLS-AES-128-CCM-8-SHA256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "TLS-AES-128-GCM-SHA256"}, + {"value": "TLS-AES-256-GCM-SHA384"}, + {"value": "TLS-CHACHA20-POLY1305-SHA256"}, + {"value": "TLS-AES-128-CCM-SHA256"}, + {"value": "TLS-AES-128-CCM-8-SHA256"}, ], "multiple_values": True, "elements": "str", }, "ssl_insert_empty_fragment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "https_redirect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "x_content_type_options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl_client_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "force_two_factor_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unsafe_legacy_renegotiation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "servercert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "servercert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "default"}, + {"value": "low"}, ], }, - "idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auth_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "login_attempt_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "login_block_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "login_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dtls_hello_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "dtls_heartbeat_idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "dtls_heartbeat_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "dtls_heartbeat_fail_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "idle_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "login_attempt_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "login_block_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "login_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dtls_hello_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "dtls_heartbeat_idle_timeout": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "dtls_heartbeat_interval": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "dtls_heartbeat_fail_count": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "tunnel_ip_pools": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "tunnel_ipv6_pools": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "dns_suffix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wins_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wins_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_wins_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_wins_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "v_range": [["v6.0.0", ""]], + }, + "dns_suffix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wins_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wins_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_wins_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_wins_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, "url_obscuration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "http_compression": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "http_only_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "deflate_compression_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "deflate_min_data_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "deflate_compression_level": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "deflate_min_data_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "port_precedence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_tunnel_static_route": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "header_x_forwarded_for": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "source_interface": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "source_address": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "source_address_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "source_address6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "source_address6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "default_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "default_portal": {"v_range": [["v6.0.0", ""]], "type": "string"}, "authentication_rule": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, @@ -4633,2534 +1316,212 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "source_address": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "source_address_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "source_address6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "source_address6_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "users": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "groups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "portal": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "realm": {"v_range": [["v6.0.0", ""]], "type": "string"}, "client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "user_peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "user_peer": {"v_range": [["v6.2.0", ""]], "type": "string"}, "cipher": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "high"}, + {"value": "medium"}, ], }, "auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "radius", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tacacs+", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ldap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "peer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "any"}, + {"value": "local"}, + {"value": "radius"}, + {"value": "tacacs+"}, + {"value": "ldap"}, + {"value": "peer", "v_range": [["v7.0.1", ""]]}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "browser_language_detection": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dtls_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dtls_max_proto_ver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "dtls1-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dtls1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "dtls1-0"}, {"value": "dtls1-2"}], }, "dtls_min_proto_ver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "dtls1-0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dtls1-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "dtls1-0"}, {"value": "dtls1-2"}], }, "check_referer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "http_request_header_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "http_request_body_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "http_request_header_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "http_request_body_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "auth_session_check_source_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_connect_without_reauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "tunnel_user_session_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "tunnel_user_session_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "hsts_include_subdomains": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "transform_backward_slashes": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "encode_2f_sequence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "encrypt_and_store_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "client_sigalgs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "no-rsa-pss", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "no-rsa-pss"}, {"value": "all"}], }, "dual_stack_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_addr_assigned_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "first-available", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "saml_redirect_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "web_mode_snat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "first-available"}, {"value": "round-robin"}], }, + "saml_redirect_port": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "ztna_trusted_client": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "server_hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "server_hostname": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "web_mode_snat": { + "v_range": [["v7.0.6", "v7.4.0"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "tlsv1_0": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tlsv1_1": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tlsv1_2": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tlsv1_3": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "route_source_interface": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -7196,6 +1557,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_host_check_software.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_host_check_software.py index e43d4ea00..0e64e27f1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_host_check_software.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_host_check_software.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -103,7 +103,7 @@ options: - 'deny' id: description: - - ID (0 - 4294967295). + - ID (0 - 4294967295). see Notes. required: true type: int md5s: @@ -163,38 +163,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: SSL-VPN host check software. - fortios_vpn_ssl_web_host_check_software: - vdom: "{{ vdom }}" +- name: SSL-VPN host check software. + fortinet.fortios.fortios_vpn_ssl_web_host_check_software: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ssl_web_host_check_software: - check_item_list: - - - action: "require" - id: "5" - md5s: - - - id: "7" - target: "" - type: "file" - version: "" - guid: "" - name: "default_name_12" - os_type: "windows" - type: "av" - version: "" - + check_item_list: + - + action: "require" + id: "5" + md5s: + - + id: "7" + target: "" + type: "file" + version: "" + guid: "" + name: "default_name_12" + os_type: "windows" + type: "av" + version: "" """ RETURN = """ @@ -253,7 +242,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -281,6 +269,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ssl_web_host_check_software_data(json): @@ -310,7 +301,6 @@ def underscore_to_hyphen(data): def vpn_ssl_web_host_check_software(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -352,11 +342,16 @@ def vpn_ssl_web_host_check_software(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -408,7 +403,6 @@ def is_successful_status(resp): def fortios_vpn_ssl_web(data, fos, check_mode): - fos.do_member_operation("vpn.ssl.web", "host-check-software") if data["vpn_ssl_web_host_check_software"]: resp = vpn_ssl_web_host_check_software(data, fos, check_mode) @@ -416,7 +410,7 @@ def fortios_vpn_ssl_web(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("vpn_ssl_web_host_check_software") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -431,688 +425,61 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "os_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "windows", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "macos", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "windows"}, {"value": "macos"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "av", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fw", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "guid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "av"}, {"value": "fw"}], }, + "version": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "guid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "check_item_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "require", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "require"}, {"value": "deny"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "file", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "registry", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "process", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "file"}, + {"value": "registry"}, + {"value": "process"}, ], }, - "target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "target": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "version": {"v_range": [["v6.0.0", ""]], "type": "string"}, "md5s": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1149,6 +516,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_portal.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_portal.py index 359396563..c598b33de 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_portal.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_portal.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -223,6 +223,7 @@ options: - 'it-142' - 'ja' - 'ko' + - 'la-am' - 'lt' - 'lt-ibm' - 'lt-std' @@ -297,7 +298,7 @@ options: - 'disable' security: description: - - Security mode for RDP connection. + - Security mode for RDP connection . type: str choices: - 'any' @@ -430,6 +431,19 @@ options: choices: - 'enable' - 'disable' + default_protocol: + description: + - Application type that is set by default. + type: str + choices: + - 'web' + - 'ftp' + - 'telnet' + - 'smb' + - 'vnc' + - 'rdp' + - 'ssh' + - 'sftp' default_window_height: description: - Screen height (range from 0 - 65535). @@ -500,6 +514,13 @@ options: choices: - 'enable' - 'disable' + focus_bookmark: + description: + - Enable to prioritize the placement of the bookmark section over the quick-connection section in the SSL-VPN application. + type: str + choices: + - 'enable' + - 'disable' forticlient_download: description: - Enable/disable download option for FortiClient. @@ -901,7 +922,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int ipv6_dns_server1: @@ -1012,177 +1033,168 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Portal. - fortios_vpn_ssl_web_portal: - vdom: "{{ vdom }}" +- name: Portal. + fortinet.fortios.fortios_vpn_ssl_web_portal: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ssl_web_portal: - allow_user_access: "web" - auto_connect: "enable" - bookmark_group: - - - bookmarks: - - - additional_params: "" - apptype: "ftp" - color_depth: "32" - description: "" - domain: "" - folder: "" - form_data: - - - name: "default_name_14" - value: "" - height: "768" - host: "myhostname" - keyboard_layout: "ar-101" - listening_port: "0" - load_balancing_info: "" - logon_password: "" - logon_user: "" - name: "default_name_23" - port: "0" - preconnection_blob: "" - preconnection_id: "2147483648" - remote_port: "0" - restricted_admin: "enable" - security: "any" - send_preconnection_id: "enable" - server_layout: "de-de-qwertz" - show_status_window: "enable" - sso: "disable" - sso_credential: "sslvpn-login" - sso_credential_sent_once: "enable" - sso_password: "" - sso_username: "" - url: "myurl.com" - vnc_keyboard_layout: "default" - width: "1024" - name: "default_name_41" - client_src_range: "enable" - clipboard: "enable" - custom_lang: " (source system.custom-language.name)" - customize_forticlient_download_url: "enable" - default_window_height: "768" - default_window_width: "1024" - dhcp_ip_overlap: "use-new" - dhcp_ra_giaddr: "" - dhcp6_ra_linkaddr: "" - display_bookmark: "enable" - display_connection_tools: "enable" - display_history: "enable" - display_status: "enable" - dns_server1: "" - dns_server2: "" - dns_suffix: "" - exclusive_routing: "enable" - forticlient_download: "enable" - forticlient_download_method: "direct" - heading: "" - hide_sso_credential: "enable" - host_check: "none" - host_check_interval: "0" - host_check_policy: - - - name: "default_name_66 (source vpn.ssl.web.host-check-software.name)" - ip_mode: "range" - ip_pools: - - - name: "default_name_69 (source firewall.address.name firewall.addrgrp.name)" - ipv6_dns_server1: "" - ipv6_dns_server2: "" - ipv6_exclusive_routing: "enable" - ipv6_pools: - - - name: "default_name_74 (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_service_restriction: "enable" - ipv6_split_tunneling: "enable" - ipv6_split_tunneling_routing_address: - - - name: "default_name_78 (source firewall.address6.name firewall.addrgrp6.name)" - ipv6_split_tunneling_routing_negate: "enable" - ipv6_tunnel_mode: "enable" - ipv6_wins_server1: "" - ipv6_wins_server2: "" - keep_alive: "enable" - landing_page: - form_data: - - - name: "default_name_86" - value: "" - logout_url: "" - sso: "disable" - sso_credential: "sslvpn-login" - sso_password: "" - sso_username: "" - url: "myurl.com" - landing_page_mode: "enable" - limit_user_logins: "enable" - mac_addr_action: "allow" - mac_addr_check: "enable" - mac_addr_check_rule: - - - mac_addr_list: - - - addr: "" - mac_addr_mask: "48" - name: "default_name_102" - macos_forticlient_download_url: "" - name: "default_name_104" - os_check: "enable" - os_check_list: - - - action: "deny" - latest_patch_level: "" - name: "default_name_109" - tolerance: "0" - prefer_ipv6_dns: "enable" - redir_url: "" - rewrite_ip_uri_ui: "enable" - save_password: "enable" - service_restriction: "enable" - skip_check_for_browser: "enable" - skip_check_for_unsupported_browser: "enable" - skip_check_for_unsupported_os: "enable" - smb_max_version: "smbv1" - smb_min_version: "smbv1" - smb_ntlmv1_auth: "enable" - smbv1: "enable" - split_dns: - - - dns_server1: "" - dns_server2: "" - domains: "" - id: "127" - ipv6_dns_server1: "" - ipv6_dns_server2: "" - split_tunneling: "enable" - split_tunneling_routing_address: - - - name: "default_name_132 (source firewall.address.name firewall.addrgrp.name)" - split_tunneling_routing_negate: "enable" - theme: "jade" - transform_backward_slashes: "enable" - tunnel_mode: "enable" - use_sdwan: "enable" - user_bookmark: "enable" - user_group_bookmark: "enable" - web_mode: "enable" - windows_forticlient_download_url: "" - wins_server1: "" - wins_server2: "" - + allow_user_access: "web" + auto_connect: "enable" + bookmark_group: + - + bookmarks: + - + additional_params: "" + apptype: "ftp" + color_depth: "32" + description: "" + domain: "" + folder: "" + form_data: + - + name: "default_name_14" + value: "" + height: "768" + host: "myhostname" + keyboard_layout: "ar-101" + listening_port: "0" + load_balancing_info: "" + logon_password: "" + logon_user: "" + name: "default_name_23" + port: "0" + preconnection_blob: "" + preconnection_id: "2147483648" + remote_port: "0" + restricted_admin: "enable" + security: "any" + send_preconnection_id: "enable" + server_layout: "de-de-qwertz" + show_status_window: "enable" + sso: "disable" + sso_credential: "sslvpn-login" + sso_credential_sent_once: "enable" + sso_password: "" + sso_username: "" + url: "myurl.com" + vnc_keyboard_layout: "default" + width: "1024" + name: "default_name_41" + client_src_range: "enable" + clipboard: "enable" + custom_lang: " (source system.custom-language.name)" + customize_forticlient_download_url: "enable" + default_protocol: "web" + default_window_height: "768" + default_window_width: "1024" + dhcp_ip_overlap: "use-new" + dhcp_ra_giaddr: "" + dhcp6_ra_linkaddr: "" + display_bookmark: "enable" + display_connection_tools: "enable" + display_history: "enable" + display_status: "enable" + dns_server1: "" + dns_server2: "" + dns_suffix: "" + exclusive_routing: "enable" + focus_bookmark: "enable" + forticlient_download: "enable" + forticlient_download_method: "direct" + heading: "" + hide_sso_credential: "enable" + host_check: "none" + host_check_interval: "0" + host_check_policy: + - + name: "default_name_68 (source vpn.ssl.web.host-check-software.name)" + ip_mode: "range" + ip_pools: + - + name: "default_name_71 (source firewall.address.name firewall.addrgrp.name)" + ipv6_dns_server1: "" + ipv6_dns_server2: "" + ipv6_exclusive_routing: "enable" + ipv6_pools: + - + name: "default_name_76 (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_service_restriction: "enable" + ipv6_split_tunneling: "enable" + ipv6_split_tunneling_routing_address: + - + name: "default_name_80 (source firewall.address6.name firewall.addrgrp6.name)" + ipv6_split_tunneling_routing_negate: "enable" + ipv6_tunnel_mode: "enable" + ipv6_wins_server1: "" + ipv6_wins_server2: "" + keep_alive: "enable" + landing_page: + form_data: + - + name: "default_name_88" + value: "" + logout_url: "" + sso: "disable" + sso_credential: "sslvpn-login" + sso_password: "" + sso_username: "" + url: "myurl.com" + landing_page_mode: "enable" + limit_user_logins: "enable" + mac_addr_action: "allow" + mac_addr_check: "enable" + mac_addr_check_rule: + - + mac_addr_list: + - + addr: "" + mac_addr_mask: "48" + name: "default_name_104" + macos_forticlient_download_url: "" + name: "default_name_106" + os_check: "enable" + os_check_list: + - + action: "deny" + latest_patch_level: "" + name: "default_name_111" + tolerance: "0" + prefer_ipv6_dns: "enable" + redir_url: "" + rewrite_ip_uri_ui: "enable" + save_password: "enable" + service_restriction: "enable" + skip_check_for_browser: "enable" + skip_check_for_unsupported_browser: "enable" + skip_check_for_unsupported_os: "enable" + smb_max_version: "smbv1" + smb_min_version: "smbv1" + smb_ntlmv1_auth: "enable" + smbv1: "enable" + split_dns: + - + dns_server1: "" + dns_server2: "" + domains: "" + id: "129" + ipv6_dns_server1: "" + ipv6_dns_server2: "" + split_tunneling: "enable" + split_tunneling_routing_address: + - + name: "default_name_134 (source firewall.address.name firewall.addrgrp.name)" + split_tunneling_routing_negate: "enable" + theme: "jade" + transform_backward_slashes: "enable" + tunnel_mode: "enable" + use_sdwan: "enable" + user_bookmark: "enable" + user_group_bookmark: "enable" + web_mode: "enable" + windows_forticlient_download_url: "" + wins_server1: "" + wins_server2: "" """ RETURN = """ @@ -1241,7 +1253,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1269,6 +1280,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ssl_web_portal_data(json): @@ -1280,6 +1294,7 @@ def filter_vpn_ssl_web_portal_data(json): "clipboard", "custom_lang", "customize_forticlient_download_url", + "default_protocol", "default_window_height", "default_window_width", "dhcp_ip_overlap", @@ -1293,6 +1308,7 @@ def filter_vpn_ssl_web_portal_data(json): "dns_server2", "dns_suffix", "exclusive_routing", + "focus_bookmark", "forticlient_download", "forticlient_download_method", "heading", @@ -1405,7 +1421,6 @@ def underscore_to_hyphen(data): def vpn_ssl_web_portal(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1442,11 +1457,16 @@ def vpn_ssl_web_portal(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1496,13 +1516,12 @@ def is_successful_status(resp): def fortios_vpn_ssl_web(data, fos, check_mode): - fos.do_member_operation("vpn.ssl.web", "portal") if data["vpn_ssl_web_portal"]: resp = vpn_ssl_web_portal(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_ssl_web_portal")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1517,2713 +1536,215 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "tunnel_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "range", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user-group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "no-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "range"}, + {"value": "user-group"}, + {"value": "dhcp", "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]]}, + {"value": "no-ip", "v_range": [["v7.2.4", ""]]}, ], }, "dhcp_ip_overlap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "use-new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "use-old", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - ], + "options": [{"value": "use-new"}, {"value": "use-old"}], }, "auto_connect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "keep_alive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "save_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_pools": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "exclusive_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "service_restriction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_tunneling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_tunneling_routing_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_tunneling_routing_address": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_suffix": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wins_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "wins_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dhcp_ra_giaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_suffix": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wins_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "wins_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dhcp_ra_giaddr": {"v_range": [["v7.2.4", ""]], "type": "string"}, "ipv6_tunnel_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv6_pools": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ipv6_exclusive_routing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv6_service_restriction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv6_split_tunneling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv6_split_tunneling_routing_negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ipv6_split_tunneling_routing_address": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "ipv6_dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_wins_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_wins_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dhcp6_ra_linkaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "ipv6_dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_wins_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_wins_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dhcp6_ra_linkaddr": {"v_range": [["v7.2.4", ""]], "type": "string"}, "client_src_range": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "landing_page_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "display_bookmark": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "user_bookmark": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allow_user_access": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "web", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "smb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vnc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rdp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "citrix", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "portforward", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "web"}, + {"value": "ftp"}, + {"value": "smb"}, + {"value": "sftp", "v_range": [["v6.2.0", ""]]}, + {"value": "telnet"}, + {"value": "ssh"}, + {"value": "vnc"}, + {"value": "rdp"}, + {"value": "ping"}, + {"value": "citrix", "v_range": [["v6.0.0", "v7.0.0"]]}, + {"value": "portforward", "v_range": [["v6.0.0", "v7.0.0"]]}, ], "multiple_values": True, "elements": "str", }, - "user_group_bookmark": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "default_protocol": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "web"}, + {"value": "ftp"}, + {"value": "telnet"}, + {"value": "smb"}, + {"value": "vnc"}, + {"value": "rdp"}, + {"value": "ssh"}, + {"value": "sftp"}, ], }, + "user_group_bookmark": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, "bookmark_group": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, @@ -4232,2255 +1753,162 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "apptype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ + {"value": "ftp"}, + {"value": "rdp"}, + {"value": "sftp", "v_range": [["v6.2.0", ""]]}, + {"value": "smb"}, + {"value": "ssh"}, + {"value": "telnet"}, + {"value": "vnc"}, + {"value": "web"}, + {"value": "citrix", "v_range": [["v6.0.0", "v6.0.11"]]}, { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rdp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "smb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vnc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "web", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "citrix", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "portforward", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "value": "portforward", + "v_range": [["v6.0.0", "v6.0.11"]], }, ], }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "folder": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "host": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "folder": {"v_range": [["v6.0.0", ""]], "type": "string"}, "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "additional_params": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "keyboard_layout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "ar-101", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ar-102", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ar-102-azerty", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "can-mul", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz-qwerty", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz-pr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "da", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "nl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de-ch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de-ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-uk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-uk-ext", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-us-dvorak", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "es", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "es-var", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fi-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-apple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, - { - "value": "fr-ca", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-ch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-be", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hu", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hu-101", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "it", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "it-142", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ja", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ko", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt-ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lav-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lav-leg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mk-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "no-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pol-214", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pol-pr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt-br", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt-br-abnt2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru-mne", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru-t", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sv-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tuk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tur-f", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tur-q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-sym-sg-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-sym-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-hk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-mo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "ar-101"}, + {"value": "ar-102"}, + {"value": "ar-102-azerty"}, + {"value": "can-mul"}, + {"value": "cz"}, + {"value": "cz-qwerty"}, + {"value": "cz-pr"}, + {"value": "da"}, + {"value": "nl"}, + {"value": "de"}, + {"value": "de-ch"}, + {"value": "de-ibm"}, + {"value": "en-uk"}, + {"value": "en-uk-ext"}, + {"value": "en-us"}, + {"value": "en-us-dvorak"}, + {"value": "es"}, + {"value": "es-var"}, + {"value": "fi"}, + {"value": "fi-sami"}, + {"value": "fr"}, + {"value": "fr-apple", "v_range": [["v7.0.6", ""]]}, + {"value": "fr-ca"}, + {"value": "fr-ch"}, + {"value": "fr-be"}, + {"value": "hr"}, + {"value": "hu"}, + {"value": "hu-101"}, + {"value": "it"}, + {"value": "it-142"}, + {"value": "ja"}, + {"value": "ko"}, + {"value": "la-am", "v_range": [["v7.4.1", ""]]}, + {"value": "lt"}, + {"value": "lt-ibm"}, + {"value": "lt-std"}, + {"value": "lav-std"}, + {"value": "lav-leg"}, + {"value": "mk"}, + {"value": "mk-std"}, + {"value": "no"}, + {"value": "no-sami"}, + {"value": "pol-214"}, + {"value": "pol-pr"}, + {"value": "pt"}, + {"value": "pt-br"}, + {"value": "pt-br-abnt2"}, + {"value": "ru"}, + {"value": "ru-mne"}, + {"value": "ru-t"}, + {"value": "sl"}, + {"value": "sv"}, + {"value": "sv-sami"}, + {"value": "tuk"}, + {"value": "tur-f"}, + {"value": "tur-q"}, + {"value": "zh-sym-sg-us"}, + {"value": "zh-sym-us"}, + {"value": "zh-tr-hk"}, + {"value": "zh-tr-mo"}, + {"value": "zh-tr-us"}, ], }, "security": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rdp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nla", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "rdp"}, + {"value": "nla"}, + {"value": "tls"}, ], }, "send_preconnection_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "preconnection_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "preconnection_blob": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "load_balancing_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "restricted_admin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "logon_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "logon_user": {"v_range": [["v6.0.0", ""]], "type": "string"}, "logon_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "color_depth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "32"}, + {"value": "16"}, + {"value": "8"}, ], }, "sso": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "static"}, + {"value": "auto"}, ], }, "form_data": { @@ -6488,3909 +1916,321 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "sso_credential": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "sslvpn-login", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alternative", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "sslvpn-login"}, + {"value": "alternative"}, ], }, - "sso_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sso_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "sso_username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sso_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sso_credential_sent_once": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "width": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "height": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "width": {"v_range": [["v7.0.4", ""]], "type": "integer"}, + "height": {"v_range": [["v7.0.4", ""]], "type": "integer"}, "vnc_keyboard_layout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "da", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "nl", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "en-uk", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "en-uk-ext", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "fi", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "fr", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "fr-be", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "fr-ca-mul", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "de", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "de-ch", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "it", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "it-142", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "pt", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "pt-br-abnt2", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "no", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "gd", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "es", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "sv", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "us-intl", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "default"}, + {"value": "da"}, + {"value": "nl"}, + {"value": "en-uk"}, + {"value": "en-uk-ext"}, + {"value": "fi"}, + {"value": "fr"}, + {"value": "fr-be"}, + {"value": "fr-ca-mul"}, + {"value": "de"}, + {"value": "de-ch"}, + {"value": "it"}, + {"value": "it-142"}, + {"value": "pt"}, + {"value": "pt-br-abnt2"}, + {"value": "no"}, + {"value": "gd"}, + {"value": "es"}, + {"value": "sv"}, + {"value": "us-intl"}, ], }, "listening_port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, "remote_port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, "show_status_window": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_layout": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "de-de-qwertz", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "en-gb-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "en-us-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "es-es-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "de-de-qwertz"}, + {"value": "en-gb-qwerty"}, + {"value": "en-us-qwerty"}, + {"value": "es-es-qwerty"}, { "value": "fr-ca-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "fr-fr-azerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fr-ch-qwertz", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "it-it-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ja-jp-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pt-br-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sv-se-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tr-tr-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "failsafe", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [["v6.2.0", "v7.0.0"]], + }, + {"value": "fr-fr-azerty"}, + {"value": "fr-ch-qwertz"}, + {"value": "it-it-qwerty"}, + {"value": "ja-jp-qwerty"}, + {"value": "pt-br-qwerty"}, + {"value": "sv-se-qwerty"}, + {"value": "tr-tr-qwerty"}, + {"value": "failsafe"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "display_connection_tools": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, - ], - }, - "display_history": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, }, + "v_range": [["v6.0.0", ""]], + }, + "display_connection_tools": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "display_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "display_history": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "rewrite_ip_uri_ui": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "focus_bookmark": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "heading": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "display_status": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "redir_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "rewrite_ip_uri_ui": { + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "heading": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "redir_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, "theme": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "jade", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "neutrino", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "mariner", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "graphite", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "melongene", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jet-stream", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "security-fabric", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "dark-matter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "onyx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "eclipse", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "blue", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "green", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "red", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "jade", "v_range": [["v7.0.0", ""]]}, + {"value": "neutrino", "v_range": [["v6.2.0", ""]]}, + {"value": "mariner"}, + {"value": "graphite", "v_range": [["v7.0.0", ""]]}, + {"value": "melongene"}, + {"value": "jet-stream", "v_range": [["v7.4.0", ""]]}, + {"value": "security-fabric", "v_range": [["v7.4.0", ""]]}, + {"value": "dark-matter", "v_range": [["v7.0.0", ""]]}, + {"value": "onyx", "v_range": [["v7.0.0", ""]]}, + {"value": "eclipse", "v_range": [["v7.0.0", ""]]}, + {"value": "blue", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "green", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "red", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, - "custom_lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "custom_lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, "smb_ntlmv1_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "smbv1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "smb_min_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "smbv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "smbv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "smbv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "smbv1"}, {"value": "smbv2"}, {"value": "smbv3"}], }, "smb_max_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "smbv1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "smbv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "smbv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "smbv1"}, {"value": "smbv2"}, {"value": "smbv3"}], }, "use_sdwan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.7", "v6.2.7"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.2.7": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "prefer_ipv6_dns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "clipboard": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "default_window_width": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "default_window_height": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "default_window_width": {"v_range": [["v7.0.6", ""]], "type": "integer"}, + "default_window_height": {"v_range": [["v7.0.6", ""]], "type": "integer"}, "host_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fw", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "av-fw", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "custom", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "av"}, + {"value": "fw"}, + {"value": "av-fw"}, + {"value": "custom"}, ], }, - "host_check_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "host_check_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "host_check_policy": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "limit_user_logins": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mac_addr_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mac_addr_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "mac_addr_check_rule": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "mac_addr_mask": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "mac_addr_mask": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "mac_addr_list": { "type": "list", "elements": "dict", "children": { "addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "os_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_download": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forticlient_download_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "direct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssl-vpn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "direct"}, {"value": "ssl-vpn"}], }, "customize_forticlient_download_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "windows_forticlient_download_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "macos_forticlient_download_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "skip_check_for_unsupported_os": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "skip_check_for_browser": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hide_sso_credential": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_dns": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "domains": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_dns_server1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ipv6_dns_server2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "domains": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server1": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6_dns_server2": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "landing_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "dict", "children": { - "url": {"revisions": {"v7.4.0": True}, "type": "string"}, - "logout_url": {"revisions": {"v7.4.0": True}, "type": "string"}, + "url": {"v_range": [["v7.4.0", ""]], "type": "string"}, "sso": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "static", "revisions": {"v7.4.0": True}}, - {"value": "auto", "revisions": {"v7.4.0": True}}, + {"value": "disable"}, + {"value": "static"}, + {"value": "auto"}, ], }, "form_data": { @@ -10398,24 +2238,22 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, }, - "value": {"revisions": {"v7.4.0": True}, "type": "string"}, + "value": {"v_range": [["v7.4.0", ""]], "type": "string"}, }, - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], }, "sso_credential": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "sslvpn-login", "revisions": {"v7.4.0": True}}, - {"value": "alternative", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "sslvpn-login"}, {"value": "alternative"}], }, - "sso_username": {"revisions": {"v7.4.0": True}, "type": "string"}, - "sso_password": {"revisions": {"v7.4.0": True}, "type": "string"}, + "sso_username": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "sso_password": {"v_range": [["v7.4.0", ""]], "type": "string"}, + "logout_url": {"v_range": [["v7.4.0", "v7.4.0"]], "type": "string"}, }, }, "os_check_list": { @@ -10423,256 +2261,42 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "required": True, }, "action": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "deny", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "check-up-to-date", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "deny"}, + {"value": "allow"}, + {"value": "check-up-to-date"}, ], }, "tolerance": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "latest_patch_level": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, "transform_backward_slashes": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "skip_check_for_unsupported_browser": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -10707,6 +2331,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_realm.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_realm.py index 2cc562d46..7af101373 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_realm.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_realm.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -131,32 +131,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Realm. - fortios_vpn_ssl_web_realm: - vdom: "{{ vdom }}" +- name: Realm. + fortinet.fortios.fortios_vpn_ssl_web_realm: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ssl_web_realm: - login_page: "" - max_concurrent_user: "0" - nas_ip: "" - radius_port: "0" - radius_server: " (source user.radius.name)" - url_path: "" - virtual_host: "myhostname" - virtual_host_only: "enable" - virtual_host_server_cert: "myhostname (source vpn.certificate.local.name)" - + login_page: "" + max_concurrent_user: "0" + nas_ip: "" + radius_port: "0" + radius_server: " (source user.radius.name)" + url_path: "" + virtual_host: "myhostname" + virtual_host_only: "enable" + virtual_host_server_cert: "myhostname (source vpn.certificate.local.name)" """ RETURN = """ @@ -215,7 +204,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -243,6 +231,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ssl_web_realm_data(json): @@ -282,7 +273,6 @@ def underscore_to_hyphen(data): def vpn_ssl_web_realm(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -318,11 +308,16 @@ def vpn_ssl_web_realm(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -372,13 +367,12 @@ def is_successful_status(resp): def fortios_vpn_ssl_web(data, fos, check_mode): - fos.do_member_operation("vpn.ssl.web", "realm") if data["vpn_ssl_web_realm"]: resp = vpn_ssl_web_realm(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("vpn_ssl_web_realm")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -393,341 +387,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "url_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "max_concurrent_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "login_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "virtual_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "url_path": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "max_concurrent_user": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "login_page": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "virtual_host": {"v_range": [["v6.0.0", ""]], "type": "string"}, "virtual_host_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "virtual_host_server_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "radius_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "nas_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "virtual_host_server_cert": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "radius_server": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "nas_ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, "radius_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -762,6 +439,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_bookmark.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_bookmark.py index 30d5c7363..ce5de7185 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_bookmark.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_bookmark.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -193,6 +193,7 @@ options: - 'it-142' - 'ja' - 'ko' + - 'la-am' - 'lt' - 'lt-ibm' - 'lt-std' @@ -267,7 +268,7 @@ options: - 'disable' security: description: - - Security mode for RDP connection. + - Security mode for RDP connection . type: str choices: - 'any' @@ -381,62 +382,51 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SSL-VPN user bookmark. - fortios_vpn_ssl_web_user_bookmark: - vdom: "{{ vdom }}" +- name: Configure SSL-VPN user bookmark. + fortinet.fortios.fortios_vpn_ssl_web_user_bookmark: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ssl_web_user_bookmark: - bookmarks: - - - additional_params: "" - apptype: "ftp" - color_depth: "32" - description: "" - domain: "" - folder: "" - form_data: - - - name: "default_name_11" - value: "" - height: "768" - host: "myhostname" - keyboard_layout: "ar-101" - listening_port: "0" - load_balancing_info: "" - logon_password: "" - logon_user: "" - name: "default_name_20" - port: "0" - preconnection_blob: "" - preconnection_id: "2147483648" - remote_port: "0" - restricted_admin: "enable" - security: "any" - send_preconnection_id: "enable" - server_layout: "de-de-qwertz" - show_status_window: "enable" - sso: "disable" - sso_credential: "sslvpn-login" - sso_credential_sent_once: "enable" - sso_password: "" - sso_username: "" - url: "myurl.com" - vnc_keyboard_layout: "default" - width: "1024" - custom_lang: " (source system.custom-language.name)" - name: "default_name_39" - + bookmarks: + - + additional_params: "" + apptype: "ftp" + color_depth: "32" + description: "" + domain: "" + folder: "" + form_data: + - + name: "default_name_11" + value: "" + height: "768" + host: "myhostname" + keyboard_layout: "ar-101" + listening_port: "0" + load_balancing_info: "" + logon_password: "" + logon_user: "" + name: "default_name_20" + port: "0" + preconnection_blob: "" + preconnection_id: "2147483648" + remote_port: "0" + restricted_admin: "enable" + security: "any" + send_preconnection_id: "enable" + server_layout: "de-de-qwertz" + show_status_window: "enable" + sso: "disable" + sso_credential: "sslvpn-login" + sso_credential_sent_once: "enable" + sso_password: "" + sso_username: "" + url: "myurl.com" + vnc_keyboard_layout: "default" + width: "1024" + custom_lang: " (source system.custom-language.name)" + name: "default_name_39" """ RETURN = """ @@ -495,7 +485,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -523,6 +512,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ssl_web_user_bookmark_data(json): @@ -552,7 +544,6 @@ def underscore_to_hyphen(data): def vpn_ssl_web_user_bookmark(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -588,11 +579,16 @@ def vpn_ssl_web_user_bookmark(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -642,7 +638,6 @@ def is_successful_status(resp): def fortios_vpn_ssl_web(data, fos, check_mode): - fos.do_member_operation("vpn.ssl.web", "user-bookmark") if data["vpn_ssl_web_user_bookmark"]: resp = vpn_ssl_web_user_bookmark(data, fos, check_mode) @@ -650,7 +645,7 @@ def fortios_vpn_ssl_web(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("vpn_ssl_web_user_bookmark") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -665,2319 +660,147 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "custom_lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "custom_lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, "bookmarks": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "apptype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rdp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "smb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vnc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "web", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "citrix", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "portforward", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ftp"}, + {"value": "rdp"}, + {"value": "sftp", "v_range": [["v6.2.0", ""]]}, + {"value": "smb"}, + {"value": "ssh"}, + {"value": "telnet"}, + {"value": "vnc"}, + {"value": "web"}, + {"value": "citrix", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "portforward", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "folder": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "host": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "folder": {"v_range": [["v6.0.0", ""]], "type": "string"}, "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "additional_params": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, + "additional_params": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "keyboard_layout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "ar-101", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ar-102", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ar-102-azerty", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "can-mul", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz-qwerty", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz-pr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "da", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "nl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de-ch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de-ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-uk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-uk-ext", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-us-dvorak", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "es", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "es-var", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fi-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-apple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, - { - "value": "fr-ca", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-ch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-be", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hu", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hu-101", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "it", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "it-142", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ja", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ko", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt-ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lav-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lav-leg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mk-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "no-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pol-214", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pol-pr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt-br", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt-br-abnt2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru-mne", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru-t", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sv-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tuk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tur-f", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tur-q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-sym-sg-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-sym-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-hk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-mo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "ar-101"}, + {"value": "ar-102"}, + {"value": "ar-102-azerty"}, + {"value": "can-mul"}, + {"value": "cz"}, + {"value": "cz-qwerty"}, + {"value": "cz-pr"}, + {"value": "da"}, + {"value": "nl"}, + {"value": "de"}, + {"value": "de-ch"}, + {"value": "de-ibm"}, + {"value": "en-uk"}, + {"value": "en-uk-ext"}, + {"value": "en-us"}, + {"value": "en-us-dvorak"}, + {"value": "es"}, + {"value": "es-var"}, + {"value": "fi"}, + {"value": "fi-sami"}, + {"value": "fr"}, + {"value": "fr-apple", "v_range": [["v7.0.6", ""]]}, + {"value": "fr-ca"}, + {"value": "fr-ch"}, + {"value": "fr-be"}, + {"value": "hr"}, + {"value": "hu"}, + {"value": "hu-101"}, + {"value": "it"}, + {"value": "it-142"}, + {"value": "ja"}, + {"value": "ko"}, + {"value": "la-am", "v_range": [["v7.4.1", ""]]}, + {"value": "lt"}, + {"value": "lt-ibm"}, + {"value": "lt-std"}, + {"value": "lav-std"}, + {"value": "lav-leg"}, + {"value": "mk"}, + {"value": "mk-std"}, + {"value": "no"}, + {"value": "no-sami"}, + {"value": "pol-214"}, + {"value": "pol-pr"}, + {"value": "pt"}, + {"value": "pt-br"}, + {"value": "pt-br-abnt2"}, + {"value": "ru"}, + {"value": "ru-mne"}, + {"value": "ru-t"}, + {"value": "sl"}, + {"value": "sv"}, + {"value": "sv-sami"}, + {"value": "tuk"}, + {"value": "tur-f"}, + {"value": "tur-q"}, + {"value": "zh-sym-sg-us"}, + {"value": "zh-sym-us"}, + {"value": "zh-tr-hk"}, + {"value": "zh-tr-mo"}, + {"value": "zh-tr-us"}, ], }, "security": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rdp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nla", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "rdp"}, + {"value": "nla"}, + {"value": "tls"}, ], }, "send_preconnection_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "preconnection_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "preconnection_blob": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "load_balancing_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "preconnection_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "preconnection_blob": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "load_balancing_info": {"v_range": [["v6.0.0", ""]], "type": "string"}, "restricted_admin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "logon_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "logon_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "logon_user": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "logon_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "color_depth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "32"}, {"value": "16"}, {"value": "8"}], }, "sso": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "static"}, + {"value": "auto"}, ], }, "form_data": { @@ -2985,827 +808,88 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "sso_credential": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "sslvpn-login", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alternative", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sso_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sso_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "sslvpn-login"}, {"value": "alternative"}], }, + "sso_username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sso_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sso_credential_sent_once": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "width": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "height": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "width": {"v_range": [["v7.0.4", ""]], "type": "integer"}, + "height": {"v_range": [["v7.0.4", ""]], "type": "integer"}, "vnc_keyboard_layout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "da", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "nl", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "en-uk", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "en-uk-ext", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "fi", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "fr", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "fr-be", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "fr-ca-mul", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "de", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "de-ch", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "it", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "it-142", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "pt", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "pt-br-abnt2", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "no", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "gd", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "es", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "sv", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "us-intl", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "default"}, + {"value": "da"}, + {"value": "nl"}, + {"value": "en-uk"}, + {"value": "en-uk-ext"}, + {"value": "fi"}, + {"value": "fr"}, + {"value": "fr-be"}, + {"value": "fr-ca-mul"}, + {"value": "de"}, + {"value": "de-ch"}, + {"value": "it"}, + {"value": "it-142"}, + {"value": "pt"}, + {"value": "pt-br-abnt2"}, + {"value": "no"}, + {"value": "gd"}, + {"value": "es"}, + {"value": "sv"}, + {"value": "us-intl"}, ], }, "listening_port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "remote_port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, + "remote_port": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "show_status_window": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_layout": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "de-de-qwertz", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "en-gb-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "en-us-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "es-es-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fr-ca-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "fr-fr-azerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fr-ch-qwertz", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "it-it-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ja-jp-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pt-br-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sv-se-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tr-tr-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "failsafe", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "de-de-qwertz"}, + {"value": "en-gb-qwerty"}, + {"value": "en-us-qwerty"}, + {"value": "es-es-qwerty"}, + {"value": "fr-ca-qwerty", "v_range": [["v6.2.0", "v7.0.0"]]}, + {"value": "fr-fr-azerty"}, + {"value": "fr-ch-qwertz"}, + {"value": "it-it-qwerty"}, + {"value": "ja-jp-qwerty"}, + {"value": "pt-br-qwerty"}, + {"value": "sv-se-qwerty"}, + {"value": "tr-tr-qwerty"}, + {"value": "failsafe"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3842,6 +926,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_group_bookmark.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_group_bookmark.py index aefa07ca8..42f936293 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_group_bookmark.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ssl_web_user_group_bookmark.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -193,6 +193,7 @@ options: - 'it-142' - 'ja' - 'ko' + - 'la-am' - 'lt' - 'lt-ibm' - 'lt-std' @@ -267,7 +268,7 @@ options: - 'disable' security: description: - - Security mode for RDP connection. + - Security mode for RDP connection . type: str choices: - 'any' @@ -377,61 +378,50 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SSL-VPN user group bookmark. - fortios_vpn_ssl_web_user_group_bookmark: - vdom: "{{ vdom }}" +- name: Configure SSL-VPN user group bookmark. + fortinet.fortios.fortios_vpn_ssl_web_user_group_bookmark: + vdom: "{{ vdom }}" state: "present" access_token: "" vpn_ssl_web_user_group_bookmark: - bookmarks: - - - additional_params: "" - apptype: "ftp" - color_depth: "32" - description: "" - domain: "" - folder: "" - form_data: - - - name: "default_name_11" - value: "" - height: "768" - host: "myhostname" - keyboard_layout: "ar-101" - listening_port: "0" - load_balancing_info: "" - logon_password: "" - logon_user: "" - name: "default_name_20" - port: "0" - preconnection_blob: "" - preconnection_id: "2147483648" - remote_port: "0" - restricted_admin: "enable" - security: "any" - send_preconnection_id: "enable" - server_layout: "de-de-qwertz" - show_status_window: "enable" - sso: "disable" - sso_credential: "sslvpn-login" - sso_credential_sent_once: "enable" - sso_password: "" - sso_username: "" - url: "myurl.com" - vnc_keyboard_layout: "default" - width: "1024" - name: "default_name_38 (source user.group.name)" - + bookmarks: + - + additional_params: "" + apptype: "ftp" + color_depth: "32" + description: "" + domain: "" + folder: "" + form_data: + - + name: "default_name_11" + value: "" + height: "768" + host: "myhostname" + keyboard_layout: "ar-101" + listening_port: "0" + load_balancing_info: "" + logon_password: "" + logon_user: "" + name: "default_name_20" + port: "0" + preconnection_blob: "" + preconnection_id: "2147483648" + remote_port: "0" + restricted_admin: "enable" + security: "any" + send_preconnection_id: "enable" + server_layout: "de-de-qwertz" + show_status_window: "enable" + sso: "disable" + sso_credential: "sslvpn-login" + sso_credential_sent_once: "enable" + sso_password: "" + sso_username: "" + url: "myurl.com" + vnc_keyboard_layout: "default" + width: "1024" + name: "default_name_38 (source user.group.name)" """ RETURN = """ @@ -490,7 +480,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -518,6 +507,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_vpn_ssl_web_user_group_bookmark_data(json): @@ -547,7 +539,6 @@ def underscore_to_hyphen(data): def vpn_ssl_web_user_group_bookmark(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -589,11 +580,16 @@ def vpn_ssl_web_user_group_bookmark(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -645,7 +641,6 @@ def is_successful_status(resp): def fortios_vpn_ssl_web(data, fos, check_mode): - fos.do_member_operation("vpn.ssl.web", "user-group-bookmark") if data["vpn_ssl_web_user_group_bookmark"]: resp = vpn_ssl_web_user_group_bookmark(data, fos, check_mode) @@ -653,7 +648,7 @@ def fortios_vpn_ssl_web(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("vpn_ssl_web_user_group_bookmark") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -668,2290 +663,146 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "bookmarks": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "apptype": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rdp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "smb", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "telnet", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vnc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "web", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "citrix", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "portforward", - "revisions": { - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ftp"}, + {"value": "rdp"}, + {"value": "sftp", "v_range": [["v6.2.0", ""]]}, + {"value": "smb"}, + {"value": "ssh"}, + {"value": "telnet"}, + {"value": "vnc"}, + {"value": "web"}, + {"value": "citrix", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "portforward", "v_range": [["v6.0.0", "v6.0.11"]]}, ], }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "folder": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "host": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "folder": {"v_range": [["v6.0.0", ""]], "type": "string"}, "domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "additional_params": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, + "additional_params": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, "keyboard_layout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "ar-101", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ar-102", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ar-102-azerty", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "can-mul", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz-qwerty", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "cz-pr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "da", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "nl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de-ch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "de-ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-uk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-uk-ext", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "en-us-dvorak", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "es", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "es-var", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fi", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fi-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-apple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - }, - }, - { - "value": "fr-ca", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-ch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fr-be", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hu", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "hu-101", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "it", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "it-142", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ja", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ko", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt-ibm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lt-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lav-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "lav-leg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "mk-std", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "no-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pol-214", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pol-pr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt-br", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "pt-br-abnt2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru-mne", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ru-t", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "sv-sami", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tuk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tur-f", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "tur-q", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-sym-sg-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-sym-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-hk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-mo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "zh-tr-us", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "ar-101"}, + {"value": "ar-102"}, + {"value": "ar-102-azerty"}, + {"value": "can-mul"}, + {"value": "cz"}, + {"value": "cz-qwerty"}, + {"value": "cz-pr"}, + {"value": "da"}, + {"value": "nl"}, + {"value": "de"}, + {"value": "de-ch"}, + {"value": "de-ibm"}, + {"value": "en-uk"}, + {"value": "en-uk-ext"}, + {"value": "en-us"}, + {"value": "en-us-dvorak"}, + {"value": "es"}, + {"value": "es-var"}, + {"value": "fi"}, + {"value": "fi-sami"}, + {"value": "fr"}, + {"value": "fr-apple", "v_range": [["v7.0.6", ""]]}, + {"value": "fr-ca"}, + {"value": "fr-ch"}, + {"value": "fr-be"}, + {"value": "hr"}, + {"value": "hu"}, + {"value": "hu-101"}, + {"value": "it"}, + {"value": "it-142"}, + {"value": "ja"}, + {"value": "ko"}, + {"value": "la-am", "v_range": [["v7.4.1", ""]]}, + {"value": "lt"}, + {"value": "lt-ibm"}, + {"value": "lt-std"}, + {"value": "lav-std"}, + {"value": "lav-leg"}, + {"value": "mk"}, + {"value": "mk-std"}, + {"value": "no"}, + {"value": "no-sami"}, + {"value": "pol-214"}, + {"value": "pol-pr"}, + {"value": "pt"}, + {"value": "pt-br"}, + {"value": "pt-br-abnt2"}, + {"value": "ru"}, + {"value": "ru-mne"}, + {"value": "ru-t"}, + {"value": "sl"}, + {"value": "sv"}, + {"value": "sv-sami"}, + {"value": "tuk"}, + {"value": "tur-f"}, + {"value": "tur-q"}, + {"value": "zh-sym-sg-us"}, + {"value": "zh-sym-us"}, + {"value": "zh-tr-hk"}, + {"value": "zh-tr-mo"}, + {"value": "zh-tr-us"}, ], }, "security": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rdp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nla", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "any"}, + {"value": "rdp"}, + {"value": "nla"}, + {"value": "tls"}, ], }, "send_preconnection_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "preconnection_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "preconnection_blob": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "load_balancing_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "preconnection_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "preconnection_blob": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "load_balancing_info": {"v_range": [["v6.0.0", ""]], "type": "string"}, "restricted_admin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "logon_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "logon_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "logon_user": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "logon_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "color_depth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "32", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "16", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "32"}, {"value": "16"}, {"value": "8"}], }, "sso": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "static"}, + {"value": "auto"}, ], }, "form_data": { @@ -2959,827 +810,88 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "sso_credential": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "sslvpn-login", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "alternative", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sso_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sso_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "sslvpn-login"}, {"value": "alternative"}], }, + "sso_username": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sso_password": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sso_credential_sent_once": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "width": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "height": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "width": {"v_range": [["v7.0.4", ""]], "type": "integer"}, + "height": {"v_range": [["v7.0.4", ""]], "type": "integer"}, "vnc_keyboard_layout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "da", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "nl", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "en-uk", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "en-uk-ext", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "fi", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "fr", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "fr-be", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - { - "value": "fr-ca-mul", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "de", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "de-ch", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "it", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "it-142", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "pt", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "pt-br-abnt2", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, - {"value": "no", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "gd", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "es", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "sv", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - { - "value": "us-intl", - "revisions": {"v7.4.0": True, "v7.2.4": True}, - }, + {"value": "default"}, + {"value": "da"}, + {"value": "nl"}, + {"value": "en-uk"}, + {"value": "en-uk-ext"}, + {"value": "fi"}, + {"value": "fr"}, + {"value": "fr-be"}, + {"value": "fr-ca-mul"}, + {"value": "de"}, + {"value": "de-ch"}, + {"value": "it"}, + {"value": "it-142"}, + {"value": "pt"}, + {"value": "pt-br-abnt2"}, + {"value": "no"}, + {"value": "gd"}, + {"value": "es"}, + {"value": "sv"}, + {"value": "us-intl"}, ], }, "listening_port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "remote_port": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "integer", }, + "remote_port": {"v_range": [["v6.0.0", "v7.0.0"]], "type": "integer"}, "show_status_window": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_layout": { - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.0"]], "type": "string", "options": [ - { - "value": "de-de-qwertz", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "en-gb-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "en-us-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "es-es-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fr-ca-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "fr-fr-azerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fr-ch-qwertz", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "it-it-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ja-jp-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pt-br-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sv-se-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tr-tr-qwerty", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "failsafe", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "de-de-qwertz"}, + {"value": "en-gb-qwerty"}, + {"value": "en-us-qwerty"}, + {"value": "es-es-qwerty"}, + {"value": "fr-ca-qwerty", "v_range": [["v6.2.0", "v7.0.0"]]}, + {"value": "fr-fr-azerty"}, + {"value": "fr-ch-qwertz"}, + {"value": "it-it-qwerty"}, + {"value": "ja-jp-qwerty"}, + {"value": "pt-br-qwerty"}, + {"value": "sv-se-qwerty"}, + {"value": "tr-tr-qwerty"}, + {"value": "failsafe"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3816,6 +928,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_main_class.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_main_class.py index 3d2f25eaa..1b25b5f08 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_main_class.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_main_class.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Main signature class ID. + - Main signature class ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Hidden table for datasource. - fortios_waf_main_class: - vdom: "{{ vdom }}" +- name: Hidden table for datasource. + fortinet.fortios.fortios_waf_main_class: + vdom: "{{ vdom }}" state: "present" access_token: "" waf_main_class: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_waf_main_class_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def waf_main_class(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -270,11 +262,16 @@ def waf_main_class(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -322,13 +319,12 @@ def is_successful_status(resp): def fortios_waf(data, fos, check_mode): - fos.do_member_operation("waf", "main-class") if data["waf_main_class"]: resp = waf_main_class(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("waf_main_class")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -343,92 +339,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, }, + "v_range": [["v6.0.0", ""]], } @@ -463,6 +377,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_profile.py index 9459a539c..017f7813f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -217,7 +217,7 @@ options: - 'disable' id: description: - - Exception ID. + - Exception ID. see Notes. required: true type: int line_length: @@ -809,7 +809,7 @@ options: - 'others' id: description: - - HTTP method policy ID. + - HTTP method policy ID. see Notes. required: true type: int pattern: @@ -938,7 +938,7 @@ options: suboptions: id: description: - - Signature ID. Source waf.signature.id. + - Signature ID. see Notes. Source waf.signature.id. required: true type: int disabled_sub_class: @@ -949,7 +949,7 @@ options: suboptions: id: description: - - Signature subclass ID. Source waf.sub-class.id. + - Signature subclass ID. see Notes. Source waf.sub-class.id. required: true type: int main_class: @@ -968,7 +968,7 @@ options: - 'erase' id: description: - - Main signature class ID. Source waf.main-class.id. + - Main signature class ID. see Notes. Source waf.main-class.id. required: true type: int log: @@ -1007,7 +1007,7 @@ options: suboptions: id: description: - - URL access pattern ID. + - URL access pattern ID. see Notes. required: true type: int negate: @@ -1046,7 +1046,7 @@ options: type: str id: description: - - URL access ID. + - URL access ID. see Notes. required: true type: int log: @@ -1067,183 +1067,172 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Web application firewall configuration. - fortios_waf_profile: - vdom: "{{ vdom }}" +- name: Configure Web application firewall configuration. + fortinet.fortios.fortios_waf_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" waf_profile: - address_list: - blocked_address: - - - name: "default_name_5 (source firewall.address.name firewall.addrgrp.name)" - blocked_log: "enable" - severity: "high" - status: "enable" - trusted_address: - - - name: "default_name_10 (source firewall.address.name firewall.addrgrp.name)" - comment: "Comment." - constraint: - content_length: - action: "allow" - length: "67108864" - log: "enable" - severity: "high" - status: "enable" - exception: - - - address: " (source firewall.address.name firewall.addrgrp.name)" - content_length: "enable" - header_length: "enable" - hostname: "enable" - id: "24" - line_length: "enable" - malformed: "enable" - max_cookie: "enable" - max_header_line: "enable" - max_range_segment: "enable" - max_url_param: "enable" - method: "enable" - param_length: "enable" - pattern: "" - regex: "enable" - url_param_length: "enable" - version: "enable" - header_length: - action: "allow" - length: "8192" - log: "enable" - severity: "high" - status: "enable" - hostname: - action: "allow" - log: "enable" - severity: "high" - status: "enable" - line_length: - action: "allow" - length: "1024" - log: "enable" - severity: "high" - status: "enable" - malformed: - action: "allow" - log: "enable" - severity: "high" - status: "enable" - max_cookie: - action: "allow" - log: "enable" - max_cookie: "16" - severity: "high" - status: "enable" - max_header_line: - action: "allow" - log: "enable" - max_header_line: "32" - severity: "high" - status: "enable" - max_range_segment: - action: "allow" - log: "enable" - max_range_segment: "5" - severity: "high" - status: "enable" - max_url_param: - action: "allow" - log: "enable" - max_url_param: "16" - severity: "high" - status: "enable" - method: - action: "allow" - log: "enable" - severity: "high" - status: "enable" - param_length: - action: "allow" - length: "8192" - log: "enable" - severity: "high" - status: "enable" - url_param_length: - action: "allow" - length: "8192" - log: "enable" - severity: "high" - status: "enable" - version: - action: "allow" - log: "enable" - severity: "high" - status: "enable" - extended_log: "enable" - external: "disable" - method: - default_allowed_methods: "get" - log: "enable" - method_policy: - - - address: " (source firewall.address.name firewall.addrgrp.name)" - allowed_methods: "get" - id: "113" - pattern: "" - regex: "enable" - severity: "high" - status: "enable" - name: "default_name_118" - signature: - credit_card_detection_threshold: "3" - custom_signature: - - - action: "allow" - case_sensitivity: "disable" - direction: "request" - log: "enable" - name: "default_name_126" - pattern: "" - severity: "high" - status: "enable" - target: "arg" - disabled_signature: - - - id: "132 (source waf.signature.id)" - disabled_sub_class: - - - id: "134 (source waf.sub-class.id)" - main_class: - - - action: "allow" - id: "137 (source waf.main-class.id)" - log: "enable" - severity: "high" - status: "enable" - url_access: - - - access_pattern: - - - id: "143" - negate: "enable" - pattern: "" - regex: "enable" - srcaddr: " (source firewall.address.name firewall.addrgrp.name)" - action: "bypass" - address: " (source firewall.address.name firewall.addrgrp.name)" - id: "150" - log: "enable" - severity: "high" - + address_list: + blocked_address: + - + name: "default_name_5 (source firewall.address.name firewall.addrgrp.name)" + blocked_log: "enable" + severity: "high" + status: "enable" + trusted_address: + - + name: "default_name_10 (source firewall.address.name firewall.addrgrp.name)" + comment: "Comment." + constraint: + content_length: + action: "allow" + length: "67108864" + log: "enable" + severity: "high" + status: "enable" + exception: + - + address: " (source firewall.address.name firewall.addrgrp.name)" + content_length: "enable" + header_length: "enable" + hostname: "enable" + id: "24" + line_length: "enable" + malformed: "enable" + max_cookie: "enable" + max_header_line: "enable" + max_range_segment: "enable" + max_url_param: "enable" + method: "enable" + param_length: "enable" + pattern: "" + regex: "enable" + url_param_length: "enable" + version: "enable" + header_length: + action: "allow" + length: "8192" + log: "enable" + severity: "high" + status: "enable" + hostname: + action: "allow" + log: "enable" + severity: "high" + status: "enable" + line_length: + action: "allow" + length: "1024" + log: "enable" + severity: "high" + status: "enable" + malformed: + action: "allow" + log: "enable" + severity: "high" + status: "enable" + max_cookie: + action: "allow" + log: "enable" + max_cookie: "16" + severity: "high" + status: "enable" + max_header_line: + action: "allow" + log: "enable" + max_header_line: "32" + severity: "high" + status: "enable" + max_range_segment: + action: "allow" + log: "enable" + max_range_segment: "5" + severity: "high" + status: "enable" + max_url_param: + action: "allow" + log: "enable" + max_url_param: "16" + severity: "high" + status: "enable" + method: + action: "allow" + log: "enable" + severity: "high" + status: "enable" + param_length: + action: "allow" + length: "8192" + log: "enable" + severity: "high" + status: "enable" + url_param_length: + action: "allow" + length: "8192" + log: "enable" + severity: "high" + status: "enable" + version: + action: "allow" + log: "enable" + severity: "high" + status: "enable" + extended_log: "enable" + external: "disable" + method: + default_allowed_methods: "get" + log: "enable" + method_policy: + - + address: " (source firewall.address.name firewall.addrgrp.name)" + allowed_methods: "get" + id: "113" + pattern: "" + regex: "enable" + severity: "high" + status: "enable" + name: "default_name_118" + signature: + credit_card_detection_threshold: "3" + custom_signature: + - + action: "allow" + case_sensitivity: "disable" + direction: "request" + log: "enable" + name: "default_name_126" + pattern: "" + severity: "high" + status: "enable" + target: "arg" + disabled_signature: + - + id: "132 (source waf.signature.id)" + disabled_sub_class: + - + id: "134 (source waf.sub-class.id)" + main_class: + - + action: "allow" + id: "137 (source waf.main-class.id)" + log: "enable" + severity: "high" + status: "enable" + url_access: + - + access_pattern: + - + id: "143" + negate: "enable" + pattern: "" + regex: "enable" + srcaddr: " (source firewall.address.name firewall.addrgrp.name)" + action: "bypass" + address: " (source firewall.address.name firewall.addrgrp.name)" + id: "150" + log: "enable" + severity: "high" """ RETURN = """ @@ -1302,7 +1291,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1330,6 +1318,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_waf_profile_data(json): @@ -1400,7 +1391,6 @@ def underscore_to_hyphen(data): def waf_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1435,11 +1425,16 @@ def waf_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1487,13 +1482,12 @@ def is_successful_status(resp): def fortios_waf(data, fos, check_mode): - fos.do_member_operation("waf", "profile") if data["waf_profile"]: resp = waf_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("waf_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1508,241 +1502,19 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "external": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "signature": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "disabled_sub_class": { @@ -1750,152 +1522,27 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "disabled_signature": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "credit_card_detection_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "custom_signature": { @@ -1903,7154 +1550,523 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "erase", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "erase"}, ], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "request", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "response", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "request"}, {"value": "response"}], }, "case_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, "target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "arg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "arg-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-body", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-cookie-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-filename", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-header", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-header-name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-raw-uri", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "req-uri", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "resp-body", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "resp-hdr", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "resp-status", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "arg"}, + {"value": "arg-name"}, + {"value": "req-body"}, + {"value": "req-cookie"}, + {"value": "req-cookie-name"}, + {"value": "req-filename"}, + {"value": "req-header"}, + {"value": "req-header-name"}, + {"value": "req-raw-uri"}, + {"value": "req-uri"}, + {"value": "resp-body"}, + {"value": "resp-hdr"}, + {"value": "resp-status"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "main_class": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "allow", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "erase", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "allow"}, + {"value": "block"}, + {"value": "erase"}, ], }, "log": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], }, }, }, "constraint": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "header_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "content_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "param_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "line_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "url_param_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "malformed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "max_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "max_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "max_cookie": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "max_header_line": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "max_header_line": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "max_url_param": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "max_url_param": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, }, "max_range_segment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "max_range_segment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "block"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, }, @@ -9060,1984 +2076,123 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, "regex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "address": {"v_range": [["v6.0.0", ""]], "type": "string"}, "header_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "content_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "param_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "line_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "url_param_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "malformed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "max_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "max_header_line": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "max_url_param": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "max_range_segment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, }, "method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "default_allowed_methods": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "put", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "head", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trace", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "options", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "delete", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "others", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "get"}, + {"value": "post"}, + {"value": "put"}, + {"value": "head"}, + {"value": "connect"}, + {"value": "trace"}, + {"value": "options"}, + {"value": "delete"}, + {"value": "others"}, ], "multiple_values": True, "elements": "str", @@ -11047,829 +2202,60 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, "regex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "address": {"v_range": [["v6.0.0", ""]], "type": "string"}, "allowed_methods": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "get", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "post", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "put", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "head", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "connect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trace", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "options", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "delete", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "others", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "get"}, + {"value": "post"}, + {"value": "put"}, + {"value": "head"}, + {"value": "connect"}, + {"value": "trace"}, + {"value": "options"}, + {"value": "delete"}, + {"value": "others"}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, }, "address_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "blocked_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "trusted_address": { @@ -11877,124 +2263,24 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "blocked_address": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, }, @@ -12003,387 +2289,32 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "address": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "address": {"v_range": [["v6.0.0", ""]], "type": "string"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "permit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bypass"}, + {"value": "permit"}, + {"value": "block"}, ], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "severity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "high"}, + {"value": "medium"}, + {"value": "low"}, ], }, "access_pattern": { @@ -12391,383 +2322,31 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "srcaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "srcaddr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, "regex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "negate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -12802,6 +2381,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_signature.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_signature.py index c847557c9..dba4a35c2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_signature.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_signature.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,31 +96,20 @@ options: type: str id: description: - - Signature ID. + - Signature ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Hidden table for datasource. - fortios_waf_signature: - vdom: "{{ vdom }}" +- name: Hidden table for datasource. + fortinet.fortios.fortios_waf_signature: + vdom: "{{ vdom }}" state: "present" access_token: "" waf_signature: - desc: "" - id: "4" - + desc: "" + id: "4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_waf_signature_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def waf_signature(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -268,11 +260,16 @@ def waf_signature(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -320,13 +317,12 @@ def is_successful_status(resp): def fortios_waf(data, fos, check_mode): - fos.do_member_operation("waf", "signature") if data["waf_signature"]: resp = waf_signature(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("waf_signature")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -341,92 +337,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "desc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "desc": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, }, + "v_range": [["v6.0.0", ""]], } @@ -461,6 +375,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_sub_class.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_sub_class.py index b1f40cfd6..9bd9914bc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_sub_class.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_waf_sub_class.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -90,7 +92,7 @@ options: suboptions: id: description: - - Signature subclass ID. + - Signature subclass ID. see Notes. required: true type: int name: @@ -100,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Hidden table for datasource. - fortios_waf_sub_class: - vdom: "{{ vdom }}" +- name: Hidden table for datasource. + fortinet.fortios.fortios_waf_sub_class: + vdom: "{{ vdom }}" state: "present" access_token: "" waf_sub_class: - id: "3" - name: "default_name_4" - + id: "3" + name: "default_name_4" """ RETURN = """ @@ -177,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +195,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_waf_sub_class_data(json): @@ -234,7 +227,6 @@ def underscore_to_hyphen(data): def waf_sub_class(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -268,11 +260,16 @@ def waf_sub_class(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -320,13 +317,12 @@ def is_successful_status(resp): def fortios_waf(data, fos, check_mode): - fos.do_member_operation("waf", "sub-class") if data["waf_sub_class"]: resp = waf_sub_class(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("waf_sub_class")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -341,92 +337,10 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, }, + "v_range": [["v6.0.0", ""]], } @@ -461,6 +375,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_auth_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_auth_group.py index 6f0d1d5ab..426e26877 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_auth_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_auth_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -124,29 +124,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WAN optimization authentication groups. - fortios_wanopt_auth_group: - vdom: "{{ vdom }}" +- name: Configure WAN optimization authentication groups. + fortinet.fortios.fortios_wanopt_auth_group: + vdom: "{{ vdom }}" state: "present" access_token: "" wanopt_auth_group: - auth_method: "cert" - cert: " (source vpn.certificate.local.name)" - name: "default_name_5" - peer: " (source wanopt.peer.peer-host-id)" - peer_accept: "any" - psk: "" - + auth_method: "cert" + cert: " (source vpn.certificate.local.name)" + name: "default_name_5" + peer: " (source wanopt.peer.peer-host-id)" + peer_accept: "any" + psk: "" """ RETURN = """ @@ -205,7 +194,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -233,6 +221,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wanopt_auth_group_data(json): @@ -262,7 +253,6 @@ def underscore_to_hyphen(data): def wanopt_auth_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -298,11 +288,16 @@ def wanopt_auth_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -350,13 +345,12 @@ def is_successful_status(resp): def fortios_wanopt(data, fos, check_mode): - fos.do_member_operation("wanopt", "auth-group") if data["wanopt_auth_group"]: resp = wanopt_auth_group(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("wanopt_auth_group")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -371,357 +365,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "auth_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "cert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "psk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "psk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "cert"}, {"value": "psk"}], }, + "psk": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "cert": {"v_range": [["v6.0.0", ""]], "type": "string"}, "peer_accept": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "defined", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "one", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "peer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "any"}, {"value": "defined"}, {"value": "one"}], }, + "peer": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -756,6 +415,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_cache_service.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_cache_service.py index 65766371b..aa1e195b2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_cache_service.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_cache_service.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -163,39 +163,28 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Designate cache-service for wan-optimization and webcache. - fortios_wanopt_cache_service: - vdom: "{{ vdom }}" +- name: Designate cache-service for wan-optimization and webcache. + fortinet.fortios.fortios_wanopt_cache_service: + vdom: "{{ vdom }}" wanopt_cache_service: - acceptable_connections: "any" - collaboration: "enable" - device_id: "" - dst_peer: - - - auth_type: "0" - device_id: "" - encode_type: "0" - ip: "" - priority: "1" - prefer_scenario: "balance" - src_peer: - - - auth_type: "0" - device_id: "" - encode_type: "0" - ip: "" - priority: "1" - + acceptable_connections: "any" + collaboration: "enable" + device_id: "" + dst_peer: + - + auth_type: "0" + device_id: "" + encode_type: "0" + ip: "" + priority: "1" + prefer_scenario: "balance" + src_peer: + - + auth_type: "0" + device_id: "" + encode_type: "0" + ip: "" + priority: "1" """ RETURN = """ @@ -254,7 +243,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -334,7 +322,6 @@ def is_successful_status(resp): def fortios_wanopt(data, fos): - fos.do_member_operation("wanopt", "cache-service") if data["wanopt_cache_service"]: resp = wanopt_cache_service(data, fos) @@ -351,714 +338,60 @@ def fortios_wanopt(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "prefer_scenario": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "balance", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "prefer-speed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "prefer-cache", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "balance"}, + {"value": "prefer-speed"}, + {"value": "prefer-cache"}, ], }, "collaboration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "device_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "device_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "acceptable_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "peers", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "any"}, {"value": "peers"}], }, "dst_peer": { "type": "list", "elements": "dict", "children": { "device_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "encode_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "auth_type": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "encode_type": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "src_peer": { "type": "list", "elements": "dict", "children": { "device_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "encode_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "auth_type": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "encode_type": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "priority": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -1094,6 +427,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_content_delivery_network_rule.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_content_delivery_network_rule.py index 6e4d705c3..12b73c605 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_content_delivery_network_rule.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_content_delivery_network_rule.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -204,7 +204,7 @@ options: suboptions: id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int pattern: @@ -249,7 +249,7 @@ options: suboptions: id: description: - - Rule ID. + - Rule ID. see Notes. required: true type: int pattern: @@ -305,63 +305,52 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WAN optimization content delivery network rules. - fortios_wanopt_content_delivery_network_rule: - vdom: "{{ vdom }}" +- name: Configure WAN optimization content delivery network rules. + fortinet.fortios.fortios_wanopt_content_delivery_network_rule: + vdom: "{{ vdom }}" state: "present" access_token: "" wanopt_content_delivery_network_rule: - category: "vcache" - comment: "Comment about this CDN-rule." - host_domain_name_suffix: - - - name: "default_name_6" - name: "default_name_7" - request_cache_control: "enable" - response_cache_control: "enable" - response_expires: "enable" - rules: - - - content_id: - end_direction: "forward" - end_skip: "0" - end_str: "" - range_str: "" - start_direction: "forward" - start_skip: "0" - start_str: "" - target: "path" - match_entries: - - - id: "22" - pattern: - - - string: "" - target: "path" - match_mode: "all" - name: "default_name_27" - skip_entries: - - - id: "29" - pattern: - - - string: "" - target: "path" - skip_rule_mode: "all" - status: "enable" - text_response_vcache: "enable" - updateserver: "enable" - + category: "vcache" + comment: "Comment about this CDN-rule." + host_domain_name_suffix: + - + name: "default_name_6" + name: "default_name_7" + request_cache_control: "enable" + response_cache_control: "enable" + response_expires: "enable" + rules: + - + content_id: + end_direction: "forward" + end_skip: "0" + end_str: "" + range_str: "" + start_direction: "forward" + start_skip: "0" + start_str: "" + target: "path" + match_entries: + - + id: "22" + pattern: + - + string: "" + target: "path" + match_mode: "all" + name: "default_name_27" + skip_entries: + - + id: "29" + pattern: + - + string: "" + target: "path" + skip_rule_mode: "all" + status: "enable" + text_response_vcache: "enable" + updateserver: "enable" """ RETURN = """ @@ -420,7 +409,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -448,6 +436,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wanopt_content_delivery_network_rule_data(json): @@ -489,7 +480,6 @@ def underscore_to_hyphen(data): def wanopt_content_delivery_network_rule(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -533,11 +523,16 @@ def wanopt_content_delivery_network_rule(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -592,7 +587,6 @@ def is_successful_status(resp): def fortios_wanopt(data, fos, check_mode): - fos.do_member_operation("wanopt", "content-delivery-network-rule") if data["wanopt_content_delivery_network_rule"]: resp = wanopt_content_delivery_network_rule(data, fos, check_mode) @@ -600,7 +594,7 @@ def fortios_wanopt(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wanopt_content_delivery_network_rule") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -615,1110 +609,88 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "host_domain_name_suffix": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "vcache", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youtube", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "vcache"}, {"value": "youtube"}], }, "request_cache_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "response_cache_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "response_expires": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "updateserver": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "rules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "match_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "any"}], }, "skip_rule_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "all"}, {"value": "any"}], }, "match_entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "parameter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "referrer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youtube-map", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youtube-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youku-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "path"}, + {"value": "parameter"}, + {"value": "referrer"}, + {"value": "youtube-map"}, + {"value": "youtube-id"}, + {"value": "youku-id"}, ], }, "pattern": { @@ -1726,328 +698,35 @@ versioned_schema = { "elements": "dict", "children": { "string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "skip_entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "parameter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "referrer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youtube-map", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youtube-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youku-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "path"}, + {"value": "parameter"}, + {"value": "referrer"}, + {"value": "youtube-map"}, + {"value": "youtube-id"}, + {"value": "youku-id"}, ], }, "pattern": { @@ -2055,851 +734,63 @@ versioned_schema = { "elements": "dict", "children": { "string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "content_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "path", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "parameter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "referrer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youtube-map", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youtube-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "youku-id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hls-manifest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dash-manifest", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hls-fragment", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dash-fragment", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "path"}, + {"value": "parameter"}, + {"value": "referrer"}, + {"value": "youtube-map"}, + {"value": "youtube-id"}, + {"value": "youku-id"}, + {"value": "hls-manifest"}, + {"value": "dash-manifest"}, + {"value": "hls-fragment"}, + {"value": "dash-fragment"}, ], }, - "start_str": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "start_skip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "start_str": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "start_skip": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "start_direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "backward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "end_str": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "forward"}, {"value": "backward"}], }, - "end_skip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "end_str": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "end_skip": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "end_direction": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "forward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "backward", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "range_str": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "forward"}, {"value": "backward"}], }, + "range_str": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "text_response_vcache": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2936,6 +827,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_peer.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_peer.py index 3df72020d..6a461992b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_peer.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_peer.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,25 +100,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WAN optimization peers. - fortios_wanopt_peer: - vdom: "{{ vdom }}" +- name: Configure WAN optimization peers. + fortinet.fortios.fortios_wanopt_peer: + vdom: "{{ vdom }}" state: "present" access_token: "" wanopt_peer: - ip: "" - peer_host_id: "myhostname" - + ip: "" + peer_host_id: "myhostname" """ RETURN = """ @@ -177,7 +166,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -205,6 +193,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wanopt_peer_data(json): @@ -234,7 +225,6 @@ def underscore_to_hyphen(data): def wanopt_peer(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -268,11 +258,16 @@ def wanopt_peer(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -322,13 +317,12 @@ def is_successful_status(resp): def fortios_wanopt(data, fos, check_mode): - fos.do_member_operation("wanopt", "peer") if data["wanopt_peer"]: resp = wanopt_peer(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("wanopt_peer")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -344,91 +338,13 @@ versioned_schema = { "elements": "dict", "children": { "peer_host_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -463,6 +379,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_profile.py index 342029b81..171e90aba 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -441,76 +441,65 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WAN optimization profiles. - fortios_wanopt_profile: - vdom: "{{ vdom }}" +- name: Configure WAN optimization profiles. + fortinet.fortios.fortios_wanopt_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wanopt_profile: - auth_group: " (source wanopt.auth-group.name)" - cifs: - byte_caching: "enable" - log_traffic: "enable" - port: "32767" - prefer_chunking: "dynamic" - protocol_opt: "protocol" - secure_tunnel: "enable" - status: "enable" - tunnel_sharing: "shared" - comments: "" - ftp: - byte_caching: "enable" - log_traffic: "enable" - port: "32767" - prefer_chunking: "dynamic" - protocol_opt: "protocol" - secure_tunnel: "enable" - ssl: "enable" - status: "enable" - tunnel_sharing: "shared" - http: - byte_caching: "enable" - log_traffic: "enable" - port: "32767" - prefer_chunking: "dynamic" - protocol_opt: "protocol" - secure_tunnel: "enable" - ssl: "enable" - ssl_port: "32767" - status: "enable" - tunnel_non_http: "enable" - tunnel_sharing: "shared" - unknown_http_version: "reject" - mapi: - byte_caching: "enable" - log_traffic: "enable" - port: "32767" - secure_tunnel: "enable" - status: "enable" - tunnel_sharing: "shared" - name: "default_name_44" - tcp: - byte_caching: "enable" - byte_caching_opt: "mem-only" - log_traffic: "enable" - port: "" - secure_tunnel: "enable" - ssl: "enable" - ssl_port: "" - status: "enable" - tunnel_sharing: "shared" - transparent: "enable" - + auth_group: " (source wanopt.auth-group.name)" + cifs: + byte_caching: "enable" + log_traffic: "enable" + port: "32767" + prefer_chunking: "dynamic" + protocol_opt: "protocol" + secure_tunnel: "enable" + status: "enable" + tunnel_sharing: "shared" + comments: "" + ftp: + byte_caching: "enable" + log_traffic: "enable" + port: "32767" + prefer_chunking: "dynamic" + protocol_opt: "protocol" + secure_tunnel: "enable" + ssl: "enable" + status: "enable" + tunnel_sharing: "shared" + http: + byte_caching: "enable" + log_traffic: "enable" + port: "32767" + prefer_chunking: "dynamic" + protocol_opt: "protocol" + secure_tunnel: "enable" + ssl: "enable" + ssl_port: "32767" + status: "enable" + tunnel_non_http: "enable" + tunnel_sharing: "shared" + unknown_http_version: "reject" + mapi: + byte_caching: "enable" + log_traffic: "enable" + port: "32767" + secure_tunnel: "enable" + status: "enable" + tunnel_sharing: "shared" + name: "default_name_44" + tcp: + byte_caching: "enable" + byte_caching_opt: "mem-only" + log_traffic: "enable" + port: "" + secure_tunnel: "enable" + ssl: "enable" + ssl_port: "" + status: "enable" + tunnel_sharing: "shared" + transparent: "enable" """ RETURN = """ @@ -569,7 +558,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -597,6 +585,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wanopt_profile_data(json): @@ -636,7 +627,6 @@ def underscore_to_hyphen(data): def wanopt_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -672,11 +662,16 @@ def wanopt_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -724,13 +719,12 @@ def is_successful_status(resp): def fortios_wanopt(data, fos, check_mode): - fos.do_member_operation("wanopt", "profile") if data["wanopt_profile"]: resp = wanopt_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("wanopt_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -745,3739 +739,262 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "transparent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secure_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "byte_caching": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ssl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "prefer_chunking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fix", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "dynamic"}, {"value": "fix"}], }, "protocol_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "protocol", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "protocol"}, {"value": "tcp"}], }, "tunnel_sharing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "express-shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "shared"}, + {"value": "express-shared"}, + {"value": "private"}, ], }, "log_traffic": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssl_port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, + "ssl_port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "unknown_http_version": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "reject", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tunnel", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "best-effort", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "reject"}, + {"value": "tunnel"}, + {"value": "best-effort"}, ], }, "tunnel_non_http": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "cifs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secure_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "byte_caching": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "prefer_chunking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fix", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "dynamic"}, {"value": "fix"}], }, "protocol_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "protocol", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "protocol"}, {"value": "tcp"}], }, "tunnel_sharing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "express-shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "shared"}, + {"value": "express-shared"}, + {"value": "private"}, ], }, "log_traffic": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, }, "mapi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secure_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "byte_caching": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_sharing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "express-shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "shared"}, + {"value": "express-shared"}, + {"value": "private"}, ], }, "log_traffic": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, }, "ftp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secure_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "byte_caching": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "prefer_chunking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "dynamic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fix", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "dynamic"}, {"value": "fix"}], }, "protocol_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "protocol", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "protocol"}, {"value": "tcp"}], }, "tunnel_sharing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "express-shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "shared"}, + {"value": "express-shared"}, + {"value": "private"}, ], }, "ssl": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_traffic": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "port": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "port": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, }, }, "tcp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secure_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "byte_caching": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "byte_caching_opt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "mem-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mem-disk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "mem-only"}, {"value": "mem-disk"}], }, "tunnel_sharing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "express-shared", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "shared"}, + {"value": "express-shared"}, + {"value": "private"}, ], }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port": {"v_range": [["v6.0.0", ""]], "type": "string"}, "ssl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ssl_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ssl_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, "log_traffic": { - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.2"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -4512,6 +1029,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_remote_storage.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_remote_storage.py index 8fd09258a..7726b16df 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_remote_storage.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_remote_storage.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -102,25 +102,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure a remote cache device as Web cache storage. - fortios_wanopt_remote_storage: - vdom: "{{ vdom }}" +- name: Configure a remote cache device as Web cache storage. + fortinet.fortios.fortios_wanopt_remote_storage: + vdom: "{{ vdom }}" wanopt_remote_storage: - local_cache_id: "" - remote_cache_id: "" - remote_cache_ip: "" - status: "disable" - + local_cache_id: "" + remote_cache_id: "" + remote_cache_ip: "" + status: "disable" """ RETURN = """ @@ -179,7 +168,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -252,7 +240,6 @@ def is_successful_status(resp): def fortios_wanopt(data, fos): - fos.do_member_operation("wanopt", "remote-storage") if data["wanopt_remote_storage"]: resp = wanopt_remote_storage(data, fos) @@ -269,210 +256,17 @@ def fortios_wanopt(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "local_cache_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_cache_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "remote_cache_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "local_cache_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_cache_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "remote_cache_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -509,6 +303,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_settings.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_settings.py index ef1b85126..c1cbca575 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_settings.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_settings.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -110,25 +110,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WAN optimization settings. - fortios_wanopt_settings: - vdom: "{{ vdom }}" +- name: Configure WAN optimization settings. + fortinet.fortios.fortios_wanopt_settings: + vdom: "{{ vdom }}" wanopt_settings: - auto_detect_algorithm: "simple" - host_id: "myhostname" - tunnel_optimization: "memory-usage" - tunnel_ssl_algorithm: "high" - + auto_detect_algorithm: "simple" + host_id: "myhostname" + tunnel_optimization: "memory-usage" + tunnel_ssl_algorithm: "high" """ RETURN = """ @@ -187,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -265,7 +253,6 @@ def is_successful_status(resp): def fortios_wanopt(data, fos): - fos.do_member_operation("wanopt", "settings") if data["wanopt_settings"]: resp = wanopt_settings(data, fos) @@ -282,335 +269,27 @@ def fortios_wanopt(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "host_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "host_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "tunnel_ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high"}, {"value": "medium"}, {"value": "low"}], }, "auto_detect_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "simple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "diff-req-resp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "simple"}, {"value": "diff-req-resp"}], }, "tunnel_optimization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.6", "v7.0.12"], ["v7.2.1", ""]], "type": "string", "options": [ - { - "value": "memory-usage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "balanced", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, - { - "value": "throughput", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - }, - }, + {"value": "memory-usage"}, + {"value": "balanced"}, + {"value": "throughput"}, ], }, }, @@ -647,6 +326,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_webcache.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_webcache.py index f6a5865d3..3cccd7502 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_webcache.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wanopt_webcache.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -186,38 +186,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure global Web cache settings. - fortios_wanopt_webcache: - vdom: "{{ vdom }}" +- name: Configure global Web cache settings. + fortinet.fortios.fortios_wanopt_webcache: + vdom: "{{ vdom }}" wanopt_webcache: - always_revalidate: "enable" - cache_by_default: "enable" - cache_cookie: "enable" - cache_expired: "enable" - default_ttl: "1440" - external: "enable" - fresh_factor: "100" - host_validate: "enable" - ignore_conditional: "enable" - ignore_ie_reload: "enable" - ignore_ims: "enable" - ignore_pnc: "enable" - max_object_size: "512000" - max_ttl: "7200" - min_ttl: "5" - neg_resp_time: "0" - reval_pnc: "enable" - + always_revalidate: "enable" + cache_by_default: "enable" + cache_cookie: "enable" + cache_expired: "enable" + default_ttl: "1440" + external: "enable" + fresh_factor: "100" + host_validate: "enable" + ignore_conditional: "enable" + ignore_ie_reload: "enable" + ignore_ims: "enable" + ignore_pnc: "enable" + max_object_size: "512000" + max_ttl: "7200" + min_ttl: "5" + neg_resp_time: "0" + reval_pnc: "enable" """ RETURN = """ @@ -276,7 +265,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -367,7 +355,6 @@ def is_successful_status(resp): def fortios_wanopt(data, fos): - fos.do_member_operation("wanopt", "webcache") if data["wanopt_webcache"]: resp = wanopt_webcache(data, fos) @@ -384,1186 +371,69 @@ def fortios_wanopt(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "max_object_size": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "neg_resp_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fresh_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "min_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "default_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "max_object_size": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "neg_resp_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fresh_factor": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "min_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "default_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ignore_ims": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ignore_conditional": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ignore_pnc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ignore_ie_reload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cache_expired": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cache_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "reval_pnc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "always_revalidate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "cache_by_default": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "host_validate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "external": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -1599,6 +469,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_debug_url.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_debug_url.py index 51fa3be04..8358b38d3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_debug_url.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_debug_url.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,27 +114,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure debug URL addresses. - fortios_web_proxy_debug_url: - vdom: "{{ vdom }}" +- name: Configure debug URL addresses. + fortinet.fortios.fortios_web_proxy_debug_url: + vdom: "{{ vdom }}" state: "present" access_token: "" web_proxy_debug_url: - exact: "enable" - name: "default_name_4" - status: "enable" - url_pattern: "" - + exact: "enable" + name: "default_name_4" + status: "enable" + url_pattern: "" """ RETURN = """ @@ -193,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -221,6 +209,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_web_proxy_debug_url_data(json): @@ -250,7 +241,6 @@ def underscore_to_hyphen(data): def web_proxy_debug_url(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -286,11 +276,16 @@ def web_proxy_debug_url(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -340,13 +335,12 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos, check_mode): - fos.do_member_operation("web-proxy", "debug-url") if data["web_proxy_debug_url"]: resp = web_proxy_debug_url(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("web_proxy_debug_url")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -361,270 +355,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "url_pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "url_pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "exact": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -659,6 +403,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_explicit.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_explicit.py index 71f178b68..182e2a1e4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_explicit.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_explicit.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -207,7 +207,7 @@ options: type: str policyid: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int srcaddr: @@ -336,70 +336,59 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure explicit Web proxy settings. - fortios_web_proxy_explicit: - vdom: "{{ vdom }}" +- name: Configure explicit Web proxy settings. + fortinet.fortios.fortios_web_proxy_explicit: + vdom: "{{ vdom }}" web_proxy_explicit: - ftp_incoming_port: "" - ftp_over_http: "enable" - http_connection_mode: "static" - http_incoming_port: "" - https_incoming_port: "" - https_replacement_message: "enable" - incoming_ip: "" - incoming_ip6: "" - ipv6_status: "enable" - message_upon_server_error: "enable" - outgoing_ip: "" - outgoing_ip6: "" - pac_file_data: "" - pac_file_name: "" - pac_file_server_port: "" - pac_file_server_status: "enable" - pac_file_through_https: "enable" - pac_file_url: "" - pac_policy: - - - comments: "" - dstaddr: - - - name: "default_name_24 (source firewall.address.name firewall.addrgrp.name)" - pac_file_data: "" - pac_file_name: "" - policyid: "0" - srcaddr: - - - name: "default_name_29 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name)" - srcaddr6: - - - name: "default_name_31 (source firewall.address6.name firewall.addrgrp6.name)" - status: "enable" - pref_dns_result: "ipv4" - realm: "" - sec_default_action: "accept" - secure_web_proxy: "disable" - secure_web_proxy_cert: - - - name: "default_name_38 (source vpn.certificate.local.name)" - socks: "enable" - socks_incoming_port: "" - ssl_algorithm: "high" - ssl_dh_bits: "768" - status: "enable" - strict_guest: "enable" - trace_auth_no_rsp: "enable" - unknown_http_version: "reject" - + ftp_incoming_port: "" + ftp_over_http: "enable" + http_connection_mode: "static" + http_incoming_port: "" + https_incoming_port: "" + https_replacement_message: "enable" + incoming_ip: "" + incoming_ip6: "" + ipv6_status: "enable" + message_upon_server_error: "enable" + outgoing_ip: "" + outgoing_ip6: "" + pac_file_data: "" + pac_file_name: "" + pac_file_server_port: "" + pac_file_server_status: "enable" + pac_file_through_https: "enable" + pac_file_url: "" + pac_policy: + - + comments: "" + dstaddr: + - + name: "default_name_24 (source firewall.address.name firewall.addrgrp.name)" + pac_file_data: "" + pac_file_name: "" + policyid: "" + srcaddr: + - + name: "default_name_29 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name)" + srcaddr6: + - + name: "default_name_31 (source firewall.address6.name firewall.addrgrp6.name)" + status: "enable" + pref_dns_result: "ipv4" + realm: "" + sec_default_action: "accept" + secure_web_proxy: "disable" + secure_web_proxy_cert: + - + name: "default_name_38 (source vpn.certificate.local.name)" + socks: "enable" + socks_incoming_port: "" + ssl_algorithm: "high" + ssl_dh_bits: "768" + status: "enable" + strict_guest: "enable" + trace_auth_no_rsp: "enable" + unknown_http_version: "reject" """ RETURN = """ @@ -458,7 +447,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -595,7 +583,6 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos): - fos.do_member_operation("web-proxy", "explicit") if data["web_proxy_explicit"]: resp = web_proxy_explicit(data, fos) @@ -612,2221 +599,199 @@ def fortios_web_proxy(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "secure_web_proxy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "disable", "revisions": {"v7.4.0": True}}, - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "secure", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "disable"}, {"value": "enable"}, {"value": "secure"}], }, "ftp_over_http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "socks": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "http_incoming_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "http_incoming_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, "http_connection_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", "options": [ - {"value": "static", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "multiplex", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "serverpool", "revisions": {"v7.4.0": True, "v7.2.4": True}}, + {"value": "static"}, + {"value": "multiplex"}, + {"value": "serverpool"}, ], }, - "https_incoming_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "https_incoming_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, "secure_web_proxy_cert": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": {"v7.4.0": True}, + "v_range": [["v7.4.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], }, "ssl_dh_bits": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "768", "revisions": {"v7.4.0": True}}, - {"value": "1024", "revisions": {"v7.4.0": True}}, - {"value": "1536", "revisions": {"v7.4.0": True}}, - {"value": "2048", "revisions": {"v7.4.0": True}}, + {"value": "768"}, + {"value": "1024"}, + {"value": "1536"}, + {"value": "2048"}, ], }, - "ftp_incoming_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "socks_incoming_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "incoming_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ftp_incoming_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "socks_incoming_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "incoming_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "outgoing_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "ipv6_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "incoming_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "incoming_ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, "outgoing_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "strict_guest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pref_dns_result": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ipv4"}, {"value": "ipv6"}], }, "unknown_http_version": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "reject", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "best-effort", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tunnel", - "revisions": { - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "reject"}, + {"value": "best-effort"}, + {"value": "tunnel", "v_range": [["v6.4.0", "v7.0.0"]]}, ], }, - "realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "realm": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sec_default_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "accept", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "accept"}, {"value": "deny"}], }, "https_replacement_message": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "message_upon_server_error": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pac_file_server_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "pac_file_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "pac_file_server_port": {"v_range": [["v6.0.0", ""]], "type": "string"}, "pac_file_through_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "pac_file_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "pac_file_data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "pac_file_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pac_file_data": {"v_range": [["v6.0.0", ""]], "type": "string"}, "pac_policy": { "type": "list", "elements": "dict", "children": { "policyid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "srcaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "pac_file_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "pac_file_data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "pac_file_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "pac_file_data": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comments": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ssl_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "high"}, {"value": "medium"}, {"value": "low"}], }, "trace_auth_no_rsp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pac_file_url": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "string", }, }, @@ -2863,6 +828,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_fast_fallback.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_fast_fallback.py new file mode 100644 index 000000000..ae403a878 --- /dev/null +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_fast_fallback.py @@ -0,0 +1,415 @@ +#!/usr/bin/python +from __future__ import absolute_import, division, print_function + +# Copyright: (c) 2022 Fortinet +# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +__metaclass__ = type + +ANSIBLE_METADATA = { + "status": ["preview"], + "supported_by": "community", + "metadata_version": "1.1", +} + +DOCUMENTATION = """ +--- +module: fortios_web_proxy_fast_fallback +short_description: Proxy destination connection fast-fallback in Fortinet's FortiOS and FortiGate. +description: + - This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the + user to set and modify web_proxy feature and fast_fallback category. + Examples include all parameters and values need to be adjusted to datasources before usage. + Tested with FOS v6.0.0 +version_added: "2.0.0" +author: + - Link Zheng (@chillancezen) + - Jie Xue (@JieX19) + - Hongbin Lu (@fgtdev-hblu) + - Frank Shen (@frankshen01) + - Miguel Angel Munoz (@mamunozgonzalez) + - Nicolas Thomas (@thomnico) +notes: + - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks + +requirements: + - ansible>=2.14 +options: + access_token: + description: + - Token-based authentication. + Generated from GUI of Fortigate. + type: str + required: false + enable_log: + description: + - Enable/Disable logging for task. + type: bool + required: false + default: false + vdom: + description: + - Virtual domain, among those defined previously. A vdom is a + virtual instance of the FortiGate that can be configured and + used as a different unit. + type: str + default: root + member_path: + type: str + description: + - Member attribute path to operate on. + - Delimited by a slash character if there are more than one attribute. + - Parameter marked with member_path is legitimate for doing member operation. + member_state: + type: str + description: + - Add or delete a member under specified attribute path. + - When member_state is specified, the state option is ignored. + choices: + - 'present' + - 'absent' + + state: + description: + - Indicates whether to create or remove the object. + type: str + required: true + choices: + - 'present' + - 'absent' + web_proxy_fast_fallback: + description: + - Proxy destination connection fast-fallback. + default: null + type: dict + suboptions: + connection_mode: + description: + - Connection mode for multiple destinations. + type: str + choices: + - 'sequentially' + - 'simultaneously' + connection_timeout: + description: + - Number of milliseconds to wait before starting another connection (200 - 1800000). For sequential connection-mode only. + type: int + name: + description: + - Configure a name for the fast-fallback entry. + required: true + type: str + protocol: + description: + - Connection protocols for multiple destinations. + type: str + choices: + - 'IPv4-first' + - 'IPv6-first' + - 'IPv4-only' + - 'IPv6-only' + status: + description: + - Enable/disable the fast-fallback entry. + type: str + choices: + - 'enable' + - 'disable' +""" + +EXAMPLES = """ +- name: Proxy destination connection fast-fallback. + fortinet.fortios.fortios_web_proxy_fast_fallback: + vdom: "{{ vdom }}" + state: "present" + access_token: "" + web_proxy_fast_fallback: + connection_mode: "sequentially" + connection_timeout: "200" + name: "default_name_5" + protocol: "IPv4-first" + status: "enable" +""" + +RETURN = """ +build: + description: Build number of the fortigate image + returned: always + type: str + sample: '1547' +http_method: + description: Last method used to provision the content into FortiGate + returned: always + type: str + sample: 'PUT' +http_status: + description: Last result given by FortiGate on last operation applied + returned: always + type: str + sample: "200" +mkey: + description: Master key (id) used in the last call to FortiGate + returned: success + type: str + sample: "id" +name: + description: Name of the table used to fulfill the request + returned: always + type: str + sample: "urlfilter" +path: + description: Path of the table used to fulfill the request + returned: always + type: str + sample: "webfilter" +revision: + description: Internal revision number + returned: always + type: str + sample: "17.0.2.10658" +serial: + description: Serial number of the unit + returned: always + type: str + sample: "FGVMEVYYQT3AB5352" +status: + description: Indication of the operation's result + returned: always + type: str + sample: "success" +vdom: + description: Virtual domain used + returned: always + type: str + sample: "root" +version: + description: Version of the FortiGate + returned: always + type: str + sample: "v5.6.3" +""" +from ansible.module_utils.basic import AnsibleModule +from ansible.module_utils.connection import Connection +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + FortiOSHandler, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_legacy_fortiosapi, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + schema_to_module_spec, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.fortios import ( + check_schema_versioning, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortimanager.common import ( + FAIL_SOCKET_MSG, +) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.data_post_processor import ( + remove_invalid_fields, +) + + +def filter_web_proxy_fast_fallback_data(json): + option_list = [ + "connection_mode", + "connection_timeout", + "name", + "protocol", + "status", + ] + + json = remove_invalid_fields(json) + dictionary = {} + + for attribute in option_list: + if attribute in json and json[attribute] is not None: + dictionary[attribute] = json[attribute] + + return dictionary + + +def underscore_to_hyphen(data): + if isinstance(data, list): + for i, elem in enumerate(data): + data[i] = underscore_to_hyphen(elem) + elif isinstance(data, dict): + new_data = {} + for k, v in data.items(): + new_data[k.replace("_", "-")] = underscore_to_hyphen(v) + data = new_data + + return data + + +def web_proxy_fast_fallback(data, fos): + vdom = data["vdom"] + + state = data["state"] + + web_proxy_fast_fallback_data = data["web_proxy_fast_fallback"] + filtered_data = underscore_to_hyphen( + filter_web_proxy_fast_fallback_data(web_proxy_fast_fallback_data) + ) + + if state == "present" or state is True: + return fos.set("web-proxy", "fast-fallback", data=filtered_data, vdom=vdom) + + elif state == "absent": + return fos.delete( + "web-proxy", "fast-fallback", mkey=filtered_data["name"], vdom=vdom + ) + else: + fos._module.fail_json(msg="state must be present or absent!") + + +def is_successful_status(resp): + return ( + "status" in resp + and resp["status"] == "success" + or "http_status" in resp + and resp["http_status"] == 200 + or "http_method" in resp + and resp["http_method"] == "DELETE" + and resp["http_status"] == 404 + ) + + +def fortios_web_proxy(data, fos): + fos.do_member_operation("web-proxy", "fast-fallback") + if data["web_proxy_fast_fallback"]: + resp = web_proxy_fast_fallback(data, fos) + else: + fos._module.fail_json(msg="missing task body: %s" % ("web_proxy_fast_fallback")) + + return ( + not is_successful_status(resp), + is_successful_status(resp) + and (resp["revision_changed"] if "revision_changed" in resp else True), + resp, + {}, + ) + + +versioned_schema = { + "type": "list", + "elements": "dict", + "children": { + "name": {"v_range": [["v7.4.1", ""]], "type": "string", "required": True}, + "status": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "connection_mode": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "sequentially"}, {"value": "simultaneously"}], + }, + "protocol": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [ + {"value": "IPv4-first"}, + {"value": "IPv6-first"}, + {"value": "IPv4-only"}, + {"value": "IPv6-only"}, + ], + }, + "connection_timeout": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + }, + "v_range": [["v7.4.1", ""]], +} + + +def main(): + module_spec = schema_to_module_spec(versioned_schema) + mkeyname = "name" + fields = { + "access_token": {"required": False, "type": "str", "no_log": True}, + "enable_log": {"required": False, "type": "bool", "default": False}, + "vdom": {"required": False, "type": "str", "default": "root"}, + "member_path": {"required": False, "type": "str"}, + "member_state": { + "type": "str", + "required": False, + "choices": ["present", "absent"], + }, + "state": {"required": True, "type": "str", "choices": ["present", "absent"]}, + "web_proxy_fast_fallback": { + "required": False, + "type": "dict", + "default": None, + "options": {}, + }, + } + for attribute_name in module_spec["options"]: + fields["web_proxy_fast_fallback"]["options"][attribute_name] = module_spec[ + "options" + ][attribute_name] + if mkeyname and mkeyname == attribute_name: + fields["web_proxy_fast_fallback"]["options"][attribute_name][ + "required" + ] = True + + module = AnsibleModule(argument_spec=fields, supports_check_mode=False) + check_legacy_fortiosapi(module) + + is_error = False + has_changed = False + result = None + diff = None + + versions_check_result = None + if module._socket_path: + connection = Connection(module._socket_path) + if "access_token" in module.params: + connection.set_option("access_token", module.params["access_token"]) + + if "enable_log" in module.params: + connection.set_option("enable_log", module.params["enable_log"]) + else: + connection.set_option("enable_log", False) + fos = FortiOSHandler(connection, module, mkeyname) + versions_check_result = check_schema_versioning( + fos, versioned_schema, "web_proxy_fast_fallback" + ) + + is_error, has_changed, result, diff = fortios_web_proxy(module.params, fos) + + else: + module.fail_json(**FAIL_SOCKET_MSG) + + if versions_check_result and versions_check_result["matched"] is False: + module.warn( + "Ansible has detected version mismatch between FortOS system and your playbook, see more details by specifying option -vvv" + ) + + if not is_error: + if versions_check_result and versions_check_result["matched"] is False: + module.exit_json( + changed=has_changed, + version_check_warning=versions_check_result, + meta=result, + diff=diff, + ) + else: + module.exit_json(changed=has_changed, meta=result, diff=diff) + else: + if versions_check_result and versions_check_result["matched"] is False: + module.fail_json( + msg="Error in repo", + version_check_warning=versions_check_result, + meta=result, + ) + else: + module.fail_json(msg="Error in repo", meta=result) + + +if __name__ == "__main__": + main() diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server.py index a97ea5ca8..1e159ef90 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,6 +94,7 @@ options: type: str choices: - 'ip' + - 'ipv6' - 'fqdn' comment: description: @@ -115,6 +116,10 @@ options: description: - Forward proxy server IP address. type: str + ipv6: + description: + - Forward proxy server IPv6 address. + type: str monitor: description: - 'URL for forward server health check monitoring .' @@ -147,34 +152,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure forward-server addresses. - fortios_web_proxy_forward_server: - vdom: "{{ vdom }}" +- name: Configure forward-server addresses. + fortinet.fortios.fortios_web_proxy_forward_server: + vdom: "{{ vdom }}" state: "present" access_token: "" web_proxy_forward_server: - addr_type: "ip" - comment: "Comment." - fqdn: "" - healthcheck: "disable" - ip: "" - monitor: "" - name: "default_name_9" - password: "" - port: "3128" - server_down_option: "block" - username: "" - + addr_type: "ip" + comment: "Comment." + fqdn: "" + healthcheck: "disable" + ip: "" + ipv6: "" + monitor: "" + name: "default_name_10" + password: "" + port: "3128" + server_down_option: "block" + username: "" """ RETURN = """ @@ -233,7 +228,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -261,6 +255,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_web_proxy_forward_server_data(json): @@ -270,6 +267,7 @@ def filter_web_proxy_forward_server_data(json): "fqdn", "healthcheck", "ip", + "ipv6", "monitor", "name", "password", @@ -302,7 +300,6 @@ def underscore_to_hyphen(data): def web_proxy_forward_server(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -338,11 +335,16 @@ def web_proxy_forward_server(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -392,7 +394,6 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos, check_mode): - fos.do_member_operation("web-proxy", "forward-server") if data["web_proxy_forward_server"]: resp = web_proxy_forward_server(data, fos, check_mode) @@ -400,7 +401,7 @@ def fortios_web_proxy(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("web_proxy_forward_server") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -415,533 +416,36 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ip"}, + {"value": "ipv6", "v_range": [["v7.4.1", ""]]}, + {"value": "fqdn"}, ], }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ipv6": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "healthcheck": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "monitor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "monitor": {"v_range": [["v6.0.0", ""]], "type": "string"}, "server_down_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "block"}, {"value": "pass"}], }, + "username": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "password": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -978,6 +482,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server_group.py index 0b0a5173b..611e6b332 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_forward_server_group.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -136,31 +136,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure a forward server group consisting or multiple forward servers. Supports failover and load balancing. - fortios_web_proxy_forward_server_group: - vdom: "{{ vdom }}" +- name: Configure a forward server group consisting or multiple forward servers. Supports failover and load balancing. + fortinet.fortios.fortios_web_proxy_forward_server_group: + vdom: "{{ vdom }}" state: "present" access_token: "" web_proxy_forward_server_group: - affinity: "enable" - group_down_option: "block" - ldb_method: "weighted" - name: "default_name_6" - server_list: - - - name: "default_name_8 (source web-proxy.forward-server.name)" - weight: "10" - + affinity: "enable" + group_down_option: "block" + ldb_method: "weighted" + name: "default_name_6" + server_list: + - + name: "default_name_8 (source web-proxy.forward-server.name)" + weight: "10" """ RETURN = """ @@ -219,7 +208,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -247,6 +235,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_web_proxy_forward_server_group_data(json): @@ -276,7 +267,6 @@ def underscore_to_hyphen(data): def web_proxy_forward_server_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -316,11 +306,16 @@ def web_proxy_forward_server_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -372,7 +367,6 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos, check_mode): - fos.do_member_operation("web-proxy", "forward-server-group") if data["web_proxy_forward_server_group"]: resp = web_proxy_forward_server_group(data, fos, check_mode) @@ -380,7 +374,7 @@ def fortios_web_proxy(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("web_proxy_forward_server_group") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -395,450 +389,41 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "affinity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ldb_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "weighted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "least-session", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "active-passive", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "weighted"}, + {"value": "least-session"}, + {"value": "active-passive", "v_range": [["v6.2.0", ""]]}, ], }, "group_down_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "pass"}], }, "server_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "weight": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -875,6 +460,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_global.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_global.py index 650a28267..568a41b98 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_global.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_global.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -214,46 +214,35 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Web proxy global settings. - fortios_web_proxy_global: - vdom: "{{ vdom }}" +- name: Configure Web proxy global settings. + fortinet.fortios.fortios_web_proxy_global: + vdom: "{{ vdom }}" web_proxy_global: - fast_policy_match: "enable" - forward_proxy_auth: "enable" - forward_server_affinity_timeout: "30" - ldap_user_cache: "enable" - learn_client_ip: "enable" - learn_client_ip_from_header: "true-client-ip" - learn_client_ip_srcaddr: - - - name: "default_name_10 (source firewall.address.name firewall.addrgrp.name)" - learn_client_ip_srcaddr6: - - - name: "default_name_12 (source firewall.address6.name firewall.addrgrp6.name)" - log_forward_server: "enable" - max_message_length: "32" - max_request_length: "8" - max_waf_body_cache_length: "32" - proxy_fqdn: "" - src_affinity_exempt_addr: "" - src_affinity_exempt_addr6: "" - ssl_ca_cert: " (source vpn.certificate.local.name)" - ssl_cert: " (source vpn.certificate.local.name)" - strict_web_check: "enable" - tunnel_non_http: "enable" - unknown_http_version: "reject" - webproxy_profile: " (source web-proxy.profile.name)" - + fast_policy_match: "enable" + forward_proxy_auth: "enable" + forward_server_affinity_timeout: "30" + ldap_user_cache: "enable" + learn_client_ip: "enable" + learn_client_ip_from_header: "true-client-ip" + learn_client_ip_srcaddr: + - + name: "default_name_10 (source firewall.address.name firewall.addrgrp.name)" + learn_client_ip_srcaddr6: + - + name: "default_name_12 (source firewall.address6.name firewall.addrgrp6.name)" + log_forward_server: "enable" + max_message_length: "32" + max_request_length: "8" + max_waf_body_cache_length: "32" + proxy_fqdn: "" + src_affinity_exempt_addr: "" + src_affinity_exempt_addr6: "" + ssl_ca_cert: " (source vpn.certificate.local.name)" + ssl_cert: " (source vpn.certificate.local.name)" + strict_web_check: "enable" + tunnel_non_http: "enable" + unknown_http_version: "reject" + webproxy_profile: " (source web-proxy.profile.name)" """ RETURN = """ @@ -312,7 +301,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -439,7 +427,6 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos): - fos.do_member_operation("web-proxy", "global") if data["web_proxy_global"]: resp = web_proxy_global(data, fos) @@ -456,803 +443,52 @@ def fortios_web_proxy(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "ssl_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ssl_ca_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "ssl_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ssl_ca_cert": {"v_range": [["v6.2.0", ""]], "type": "string"}, "fast_policy_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ldap_user_cache": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "proxy_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "max_request_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_message_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "proxy_fqdn": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "max_request_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_message_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "strict_web_check": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forward_proxy_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "forward_server_affinity_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_waf_body_cache_length": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, - "webproxy_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "max_waf_body_cache_length": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "webproxy_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "learn_client_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "learn_client_ip_from_header": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "true-client-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "x-real-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "x-forwarded-for", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "true-client-ip"}, + {"value": "x-real-ip"}, + {"value": "x-forwarded-for"}, ], "multiple_values": True, "elements": "str", @@ -1262,306 +498,54 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "learn_client_ip_srcaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "src_affinity_exempt_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "src_affinity_exempt_addr6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "log_forward_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_non_http": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "unknown_http_version": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "reject", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tunnel", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "best-effort", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "reject"}, + {"value": "tunnel"}, + {"value": "best-effort"}, ], }, }, @@ -1598,6 +582,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_profile.py index f6b88a771..219ec16b4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -212,7 +212,7 @@ options: type: str id: description: - - HTTP forwarded header id. + - HTTP forwarded header id. see Notes. required: true type: int name: @@ -249,49 +249,38 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure web proxy profiles. - fortios_web_proxy_profile: - vdom: "{{ vdom }}" +- name: Configure web proxy profiles. + fortinet.fortios.fortios_web_proxy_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" web_proxy_profile: - header_client_ip: "pass" - header_front_end_https: "pass" - header_via_request: "pass" - header_via_response: "pass" - header_x_authenticated_groups: "pass" - header_x_authenticated_user: "pass" - header_x_forwarded_client_cert: "pass" - header_x_forwarded_for: "pass" - headers: - - - action: "add-to-request" - add_option: "append" - base64_encoding: "disable" - content: "" - dstaddr: - - - name: "default_name_17 (source firewall.address.name firewall.addrgrp.name)" - dstaddr6: - - - name: "default_name_19 (source firewall.address6.name firewall.addrgrp6.name)" - id: "20" - name: "default_name_21" - protocol: "https" - log_header_change: "enable" - name: "default_name_24" - strip_encoding: "enable" - + header_client_ip: "pass" + header_front_end_https: "pass" + header_via_request: "pass" + header_via_response: "pass" + header_x_authenticated_groups: "pass" + header_x_authenticated_user: "pass" + header_x_forwarded_client_cert: "pass" + header_x_forwarded_for: "pass" + headers: + - + action: "add-to-request" + add_option: "append" + base64_encoding: "disable" + content: "" + dstaddr: + - + name: "default_name_17 (source firewall.address.name firewall.addrgrp.name)" + dstaddr6: + - + name: "default_name_19 (source firewall.address6.name firewall.addrgrp6.name)" + id: "20" + name: "default_name_21" + protocol: "https" + log_header_change: "enable" + name: "default_name_24" + strip_encoding: "enable" """ RETURN = """ @@ -350,7 +339,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -378,6 +366,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_web_proxy_profile_data(json): @@ -449,7 +440,6 @@ def underscore_to_hyphen(data): def web_proxy_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -486,11 +476,16 @@ def web_proxy_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -538,13 +533,12 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos, check_mode): - fos.do_member_operation("web-proxy", "profile") if data["web_proxy_profile"]: resp = web_proxy_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("web_proxy_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -559,1872 +553,130 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "header_client_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "header_via_request": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "header_via_response": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "header_x_forwarded_for": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "header_x_forwarded_client_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "header_front_end_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "header_x_authenticated_user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "header_x_authenticated_groups": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "pass"}, {"value": "add"}, {"value": "remove"}], }, "strip_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log_header_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "headers": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dstaddr": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "dstaddr6": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "add-to-request", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "add-to-response", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-from-request", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remove-from-response", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor-request", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "monitor-response", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "add-to-request"}, + {"value": "add-to-response"}, + {"value": "remove-from-request"}, + {"value": "remove-from-response"}, + {"value": "monitor-request", "v_range": [["v7.4.0", ""]]}, + {"value": "monitor-response", "v_range": [["v7.4.0", ""]]}, ], }, - "content": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "content": {"v_range": [["v6.0.0", ""]], "type": "string"}, "base64_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "add_option": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "append", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "new-on-not-found", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "new", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "append"}, + {"value": "new-on-not-found"}, + {"value": "new"}, ], }, "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "list", - "options": [ - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "http", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "https"}, {"value": "http"}], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2459,6 +711,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_url_match.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_url_match.py index f1d0f094d..4a2972f77 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_url_match.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_url_match.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -99,6 +99,10 @@ options: description: - Comment. type: str + fast_fallback: + description: + - Fast fallback configuration entry name. Source web-proxy.fast-fallback.name. + type: str forward_server: description: - Forward server name. Source web-proxy.forward-server.name web-proxy.forward-server-group.name. @@ -122,29 +126,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Exempt URLs from web proxy forwarding and caching. - fortios_web_proxy_url_match: - vdom: "{{ vdom }}" +- name: Exempt URLs from web proxy forwarding and caching. + fortinet.fortios.fortios_web_proxy_url_match: + vdom: "{{ vdom }}" state: "present" access_token: "" web_proxy_url_match: - cache_exemption: "enable" - comment: "Comment." - forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" - name: "default_name_6" - status: "enable" - url_pattern: "" - + cache_exemption: "enable" + comment: "Comment." + fast_fallback: " (source web-proxy.fast-fallback.name)" + forward_server: " (source web-proxy.forward-server.name web-proxy.forward-server-group.name)" + name: "default_name_7" + status: "enable" + url_pattern: "" """ RETURN = """ @@ -203,7 +197,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -231,12 +224,16 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_web_proxy_url_match_data(json): option_list = [ "cache_exemption", "comment", + "fast_fallback", "forward_server", "name", "status", @@ -267,7 +264,6 @@ def underscore_to_hyphen(data): def web_proxy_url_match(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -303,11 +299,16 @@ def web_proxy_url_match(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -357,13 +358,12 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos, check_mode): - fos.do_member_operation("web-proxy", "url-match") if data["web_proxy_url_match"]: resp = web_proxy_url_match(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("web_proxy_url_match")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -378,328 +378,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "url_pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "forward_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "url_pattern": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "forward_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "fast_fallback": {"v_range": [["v7.4.1", ""]], "type": "string"}, "cache_exemption": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -734,6 +429,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_wisp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_wisp.py index 4323bd6df..348d07302 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_wisp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_web_proxy_wisp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -120,30 +120,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Websense Integrated Services Protocol (WISP) servers. - fortios_web_proxy_wisp: - vdom: "{{ vdom }}" +- name: Configure Websense Integrated Services Protocol (WISP) servers. + fortinet.fortios.fortios_web_proxy_wisp: + vdom: "{{ vdom }}" state: "present" access_token: "" web_proxy_wisp: - comment: "Comment." - max_connections: "64" - name: "default_name_5" - outgoing_ip: "" - server_ip: "" - server_port: "15868" - timeout: "5" - + comment: "Comment." + max_connections: "64" + name: "default_name_5" + outgoing_ip: "" + server_ip: "" + server_port: "15868" + timeout: "5" """ RETURN = """ @@ -202,7 +191,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -230,6 +218,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_web_proxy_wisp_data(json): @@ -267,7 +258,6 @@ def underscore_to_hyphen(data): def web_proxy_wisp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -303,11 +293,16 @@ def web_proxy_wisp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -355,13 +350,12 @@ def is_successful_status(resp): def fortios_web_proxy(data, fos, check_mode): - fos.do_member_operation("web-proxy", "wisp") if data["web_proxy_wisp"]: resp = web_proxy_wisp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("web_proxy_wisp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -376,237 +370,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "outgoing_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "outgoing_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_connections": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -641,6 +413,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content.py index 1fc02d9c4..2e5ea2f25 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -144,7 +146,7 @@ options: - 'disable' id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -154,34 +156,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Web filter banned word table. - fortios_webfilter_content: - vdom: "{{ vdom }}" +- name: Configure Web filter banned word table. + fortinet.fortios.fortios_webfilter_content: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_content: - comment: "Optional comments." - entries: - - - action: "block" - lang: "western" - name: "default_name_7" - pattern_type: "wildcard" - score: "10" - status: "enable" - id: "11" - name: "default_name_12" - + comment: "Optional comments." + entries: + - + action: "block" + lang: "western" + name: "default_name_7" + pattern_type: "wildcard" + score: "10" + status: "enable" + id: "11" + name: "default_name_12" """ RETURN = """ @@ -240,7 +231,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -268,6 +258,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_content_data(json): @@ -297,7 +290,6 @@ def underscore_to_hyphen(data): def webfilter_content(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -333,11 +325,16 @@ def webfilter_content(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -385,13 +382,12 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "content") if data["webfilter_content"]: resp = webfilter_content(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("webfilter_content")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -406,771 +402,54 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "pattern_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regexp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "wildcard"}, {"value": "regexp"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "western", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "simch", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "trach", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "japanese", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "korean", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "french", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "thai", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "spanish", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cyrillic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "western"}, + {"value": "simch"}, + {"value": "trach"}, + {"value": "japanese"}, + {"value": "korean"}, + {"value": "french"}, + {"value": "thai"}, + {"value": "spanish"}, + {"value": "cyrillic"}, ], }, - "score": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "score": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "exempt"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1205,6 +484,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content_header.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content_header.py index 7a77ebc20..e1d193a9f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content_header.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_content_header.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -118,7 +120,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int name: @@ -128,31 +130,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure content types used by Web filter. - fortios_webfilter_content_header: - vdom: "{{ vdom }}" +- name: Configure content types used by Web filter. + fortinet.fortios.fortios_webfilter_content_header: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_content_header: - comment: "Optional comments." - entries: - - - action: "block" - category: "" - pattern: "" - id: "8" - name: "default_name_9" - + comment: "Optional comments." + entries: + - + action: "block" + category: "" + pattern: "" + id: "8" + name: "default_name_9" """ RETURN = """ @@ -211,7 +202,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -239,6 +229,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_content_header_data(json): @@ -297,7 +290,6 @@ def underscore_to_hyphen(data): def webfilter_content_header(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -336,11 +328,16 @@ def webfilter_content_header(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -390,7 +387,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "content-header") if data["webfilter_content_header"]: resp = webfilter_content_header(data, fos, check_mode) @@ -398,7 +394,7 @@ def fortios_webfilter(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("webfilter_content_header") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -413,332 +409,38 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "entries": { "type": "list", "elements": "dict", "children": { "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "allow"}, + {"value": "exempt"}, ], }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -775,6 +477,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_fortiguard.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_fortiguard.py index a9dcee7e1..c3ebc4393 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_fortiguard.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_fortiguard.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -157,35 +157,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGuard Web Filter service. - fortios_webfilter_fortiguard: - vdom: "{{ vdom }}" +- name: Configure FortiGuard Web Filter service. + fortinet.fortios.fortios_webfilter_fortiguard: + vdom: "{{ vdom }}" webfilter_fortiguard: - cache_mem_percent: "2" - cache_mem_permille: "1" - cache_mode: "ttl" - cache_prefix_match: "enable" - close_ports: "enable" - embed_image: "enable" - ovrd_auth_https: "enable" - ovrd_auth_port: "32767" - ovrd_auth_port_http: "8008" - ovrd_auth_port_https: "8010" - ovrd_auth_port_https_flow: "8015" - ovrd_auth_port_warning: "8020" - request_packet_size_limit: "0" - warn_auth_https: "enable" - + cache_mem_percent: "2" + cache_mem_permille: "1" + cache_mode: "ttl" + cache_prefix_match: "enable" + close_ports: "enable" + embed_image: "enable" + ovrd_auth_https: "enable" + ovrd_auth_port: "32767" + ovrd_auth_port_http: "8008" + ovrd_auth_port_https: "8010" + ovrd_auth_port_https_flow: "8015" + ovrd_auth_port_warning: "8020" + request_packet_size_limit: "0" + warn_auth_https: "enable" """ RETURN = """ @@ -244,7 +233,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -332,7 +320,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos): - fos.do_member_operation("webfilter", "fortiguard") if data["webfilter_fortiguard"]: resp = webfilter_fortiguard(data, fos) @@ -349,722 +336,48 @@ def fortios_webfilter(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "cache_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "ttl", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "db-ver", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "ttl"}, {"value": "db-ver"}], }, "cache_prefix_match": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "cache_mem_permille": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "ovrd_auth_port_http": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ovrd_auth_port_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ovrd_auth_port_https_flow": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "ovrd_auth_port_warning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "cache_mem_permille": {"v_range": [["v7.4.0", ""]], "type": "integer"}, + "ovrd_auth_port_http": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ovrd_auth_port_https": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ovrd_auth_port_https_flow": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "ovrd_auth_port_warning": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ovrd_auth_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "warn_auth_https": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "close_ports": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "request_packet_size_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "request_packet_size_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "embed_image": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "cache_mem_percent": { - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "cache_mem_percent": {"v_range": [["v6.0.0", "v7.2.4"]], "type": "integer"}, "ovrd_auth_port": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, @@ -1101,6 +414,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_cat.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_cat.py index 806006d65..051839c26 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_cat.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_cat.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,26 +107,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGuard Web Filter local categories. - fortios_webfilter_ftgd_local_cat: - vdom: "{{ vdom }}" +- name: Configure FortiGuard Web Filter local categories. + fortinet.fortios.fortios_webfilter_ftgd_local_cat: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_ftgd_local_cat: - desc: "" - id: "4" - status: "enable" - + desc: "" + id: "4" + status: "enable" """ RETURN = """ @@ -185,7 +174,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -213,6 +201,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_ftgd_local_cat_data(json): @@ -242,7 +233,6 @@ def underscore_to_hyphen(data): def webfilter_ftgd_local_cat(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +268,16 @@ def webfilter_ftgd_local_cat(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,7 +327,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "ftgd-local-cat") if data["webfilter_ftgd_local_cat"]: resp = webfilter_ftgd_local_cat(data, fos, check_mode) @@ -340,7 +334,7 @@ def fortios_webfilter(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("webfilter_ftgd_local_cat") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -356,180 +350,14 @@ versioned_schema = { "elements": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "desc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "desc": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, }, + "v_range": [["v6.0.0", ""]], } @@ -566,6 +394,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_rating.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_rating.py index c6587183a..bd2bcb1ec 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_rating.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ftgd_local_rating.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,27 +111,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure local FortiGuard Web Filter local ratings. - fortios_webfilter_ftgd_local_rating: - vdom: "{{ vdom }}" +- name: Configure local FortiGuard Web Filter local ratings. + fortinet.fortios.fortios_webfilter_ftgd_local_rating: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_ftgd_local_rating: - comment: "Comment." - rating: "" - status: "enable" - url: "myurl.com" - + comment: "Comment." + rating: "" + status: "enable" + url: "myurl.com" """ RETURN = """ @@ -190,7 +179,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -218,6 +206,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_ftgd_local_rating_data(json): @@ -247,7 +238,6 @@ def underscore_to_hyphen(data): def webfilter_ftgd_local_rating(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -283,11 +273,16 @@ def webfilter_ftgd_local_rating(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -337,7 +332,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "ftgd-local-rating") if data["webfilter_ftgd_local_rating"]: resp = webfilter_ftgd_local_rating(data, fos, check_mode) @@ -345,7 +339,7 @@ def fortios_webfilter(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("webfilter_ftgd_local_rating") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -360,210 +354,16 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "url": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "rating": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "comment": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "rating": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -600,6 +400,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_cache_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_cache_setting.py index 02f4e6dcb..f59a1fa1c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_cache_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_cache_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -91,23 +91,12 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS URL filter cache settings. - fortios_webfilter_ips_urlfilter_cache_setting: - vdom: "{{ vdom }}" +- name: Configure IPS URL filter cache settings. + fortinet.fortios.fortios_webfilter_ips_urlfilter_cache_setting: + vdom: "{{ vdom }}" webfilter_ips_urlfilter_cache_setting: - dns_retry_interval: "0" - extended_ttl: "0" - + dns_retry_interval: "0" + extended_ttl: "0" """ RETURN = """ @@ -166,7 +155,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -245,7 +233,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos): - fos.do_member_operation("webfilter", "ips-urlfilter-cache-setting") if data["webfilter_ips_urlfilter_cache_setting"]: resp = webfilter_ips_urlfilter_cache_setting(data, fos) @@ -264,92 +251,11 @@ def fortios_webfilter(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "dns_retry_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "extended_ttl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "dns_retry_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "extended_ttl": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, } @@ -386,6 +292,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting.py index c86a93f2d..f13f27324 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -99,25 +99,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS URL filter settings. - fortios_webfilter_ips_urlfilter_setting: - vdom: "{{ vdom }}" +- name: Configure IPS URL filter settings. + fortinet.fortios.fortios_webfilter_ips_urlfilter_setting: + vdom: "{{ vdom }}" webfilter_ips_urlfilter_setting: - device: " (source system.interface.name)" - distance: "1" - gateway: "" - geo_filter: "" - + device: " (source system.interface.name)" + distance: "1" + gateway: "" + geo_filter: "" """ RETURN = """ @@ -176,7 +165,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -251,7 +239,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos): - fos.do_member_operation("webfilter", "ips-urlfilter-setting") if data["webfilter_ips_urlfilter_setting"]: resp = webfilter_ips_urlfilter_setting(data, fos) @@ -270,150 +257,13 @@ def fortios_webfilter(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "gateway": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "geo_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "gateway": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "geo_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -450,6 +300,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting6.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting6.py index d1291a1a4..261046752 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting6.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_ips_urlfilter_setting6.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -99,25 +99,14 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IPS URL filter settings for IPv6. - fortios_webfilter_ips_urlfilter_setting6: - vdom: "{{ vdom }}" +- name: Configure IPS URL filter settings for IPv6. + fortinet.fortios.fortios_webfilter_ips_urlfilter_setting6: + vdom: "{{ vdom }}" webfilter_ips_urlfilter_setting6: - device: " (source system.interface.name)" - distance: "1" - gateway6: "" - geo_filter: "" - + device: " (source system.interface.name)" + distance: "1" + gateway6: "" + geo_filter: "" """ RETURN = """ @@ -176,7 +165,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -251,7 +239,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos): - fos.do_member_operation("webfilter", "ips-urlfilter-setting6") if data["webfilter_ips_urlfilter_setting6"]: resp = webfilter_ips_urlfilter_setting6(data, fos) @@ -270,150 +257,13 @@ def fortios_webfilter(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "device": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "gateway6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "geo_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "device": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "gateway6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "geo_filter": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, } @@ -450,6 +300,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_override.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_override.py index b349cc0b8..b6ad041be 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_override.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_override.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +96,7 @@ options: type: str id: description: - - Override rule ID. + - Override rule ID. see Notes. required: true type: int initiator: @@ -144,34 +146,23 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiGuard Web Filter administrative overrides. - fortios_webfilter_override: - vdom: "{{ vdom }}" +- name: Configure FortiGuard Web Filter administrative overrides. + fortinet.fortios.fortios_webfilter_override: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_override: - expires: "" - id: "4" - initiator: "" - ip: "" - ip6: "" - new_profile: " (source webfilter.profile.name)" - old_profile: " (source webfilter.profile.name)" - scope: "user" - status: "enable" - user: "" - user_group: " (source user.group.name)" - + expires: "" + id: "4" + initiator: "" + ip: "" + ip6: "" + new_profile: " (source webfilter.profile.name)" + old_profile: " (source webfilter.profile.name)" + scope: "user" + status: "enable" + user: "" + user_group: " (source user.group.name)" """ RETURN = """ @@ -230,7 +221,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,6 +248,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_override_data(json): @@ -299,7 +292,6 @@ def underscore_to_hyphen(data): def webfilter_override(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -335,11 +327,16 @@ def webfilter_override(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -387,13 +384,12 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "override") if data["webfilter_override"]: resp = webfilter_override(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("webfilter_override")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -408,531 +404,32 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "scope": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user-group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "user"}, + {"value": "user-group"}, + {"value": "ip"}, + {"value": "ip6"}, ], }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "user": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "user_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "old_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "new_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "expires": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "initiator": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "user": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "user_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "old_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "new_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip6": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "expires": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "initiator": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -967,6 +464,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_profile.py index 2b5b62d19..dca59a1d3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -340,7 +340,7 @@ options: type: int id: description: - - ID number. + - ID number. see Notes. required: true type: int log: @@ -408,7 +408,7 @@ options: type: str id: description: - - ID number. + - ID number. see Notes. required: true type: int override_replacemsg: @@ -908,7 +908,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int youtube_channel_status: @@ -922,163 +922,152 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Web filter profiles. - fortios_webfilter_profile: - vdom: "{{ vdom }}" +- name: Configure Web filter profiles. + fortinet.fortios.fortios_webfilter_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_profile: - antiphish: - authentication: "domain-controller" - check_basic_auth: "enable" - check_uri: "enable" - check_username_only: "enable" - custom_patterns: - - - category: "username" - pattern: "" - type: "regex" - default_action: "exempt" - domain_controller: " (source user.domain-controller.name credential-store.domain-controller.server-name)" - inspection_entries: - - - action: "exempt" - fortiguard_category: "" - name: "default_name_17" - ldap: " (source user.ldap.name)" - max_body_len: "65536" - status: "enable" - comment: "Optional comments." - extended_log: "enable" - feature_set: "flow" - file_filter: - entries: - - - action: "log" - comment: "Comment." - direction: "incoming" - file_type: - - - name: "default_name_30 (source antivirus.filetype.name)" - filter: "" - password_protected: "yes" - protocol: "http" - log: "enable" - scan_archive_contents: "enable" - status: "enable" - ftgd_wf: - exempt_quota: "" - filters: - - - action: "block" - auth_usr_grp: - - - name: "default_name_42 (source user.group.name)" - category: "0" - id: "44" - log: "enable" - override_replacemsg: "" - warn_duration: "" - warning_duration_type: "session" - warning_prompt: "per-domain" - max_quota_timeout: "300" - options: "error-allow" - ovrd: "" - quota: - - - category: "" - duration: "" - id: "56" - override_replacemsg: "" - type: "time" - unit: "B" - value: "1024" - rate_crl_urls: "disable" - rate_css_urls: "disable" - rate_image_urls: "disable" - rate_javascript_urls: "disable" - https_replacemsg: "enable" - inspection_mode: "proxy" - log_all_url: "enable" - name: "default_name_68" - options: "activexfilter" - override: - ovrd_cookie: "allow" - ovrd_dur: "" - ovrd_dur_mode: "constant" - ovrd_scope: "user" - ovrd_user_group: - - - name: "default_name_76 (source user.group.name)" - profile: - - - name: "default_name_78 (source webfilter.profile.name)" - profile_attribute: "User-Name" - profile_type: "list" - ovrd_perm: "bannedword-override" - post_action: "normal" - replacemsg_group: " (source system.replacemsg-group.name)" - url_extraction: - redirect_header: "" - redirect_no_content: "enable" - redirect_url: "" - server_fqdn: "" - status: "enable" - web: - allowlist: "exempt-av" - blacklist: "enable" - blocklist: "enable" - bword_table: "0" - bword_threshold: "10" - content_header_list: "0" - keyword_match: - - - pattern: "" - log_search: "enable" - safe_search: "url" - urlfilter_table: "0" - vimeo_restrict: "" - whitelist: "exempt-av" - youtube_restrict: "none" - web_antiphishing_log: "enable" - web_content_log: "enable" - web_extended_all_action_log: "enable" - web_filter_activex_log: "enable" - web_filter_applet_log: "enable" - web_filter_command_block_log: "enable" - web_filter_cookie_log: "enable" - web_filter_cookie_removal_log: "enable" - web_filter_js_log: "enable" - web_filter_jscript_log: "enable" - web_filter_referer_log: "enable" - web_filter_unknown_log: "enable" - web_filter_vbs_log: "enable" - web_ftgd_err_log: "enable" - web_ftgd_quota_usage: "enable" - web_invalid_domain_log: "enable" - web_url_log: "enable" - wisp: "enable" - wisp_algorithm: "primary-secondary" - wisp_servers: - - - name: "default_name_125 (source web-proxy.wisp.name)" - youtube_channel_filter: - - - channel_id: "" - comment: "Comment." - id: "129" - youtube_channel_status: "disable" - + antiphish: + authentication: "domain-controller" + check_basic_auth: "enable" + check_uri: "enable" + check_username_only: "enable" + custom_patterns: + - + category: "username" + pattern: "" + type: "regex" + default_action: "exempt" + domain_controller: " (source user.domain-controller.name credential-store.domain-controller.server-name)" + inspection_entries: + - + action: "exempt" + fortiguard_category: "" + name: "default_name_17" + ldap: " (source user.ldap.name)" + max_body_len: "65536" + status: "enable" + comment: "Optional comments." + extended_log: "enable" + feature_set: "flow" + file_filter: + entries: + - + action: "log" + comment: "Comment." + direction: "incoming" + file_type: + - + name: "default_name_30 (source antivirus.filetype.name)" + filter: "" + password_protected: "yes" + protocol: "http" + log: "enable" + scan_archive_contents: "enable" + status: "enable" + ftgd_wf: + exempt_quota: "" + filters: + - + action: "block" + auth_usr_grp: + - + name: "default_name_42 (source user.group.name)" + category: "0" + id: "44" + log: "enable" + override_replacemsg: "" + warn_duration: "" + warning_duration_type: "session" + warning_prompt: "per-domain" + max_quota_timeout: "300" + options: "error-allow" + ovrd: "" + quota: + - + category: "" + duration: "" + id: "56" + override_replacemsg: "" + type: "time" + unit: "B" + value: "1024" + rate_crl_urls: "disable" + rate_css_urls: "disable" + rate_image_urls: "disable" + rate_javascript_urls: "disable" + https_replacemsg: "enable" + inspection_mode: "proxy" + log_all_url: "enable" + name: "default_name_68" + options: "activexfilter" + override: + ovrd_cookie: "allow" + ovrd_dur: "" + ovrd_dur_mode: "constant" + ovrd_scope: "user" + ovrd_user_group: + - + name: "default_name_76 (source user.group.name)" + profile: + - + name: "default_name_78 (source webfilter.profile.name)" + profile_attribute: "User-Name" + profile_type: "list" + ovrd_perm: "bannedword-override" + post_action: "normal" + replacemsg_group: " (source system.replacemsg-group.name)" + url_extraction: + redirect_header: "" + redirect_no_content: "enable" + redirect_url: "" + server_fqdn: "" + status: "enable" + web: + allowlist: "exempt-av" + blacklist: "enable" + blocklist: "enable" + bword_table: "0" + bword_threshold: "10" + content_header_list: "0" + keyword_match: + - + pattern: "" + log_search: "enable" + safe_search: "url" + urlfilter_table: "0" + vimeo_restrict: "" + whitelist: "exempt-av" + youtube_restrict: "none" + web_antiphishing_log: "enable" + web_content_log: "enable" + web_extended_all_action_log: "enable" + web_filter_activex_log: "enable" + web_filter_applet_log: "enable" + web_filter_command_block_log: "enable" + web_filter_cookie_log: "enable" + web_filter_cookie_removal_log: "enable" + web_filter_js_log: "enable" + web_filter_jscript_log: "enable" + web_filter_referer_log: "enable" + web_filter_unknown_log: "enable" + web_filter_vbs_log: "enable" + web_ftgd_err_log: "enable" + web_ftgd_quota_usage: "enable" + web_invalid_domain_log: "enable" + web_url_log: "enable" + wisp: "enable" + wisp_algorithm: "primary-secondary" + wisp_servers: + - + name: "default_name_125 (source web-proxy.wisp.name)" + youtube_channel_filter: + - + channel_id: "" + comment: "Comment." + id: "129" + youtube_channel_status: "disable" """ RETURN = """ @@ -1137,7 +1126,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1165,6 +1153,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_profile_data(json): @@ -1273,7 +1264,6 @@ def underscore_to_hyphen(data): def webfilter_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1310,11 +1300,16 @@ def webfilter_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1362,13 +1357,12 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "profile") if data["webfilter_profile"]: resp = webfilter_profile(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("webfilter_profile")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1383,2060 +1377,114 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "feature_set": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "flow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "replacemsg_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "flow"}, {"value": "proxy"}], }, + "replacemsg_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "activexfilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cookiefilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "javafilter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block-invalid-url", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jscript", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "js", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vbs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "intrinsic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wf-referer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wf-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "per-user-bal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "per-user-bwl", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "activexfilter"}, + {"value": "cookiefilter"}, + {"value": "javafilter"}, + {"value": "block-invalid-url"}, + {"value": "jscript"}, + {"value": "js"}, + {"value": "vbs"}, + {"value": "unknown"}, + {"value": "intrinsic"}, + {"value": "wf-referer"}, + {"value": "wf-cookie"}, + {"value": "per-user-bal", "v_range": [["v7.0.0", ""]]}, + {"value": "per-user-bwl", "v_range": [["v6.0.0", "v6.4.4"]]}, ], "multiple_values": True, "elements": "str", }, "https_replacemsg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ovrd_perm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "bannedword-override", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "urlfilter-override", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard-wf-override", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "contenttype-check-override", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bannedword-override"}, + {"value": "urlfilter-override"}, + {"value": "fortiguard-wf-override"}, + {"value": "contenttype-check-override"}, ], "multiple_values": True, "elements": "str", }, "post_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "normal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "normal"}, {"value": "block"}], }, "override": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ovrd_cookie": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "ovrd_scope": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "user", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "user-group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "browser", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "user"}, + {"value": "user-group"}, + {"value": "ip"}, + {"value": "browser"}, + {"value": "ask"}, ], }, "profile_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "list", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "radius", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "list"}, {"value": "radius"}], }, "ovrd_dur_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "constant", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ovrd_dur": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "constant"}, {"value": "ask"}], }, + "ovrd_dur": {"v_range": [["v6.0.0", ""]], "type": "string"}, "profile_attribute": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "User-Name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Address", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IP-Netmask", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Filter-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-IP-Host", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Reply-Message", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Number", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Callback-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-Route", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-IPX-Network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Class", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Called-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Calling-Station-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NAS-Identifier", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Proxy-State", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Service", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Node", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Login-LAT-Group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Framed-AppleTalk-Zone", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "Acct-Multi-Session-Id", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "User-Name"}, + {"value": "NAS-IP-Address"}, + {"value": "Framed-IP-Address"}, + {"value": "Framed-IP-Netmask"}, + {"value": "Filter-Id"}, + {"value": "Login-IP-Host"}, + {"value": "Reply-Message"}, + {"value": "Callback-Number"}, + {"value": "Callback-Id"}, + {"value": "Framed-Route"}, + {"value": "Framed-IPX-Network"}, + {"value": "Class"}, + {"value": "Called-Station-Id"}, + {"value": "Calling-Station-Id"}, + {"value": "NAS-Identifier"}, + {"value": "Proxy-State"}, + {"value": "Login-LAT-Service"}, + {"value": "Login-LAT-Node"}, + {"value": "Login-LAT-Group"}, + {"value": "Framed-AppleTalk-Zone"}, + {"value": "Acct-Session-Id"}, + {"value": "Acct-Multi-Session-Id"}, ], }, "ovrd_user_group": { @@ -3444,1026 +1492,103 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "profile": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, }, "web": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "bword_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bword_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "urlfilter_table": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "content_header_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "bword_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "bword_table": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "urlfilter_table": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "content_header_list": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "blocklist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowlist": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", "options": [ - { - "value": "exempt-av", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exempt-webcontent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exempt-activex-java-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exempt-dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "exempt-rangeblock", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "extended-log-others", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "exempt-av"}, + {"value": "exempt-webcontent"}, + {"value": "exempt-activex-java-cookie"}, + {"value": "exempt-dlp"}, + {"value": "exempt-rangeblock"}, + {"value": "extended-log-others"}, ], "multiple_values": True, "elements": "str", }, "safe_search": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "url", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "url"}, {"value": "header"}], "multiple_values": True, "elements": "str", }, "youtube_restrict": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"], ["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "moderate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "none"}, + {"value": "strict"}, + {"value": "moderate"}, ], }, - "vimeo_restrict": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "vimeo_restrict": {"v_range": [["v7.0.1", ""]], "type": "string"}, "log_search": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "keyword_match": { "type": "list", "elements": "dict", "children": { "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "blacklist": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "whitelist": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "list", "options": [ - { - "value": "exempt-av", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt-webcontent", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt-activex-java-cookie", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt-dlp", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "exempt-rangeblock", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "extended-log-others", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "exempt-av"}, + {"value": "exempt-webcontent"}, + {"value": "exempt-activex-java-cookie"}, + {"value": "exempt-dlp"}, + {"value": "exempt-rangeblock"}, + {"value": "extended-log-others"}, ], "multiple_values": True, "elements": "str", @@ -4471,241 +1596,29 @@ versioned_schema = { }, }, "ftgd_wf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "options": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "error-allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rate-server-ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "connect-request-bypass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftgd-disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "error-allow"}, + {"value": "rate-server-ip"}, + {"value": "connect-request-bypass"}, + {"value": "ftgd-disable"}, ], "multiple_values": True, "elements": "str", }, "exempt_quota": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "ovrd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", @@ -4715,238 +1628,23 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "category": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "authenticate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "block"}, + {"value": "authenticate"}, + {"value": "monitor"}, + {"value": "warning"}, ], }, "warn_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "auth_usr_grp": { @@ -4954,4249 +1652,348 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "override_replacemsg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "warning_prompt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "per-domain", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "per-category", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "per-domain"}, + {"value": "per-category"}, ], }, "warning_duration_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "session", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "timeout", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "session"}, {"value": "timeout"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "quota": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "time", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "traffic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "time"}, {"value": "traffic"}], }, "unit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "B", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "B"}, + {"value": "KB"}, + {"value": "MB"}, + {"value": "GB"}, ], }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "value": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "duration": {"v_range": [["v6.0.0", ""]], "type": "string"}, "override_replacemsg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "max_quota_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, + "max_quota_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "rate_javascript_urls": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rate_css_urls": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rate_crl_urls": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "rate_image_urls": { - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, }, }, "antiphish": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "default_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "exempt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "exempt"}, + {"value": "log"}, + {"value": "block"}, ], }, "check_uri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "check_basic_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "check_username_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "max_body_len": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "max_body_len": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "inspection_entries": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, "fortiguard_category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "options": [ - { - "value": "exempt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "exempt"}, + {"value": "log"}, + {"value": "block"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "custom_patterns": { "type": "list", "elements": "dict", "children": { "pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", "required": True, }, "category": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "username", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "username"}, {"value": "password"}], }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "literal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "regex"}, {"value": "literal"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - "options": [ - { - "value": "domain-controller", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "ldap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "domain_controller": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "ldap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "domain-controller"}, {"value": "ldap"}], }, + "domain_controller": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ldap": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, }, "wisp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wisp_servers": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "wisp_algorithm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "primary-secondary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto-learning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "primary-secondary"}, + {"value": "round-robin"}, + {"value": "auto-learning"}, ], }, "log_all_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_content_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_activex_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_command_block_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_cookie_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_applet_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_jscript_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_js_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_vbs_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_unknown_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_referer_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_filter_cookie_removal_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_url_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_invalid_domain_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_ftgd_err_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_ftgd_quota_usage": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "extended_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_extended_all_action_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "web_antiphishing_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "url_extraction": { - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "dict", "children": { "status": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_fqdn": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "redirect_header": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "redirect_url": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", }, "redirect_no_content": { - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.8"], ["v7.2.0", "v7.2.4"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.2.4": True, - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "youtube_channel_status": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "blacklist", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "whitelist", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "blacklist"}, + {"value": "whitelist"}, ], }, "youtube_channel_filter": { @@ -9204,387 +2001,97 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.4.4"]], "type": "integer", "required": True, }, - "channel_id": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "channel_id": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", "v6.4.4"]], "type": "string"}, }, + "v_range": [["v6.0.0", "v6.4.4"]], }, "file_filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "dict", "children": { "status": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "log": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "scan_archive_contents": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "entries": { "type": "list", "elements": "dict", "children": { "filter": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, }, "comment": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", }, "protocol": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "list", - "options": [ - { - "value": "http", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "http"}, {"value": "ftp"}], "multiple_values": True, "elements": "str", }, "action": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "log", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "log"}, {"value": "block"}], }, "direction": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "options": [ - { - "value": "incoming", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "outgoing", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "incoming"}, + {"value": "outgoing"}, + {"value": "any"}, ], }, "password_protected": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "any", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "yes"}, {"value": "any"}], }, "file_type": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], "type": "string", "required": True, } }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, }, - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"]], }, }, }, "inspection_mode": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", - "options": [ - { - "value": "proxy", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "flow-based", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], + "options": [{"value": "proxy"}, {"value": "flow-based"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -9619,6 +2126,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_search_engine.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_search_engine.py index 04e0d8abc..543997e90 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_search_engine.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_search_engine.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,30 +133,19 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure web filter search engines. - fortios_webfilter_search_engine: - vdom: "{{ vdom }}" +- name: Configure web filter search engines. + fortinet.fortios.fortios_webfilter_search_engine: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_search_engine: - charset: "utf-8" - hostname: "myhostname" - name: "default_name_5" - query: "" - safesearch: "disable" - safesearch_str: "" - url: "myurl.com" - + charset: "utf-8" + hostname: "myhostname" + name: "default_name_5" + query: "" + safesearch: "disable" + safesearch_str: "" + url: "myurl.com" """ RETURN = """ @@ -215,7 +204,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -243,6 +231,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_search_engine_data(json): @@ -280,7 +271,6 @@ def underscore_to_hyphen(data): def webfilter_search_engine(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -316,11 +306,16 @@ def webfilter_search_engine(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -370,13 +365,12 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "search-engine") if data["webfilter_search_engine"]: resp = webfilter_search_engine(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("webfilter_search_engine")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -391,531 +385,32 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "hostname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "query": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "hostname": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "query": {"v_range": [["v6.0.0", ""]], "type": "string"}, "safesearch": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "url", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "header", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "translate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "yt-pattern", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "yt-scan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "yt-video", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "yt-channel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "disable"}, + {"value": "url"}, + {"value": "header"}, + {"value": "translate", "v_range": [["v7.0.2", ""]]}, + {"value": "yt-pattern", "v_range": [["v7.0.2", ""]]}, + {"value": "yt-scan", "v_range": [["v7.0.2", ""]]}, + {"value": "yt-video", "v_range": [["v7.0.2", ""]]}, + {"value": "yt-channel", "v_range": [["v7.0.2", ""]]}, ], }, "charset": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "utf-8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gb2312", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "safesearch_str": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "utf-8"}, {"value": "gb2312"}], }, + "safesearch_str": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -952,6 +447,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_status.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_status.py index 440d4f8b6..f344cbe96 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_status.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_status.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Display rating info. - fortios_webfilter_status: - vdom: "{{ vdom }}" +- name: Display rating info. + fortinet.fortios.fortios_webfilter_status: + vdom: "{{ vdom }}" webfilter_status: - refresh_rate: "" - + refresh_rate: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_webfilter(data, fos): - fos.do_member_operation("webfilter", "status") if data["webfilter_status"]: resp = webfilter_status(data, fos) @@ -275,39 +262,15 @@ def fortios_webfilter(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "refresh_rate": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -344,6 +307,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_urlfilter.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_urlfilter.py index 3f310b4f3..97149cd12 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_urlfilter.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_webfilter_urlfilter.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -139,7 +141,7 @@ options: - 'all' id: description: - - Id. + - Id. see Notes. required: true type: int referrer_host: @@ -171,7 +173,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int ip_addr_block: @@ -202,41 +204,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure URL filter lists. - fortios_webfilter_urlfilter: - vdom: "{{ vdom }}" +- name: Configure URL filter lists. + fortinet.fortios.fortios_webfilter_urlfilter: + vdom: "{{ vdom }}" state: "present" access_token: "" webfilter_urlfilter: - comment: "Optional comments." - entries: - - - action: "exempt" - antiphish_action: "block" - dns_address_family: "ipv4" - exempt: "av" - id: "9" - referrer_host: "myhostname" - status: "enable" - type: "simple" - url: "myurl.com" - web_proxy_profile: " (source web-proxy.profile.name)" - id: "15" - ip_addr_block: "enable" - ip4_mapped_ip6: "enable" - name: "default_name_18" - one_arm_ips_urlfilter: "enable" - + comment: "Optional comments." + entries: + - + action: "exempt" + antiphish_action: "block" + dns_address_family: "ipv4" + exempt: "av" + id: "9" + referrer_host: "myhostname" + status: "enable" + type: "simple" + url: "myurl.com" + web_proxy_profile: " (source web-proxy.profile.name)" + id: "15" + ip_addr_block: "enable" + ip4_mapped_ip6: "enable" + name: "default_name_18" + one_arm_ips_urlfilter: "enable" """ RETURN = """ @@ -295,7 +286,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -323,6 +313,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_webfilter_urlfilter_data(json): @@ -389,7 +382,6 @@ def underscore_to_hyphen(data): def webfilter_urlfilter(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -426,11 +418,16 @@ def webfilter_urlfilter(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -478,13 +475,12 @@ def is_successful_status(resp): def fortios_webfilter(data, fos, check_mode): - fos.do_member_operation("webfilter", "urlfilter") if data["webfilter_urlfilter"]: resp = webfilter_urlfilter(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("webfilter_urlfilter")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -499,1322 +495,96 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "one_arm_ips_urlfilter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_addr_block": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip4_mapped_ip6": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "entries": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "url": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "simple", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "regex", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "simple"}, + {"value": "regex"}, + {"value": "wildcard"}, ], }, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "exempt", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "exempt"}, + {"value": "block"}, + {"value": "allow"}, + {"value": "monitor"}, ], }, "antiphish_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "log", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "block"}, {"value": "log"}], }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "exempt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "av", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "web-content", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "activex-java-cookie", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dlp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fortiguard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "range-block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "pass", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "antiphish", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "av"}, + {"value": "web-content"}, + {"value": "activex-java-cookie"}, + {"value": "dlp"}, + {"value": "fortiguard"}, + {"value": "range-block"}, + {"value": "pass"}, + {"value": "antiphish", "v_range": [["v6.4.0", ""]]}, + {"value": "all"}, ], "multiple_values": True, "elements": "str", }, - "web_proxy_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "referrer_host": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "web_proxy_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "referrer_host": {"v_range": [["v6.0.0", ""]], "type": "string"}, "dns_address_family": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ipv4"}, + {"value": "ipv6"}, + {"value": "both"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1849,6 +619,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_access_control_list.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_access_control_list.py index 33e2c3577..2975d060c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_access_control_list.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_access_control_list.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -123,7 +123,7 @@ options: type: int rule_id: description: - - Rule ID (1 - 65535). + - Rule ID (1 - 65535). see Notes. required: true type: int srcaddr: @@ -165,7 +165,7 @@ options: type: int rule_id: description: - - Rule ID (1 - 65535). + - Rule ID (1 - 65535). see Notes. required: true type: int srcaddr: @@ -184,45 +184,34 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WiFi bridge access control list. - fortios_wireless_controller_access_control_list: - vdom: "{{ vdom }}" +- name: Configure WiFi bridge access control list. + fortinet.fortios.fortios_wireless_controller_access_control_list: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_access_control_list: - comment: "Description." - layer3_ipv4_rules: - - - action: "allow" - comment: "Description." - dstaddr: "" - dstport: "0" - protocol: "255" - rule_id: "0" - srcaddr: "" - srcport: "0" - layer3_ipv6_rules: - - - action: "allow" - comment: "Description." - dstaddr: "" - dstport: "0" - protocol: "255" - rule_id: "0" - srcaddr: "" - srcport: "0" - name: "default_name_22" - + comment: "Description." + layer3_ipv4_rules: + - + action: "allow" + comment: "Description." + dstaddr: "" + dstport: "0" + protocol: "255" + rule_id: "" + srcaddr: "" + srcport: "0" + layer3_ipv6_rules: + - + action: "allow" + comment: "Description." + dstaddr: "" + dstport: "0" + protocol: "255" + rule_id: "" + srcaddr: "" + srcport: "0" + name: "default_name_22" """ RETURN = """ @@ -281,7 +270,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -309,6 +297,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_access_control_list_data(json): @@ -338,7 +329,6 @@ def underscore_to_hyphen(data): def wireless_controller_access_control_list(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -382,11 +372,16 @@ def wireless_controller_access_control_list(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -441,7 +436,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "access-control-list") if data["wireless_controller_access_control_list"]: resp = wireless_controller_access_control_list(data, fos, check_mode) @@ -449,7 +443,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_access_control_list") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -464,567 +458,56 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.4.0", ""]], "type": "string"}, "layer3_ipv4_rules": { "type": "list", "elements": "dict", "children": { "rule_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "srcaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "srcport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "dstaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "dstport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "comment": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "srcaddr": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "srcport": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "dstaddr": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "dstport": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "protocol": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, "layer3_ipv6_rules": { "type": "list", "elements": "dict", "children": { "rule_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "srcaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "srcport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "dstaddr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "dstport": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "comment": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "srcaddr": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "srcport": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "dstaddr": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "dstport": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "protocol": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -1061,6 +544,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_address.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_address.py index de931849e..8a566106a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_address.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_address.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -107,26 +107,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure the client with its MAC address. - fortios_wireless_controller_address: - vdom: "{{ vdom }}" +- name: Configure the client with its MAC address. + fortinet.fortios.fortios_wireless_controller_address: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_address: - id: "3" - mac: "" - policy: "allow" - + id: "3" + mac: "" + policy: "allow" """ RETURN = """ @@ -185,7 +174,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -213,6 +201,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_address_data(json): @@ -242,7 +233,6 @@ def underscore_to_hyphen(data): def wireless_controller_address(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -278,11 +268,16 @@ def wireless_controller_address(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -332,7 +327,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "address") if data["wireless_controller_address"]: resp = wireless_controller_address(data, fos, check_mode) @@ -340,7 +334,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_address") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -355,133 +349,15 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "mac": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "string", "required": True}, + "mac": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "string"}, "policy": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], } @@ -518,6 +394,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_addrgrp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_addrgrp.py index a184a4d95..306694f3e 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_addrgrp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_addrgrp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -114,28 +114,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure the MAC address group. - fortios_wireless_controller_addrgrp: - vdom: "{{ vdom }}" +- name: Configure the MAC address group. + fortinet.fortios.fortios_wireless_controller_addrgrp: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_addrgrp: - addresses: - - - id: "4 (source wireless-controller.address.id)" - default_policy: "allow" - id: "6" - + addresses: + - + id: "4 (source wireless-controller.address.id)" + default_policy: "allow" + id: "6" """ RETURN = """ @@ -194,7 +183,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -222,6 +210,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_addrgrp_data(json): @@ -251,7 +242,6 @@ def underscore_to_hyphen(data): def wireless_controller_addrgrp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -287,11 +277,16 @@ def wireless_controller_addrgrp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -341,7 +336,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "addrgrp") if data["wireless_controller_addrgrp"]: resp = wireless_controller_addrgrp(data, fos, check_mode) @@ -349,7 +343,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_addrgrp") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -364,158 +358,26 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, + "id": {"v_range": [["v6.2.0", "v7.0.12"]], "type": "string", "required": True}, "default_policy": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "addresses": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], "type": "string", "required": True, } }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], }, }, - "revisions": { - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v7.0.12"]], } @@ -552,6 +414,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ap_status.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ap_status.py index d53a00744..286020ef9 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ap_status.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ap_status.py @@ -35,10 +35,12 @@ author: - Miguel Angel Munoz (@mamunozgonzalez) - Nicolas Thomas (@thomnico) notes: + - We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest + available number for the object, it does have limitations. Please find more details in Q&A. - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +96,7 @@ options: type: str id: description: - - AP ID. + - AP ID. see Notes. required: true type: int ssid: @@ -112,27 +114,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure access point status (rogue | accepted | suppressed). - fortios_wireless_controller_ap_status: - vdom: "{{ vdom }}" +- name: Configure access point status (rogue | accepted | suppressed). + fortinet.fortios.fortios_wireless_controller_ap_status: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_ap_status: - bssid: "" - id: "4" - ssid: "" - status: "rogue" - + bssid: "" + id: "4" + ssid: "" + status: "rogue" """ RETURN = """ @@ -191,7 +182,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +209,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_ap_status_data(json): @@ -248,7 +241,6 @@ def underscore_to_hyphen(data): def wireless_controller_ap_status(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -286,11 +278,16 @@ def wireless_controller_ap_status(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -342,7 +339,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "ap-status") if data["wireless_controller_ap_status"]: resp = wireless_controller_ap_status(data, fos, check_mode) @@ -350,7 +346,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_ap_status") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,239 +361,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "bssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True}, + "bssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "rogue", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "accepted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "suppressed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "rogue"}, + {"value": "accepted"}, + {"value": "suppressed"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -634,6 +411,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_apcfg_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_apcfg_profile.py index 6ed08c26b..1a57bae97 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_apcfg_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_apcfg_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -124,7 +124,7 @@ options: suboptions: id: description: - - Command ID. + - Command ID. see Notes. required: true type: int name: @@ -158,37 +158,26 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure AP local configuration profiles. - fortios_wireless_controller_apcfg_profile: - vdom: "{{ vdom }}" +- name: Configure AP local configuration profiles. + fortinet.fortios.fortios_wireless_controller_apcfg_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_apcfg_profile: - ac_ip: "" - ac_port: "0" - ac_timer: "10" - ac_type: "default" - ap_family: "fap" - command_list: - - - id: "9" - name: "default_name_10" - passwd_value: "" - type: "non-password" - value: "" - comment: "Comment." - name: "default_name_15" - + ac_ip: "" + ac_port: "0" + ac_timer: "10" + ac_type: "default" + ap_family: "fap" + command_list: + - + id: "9" + name: "default_name_10" + passwd_value: "" + type: "non-password" + value: "" + comment: "Comment." + name: "default_name_15" """ RETURN = """ @@ -247,7 +236,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -275,6 +263,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_apcfg_profile_data(json): @@ -313,7 +304,6 @@ def underscore_to_hyphen(data): def wireless_controller_apcfg_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -355,11 +345,16 @@ def wireless_controller_apcfg_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -414,7 +409,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "apcfg-profile") if data["wireless_controller_apcfg_profile"]: resp = wireless_controller_apcfg_profile(data, fos, check_mode) @@ -422,7 +416,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_apcfg_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -437,484 +431,43 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.4.0", ""]], "type": "string", "required": True}, "ap_family": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - }, - "type": "string", - "options": [ - { - "value": "fap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fap-u", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fap-c", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "fap"}, {"value": "fap-u"}, {"value": "fap-c"}], }, + "comment": {"v_range": [["v6.4.0", ""]], "type": "string"}, "ac_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "specify", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "apcfg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "ac_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, - "ac_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "default"}, {"value": "specify"}, {"value": "apcfg"}], }, - "ac_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "integer", - }, + "ac_timer": {"v_range": [["v6.4.0", ""]], "type": "integer"}, + "ac_ip": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ac_port": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "command_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "integer", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - "options": [ - { - "value": "non-password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "password", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "non-password"}, {"value": "password"}], }, - "passwd_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, + "name": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "value": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "passwd_value": {"v_range": [["v6.4.0", ""]], "type": "string"}, }, + "v_range": [["v6.4.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", ""]], } @@ -951,6 +504,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_arrp_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_arrp_profile.py index 5156e3c1e..a05842787 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_arrp_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_arrp_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -201,47 +201,36 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WiFi Automatic Radio Resource Provisioning (ARRP) profiles. - fortios_wireless_controller_arrp_profile: - vdom: "{{ vdom }}" +- name: Configure WiFi Automatic Radio Resource Provisioning (ARRP) profiles. + fortinet.fortios.fortios_wireless_controller_arrp_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_arrp_profile: - comment: "Comment." - darrp_optimize: "86400" - darrp_optimize_schedules: - - - name: "default_name_6 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" - include_dfs_channel: "enable" - include_weather_channel: "enable" - monitor_period: "300" - name: "default_name_10" - override_darrp_optimize: "enable" - selection_period: "3600" - threshold_ap: "250" - threshold_channel_load: "60" - threshold_noise_floor: "" - threshold_rx_errors: "50" - threshold_spectral_rssi: "" - threshold_tx_retries: "300" - weight_channel_load: "20" - weight_dfs_channel: "500" - weight_managed_ap: "50" - weight_noise_floor: "40" - weight_rogue_ap: "10" - weight_spectral_rssi: "40" - weight_weather_channel: "1000" - + comment: "Comment." + darrp_optimize: "86400" + darrp_optimize_schedules: + - + name: "default_name_6 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" + include_dfs_channel: "enable" + include_weather_channel: "enable" + monitor_period: "300" + name: "default_name_10" + override_darrp_optimize: "enable" + selection_period: "3600" + threshold_ap: "250" + threshold_channel_load: "60" + threshold_noise_floor: "" + threshold_rx_errors: "50" + threshold_spectral_rssi: "" + threshold_tx_retries: "300" + weight_channel_load: "20" + weight_dfs_channel: "500" + weight_managed_ap: "50" + weight_noise_floor: "40" + weight_rogue_ap: "10" + weight_spectral_rssi: "40" + weight_weather_channel: "1000" """ RETURN = """ @@ -300,7 +289,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -328,6 +316,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_arrp_profile_data(json): @@ -380,7 +371,6 @@ def underscore_to_hyphen(data): def wireless_controller_arrp_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -422,11 +412,16 @@ def wireless_controller_arrp_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -478,7 +473,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "arrp-profile") if data["wireless_controller_arrp_profile"]: resp = wireless_controller_arrp_profile(data, fos, check_mode) @@ -486,7 +480,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_arrp_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -502,630 +496,114 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, }, "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "selection_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "monitor_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "weight_managed_ap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "weight_rogue_ap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "weight_noise_floor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "weight_channel_load": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "weight_spectral_rssi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "weight_weather_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "weight_dfs_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "threshold_ap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "threshold_noise_floor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "threshold_channel_load": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "threshold_spectral_rssi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "threshold_tx_retries": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "threshold_rx_errors": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "include_weather_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": False, - }, - }, - {"value": "yes", "revisions": {"v6.4.0": True}}, - {"value": "no", "revisions": {"v6.4.0": True}}, + {"value": "enable", "v_range": [["v6.4.4", ""]]}, + {"value": "disable", "v_range": [["v6.4.4", ""]]}, + {"value": "yes", "v_range": [["v6.4.0", "v6.4.0"]]}, + {"value": "no", "v_range": [["v6.4.0", "v6.4.0"]]}, ], }, "include_dfs_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": False, - }, - }, - {"value": "yes", "revisions": {"v6.4.0": True}}, - {"value": "no", "revisions": {"v6.4.0": True}}, + {"value": "enable", "v_range": [["v6.4.4", ""]]}, + {"value": "disable", "v_range": [["v6.4.4", ""]]}, + {"value": "yes", "v_range": [["v6.4.0", "v6.4.0"]]}, + {"value": "no", "v_range": [["v6.4.0", "v6.4.0"]]}, ], }, "override_darrp_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - }, - ], - }, - "darrp_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "darrp_optimize": {"v_range": [["v7.0.4", ""]], "type": "integer"}, "darrp_optimize_schedules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.0": False, - }, + "v_range": [["v7.0.4", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], } @@ -1162,6 +640,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ble_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ble_profile.py index d83c7418d..aaa6f6584 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ble_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ble_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -145,6 +145,33 @@ options: - Bluetooth Low Energy profile name. required: true type: str + scan_interval: + description: + - Scan Interval . + type: int + scan_period: + description: + - Scan Period . + type: int + scan_threshold: + description: + - Minimum signal level/threshold in dBm required for the AP to report detected BLE device (-95 to -20). + type: str + scan_time: + description: + - Scan Time . + type: int + scan_type: + description: + - Scan Type . + type: str + choices: + - 'active' + - 'passive' + scan_window: + description: + - Scan Windows . + type: int txpower: description: - Transmit power level . @@ -166,36 +193,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Bluetooth Low Energy profile. - fortios_wireless_controller_ble_profile: - vdom: "{{ vdom }}" +- name: Configure Bluetooth Low Energy profile. + fortinet.fortios.fortios_wireless_controller_ble_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_ble_profile: - advertising: "ibeacon" - beacon_interval: "100" - ble_scanning: "enable" - comment: "Comment." - eddystone_instance: "" - eddystone_namespace: "" - eddystone_url: "" - eddystone_url_encode_hex: "" - ibeacon_uuid: "" - major_id: "1000" - minor_id: "2000" - name: "default_name_14" - txpower: "0" - + advertising: "ibeacon" + beacon_interval: "100" + ble_scanning: "enable" + comment: "Comment." + eddystone_instance: "" + eddystone_namespace: "" + eddystone_url: "" + eddystone_url_encode_hex: "" + ibeacon_uuid: "" + major_id: "1000" + minor_id: "2000" + name: "default_name_14" + scan_interval: "50" + scan_period: "4000" + scan_threshold: "" + scan_time: "1000" + scan_type: "active" + scan_window: "50" + txpower: "0" """ RETURN = """ @@ -254,7 +276,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -282,6 +303,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_ble_profile_data(json): @@ -298,6 +322,12 @@ def filter_wireless_controller_ble_profile_data(json): "major_id", "minor_id", "name", + "scan_interval", + "scan_period", + "scan_threshold", + "scan_time", + "scan_type", + "scan_window", "txpower", ] @@ -354,7 +384,6 @@ def underscore_to_hyphen(data): def wireless_controller_ble_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -399,11 +428,16 @@ def wireless_controller_ble_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -455,7 +489,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "ble-profile") if data["wireless_controller_ble_profile"]: resp = wireless_controller_ble_profile(data, fos, check_mode) @@ -463,7 +496,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_ble_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -478,922 +511,66 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "advertising": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ibeacon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eddystone-uid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eddystone-url", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "ibeacon"}, + {"value": "eddystone-uid"}, + {"value": "eddystone-url"}, ], "multiple_values": True, "elements": "str", }, - "ibeacon_uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "major_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "minor_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "eddystone_namespace": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "eddystone_instance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "eddystone_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "ibeacon_uuid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "major_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "minor_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "eddystone_namespace": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "eddystone_instance": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "eddystone_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, "txpower": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "9", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "10", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "0"}, + {"value": "1"}, + {"value": "2"}, + {"value": "3"}, + {"value": "4"}, + {"value": "5"}, + {"value": "6"}, + {"value": "7"}, + {"value": "8"}, + {"value": "9"}, + {"value": "10"}, + {"value": "11"}, + {"value": "12"}, ], }, - "beacon_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "beacon_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ble_scanning": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "scan_type": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "active"}, {"value": "passive"}], }, + "scan_threshold": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "scan_period": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "scan_time": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "scan_interval": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "scan_window": {"v_range": [["v7.4.1", ""]], "type": "integer"}, "eddystone_url_encode_hex": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1430,6 +607,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_bonjour_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_bonjour_profile.py index 25eb438a9..4aba492eb 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_bonjour_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_bonjour_profile.py @@ -39,7 +39,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -115,7 +115,7 @@ options: type: str policy_id: description: - - Policy ID. + - Policy ID. see Notes. required: true type: int services: @@ -144,33 +144,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connnect to - networks using Bonjour. - fortios_wireless_controller_bonjour_profile: - vdom: "{{ vdom }}" +- name: Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connnect to networks + using Bonjour. + fortinet.fortios.fortios_wireless_controller_bonjour_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_bonjour_profile: - comment: "Comment." - name: "default_name_4" - policy_list: - - - description: "" - from_vlan: "" - policy_id: "0" - services: "all" - to_vlan: "" - + comment: "Comment." + name: "default_name_4" + policy_list: + - + description: "" + from_vlan: "" + policy_id: "" + services: "all" + to_vlan: "" """ RETURN = """ @@ -229,7 +218,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -257,6 +245,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_bonjour_profile_data(json): @@ -315,7 +306,6 @@ def underscore_to_hyphen(data): def wireless_controller_bonjour_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -362,11 +352,16 @@ def wireless_controller_bonjour_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -421,7 +416,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "bonjour-profile") if data["wireless_controller_bonjour_profile"]: resp = wireless_controller_bonjour_profile(data, fos, check_mode) @@ -429,7 +423,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_bonjour_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -444,651 +438,46 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "policy_list": { "type": "list", "elements": "dict", "children": { "policy_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "from_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "to_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "description": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "from_vlan": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "to_vlan": {"v_range": [["v6.0.0", ""]], "type": "string"}, "services": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "airplay", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "afp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bit-torrent", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ftp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ichat", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "itunes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "printers", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "samba", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scanners", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chromecast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "miracast", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "all"}, + {"value": "airplay"}, + {"value": "afp"}, + {"value": "bit-torrent"}, + {"value": "ftp"}, + {"value": "ichat"}, + {"value": "itunes"}, + {"value": "printers"}, + {"value": "samba"}, + {"value": "scanners"}, + {"value": "ssh"}, + {"value": "chromecast"}, + {"value": "miracast", "v_range": [["v7.4.0", ""]]}, ], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1125,6 +514,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_client_info.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_client_info.py index 37c577d5f..4d153e3c4 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_client_info.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_client_info.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Wireless controller client-info. - fortios_wireless_controller_client_info: - vdom: "{{ vdom }}" +- name: Wireless controller client-info. + fortinet.fortios.fortios_wireless_controller_client_info: + vdom: "{{ vdom }}" wireless_controller_client_info: - vfid: "" - + vfid: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,7 +223,6 @@ def valid_attr_to_invalid_attrs(data): def wireless_controller_client_info(data, fos, check_mode=False): - vdom = data["vdom"] wireless_controller_client_info_data = data["wireless_controller_client_info"] filtered_data = underscore_to_hyphen( @@ -261,7 +248,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "client-info") if data["wireless_controller_client_info"]: resp = wireless_controller_client_info(data, fos, check_mode) @@ -269,7 +255,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_client_info") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -281,39 +267,15 @@ def fortios_wireless_controller(data, fos, check_mode): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "vfid": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -352,6 +314,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_global.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_global.py index d86452d6b..177def4d0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_global.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_global.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -203,43 +203,32 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure wireless controller global settings. - fortios_wireless_controller_global: - vdom: "{{ vdom }}" +- name: Configure wireless controller global settings. + fortinet.fortios.fortios_wireless_controller_global: + vdom: "{{ vdom }}" wireless_controller_global: - acd_process_count: "0" - ap_log_server: "enable" - ap_log_server_ip: "" - ap_log_server_port: "0" - control_message_offload: "ebp-frame" - data_ethernet_II: "enable" - dfs_lab_test: "enable" - discovery_mc_addr: "" - fiapp_eth_type: "5252" - image_download: "enable" - ipsec_base_ip: "" - link_aggregation: "enable" - location: "" - max_clients: "0" - max_retransmit: "3" - mesh_eth_type: "8755" - nac_interval: "120" - name: "default_name_20" - rogue_scan_mac_adjacency: "7" - tunnel_mode: "compatible" - wpad_process_count: "0" - wtp_share: "enable" - + acd_process_count: "0" + ap_log_server: "enable" + ap_log_server_ip: "" + ap_log_server_port: "0" + control_message_offload: "ebp-frame" + data_ethernet_II: "enable" + dfs_lab_test: "enable" + discovery_mc_addr: "" + fiapp_eth_type: "5252" + image_download: "enable" + ipsec_base_ip: "" + link_aggregation: "enable" + location: "" + max_clients: "0" + max_retransmit: "3" + mesh_eth_type: "8755" + nac_interval: "120" + name: "default_name_20" + rogue_scan_mac_adjacency: "7" + tunnel_mode: "compatible" + wpad_process_count: "0" + wtp_share: "enable" """ RETURN = """ @@ -298,7 +287,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -426,7 +414,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "global") if data["wireless_controller_global"]: resp = wireless_controller_global(data, fos) @@ -445,1278 +432,74 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "acd_process_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "wpad_process_count": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "location": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "acd_process_count": {"v_range": [["v7.2.4", ""]], "type": "integer"}, + "wpad_process_count": {"v_range": [["v7.4.0", ""]], "type": "integer"}, "image_download": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "max_retransmit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "max_retransmit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "control_message_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ebp-frame", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aeroscout-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ap-list", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sta-list", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sta-cap-list", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "stats", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aeroscout-mu", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sta-health", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "spectral-analysis", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ebp-frame"}, + {"value": "aeroscout-tag"}, + {"value": "ap-list"}, + {"value": "sta-list"}, + {"value": "sta-cap-list"}, + {"value": "stats"}, + {"value": "aeroscout-mu"}, + {"value": "sta-health", "v_range": [["v6.2.0", ""]]}, + {"value": "spectral-analysis", "v_range": [["v6.4.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "data_ethernet_II": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "link_aggregation": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mesh_eth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fiapp_eth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "discovery_mc_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "max_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "rogue_scan_mac_adjacency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipsec_base_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "mesh_eth_type": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fiapp_eth_type": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "discovery_mc_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "max_clients": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "rogue_scan_mac_adjacency": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipsec_base_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, "wtp_share": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tunnel_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "compatible", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "strict", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "nac_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "compatible"}, {"value": "strict"}], }, + "nac_interval": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "ap_log_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_log_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_log_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ap_log_server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ap_log_server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dfs_lab_test": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.12", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, } @@ -1754,6 +537,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_3gpp_cellular.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_3gpp_cellular.py index 5ecfa2232..3053fd88d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_3gpp_cellular.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_3gpp_cellular.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -96,7 +96,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int mcc: @@ -115,29 +115,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure 3GPP public land mobile network (PLMN). - fortios_wireless_controller_hotspot20_anqp_3gpp_cellular: - vdom: "{{ vdom }}" +- name: Configure 3GPP public land mobile network (PLMN). + fortinet.fortios.fortios_wireless_controller_hotspot20_anqp_3gpp_cellular: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_anqp_3gpp_cellular: - mcc_mnc_list: - - - id: "4" - mcc: "" - mnc: "" - name: "default_name_7" - + mcc_mnc_list: + - + id: "4" + mcc: "" + mnc: "" + name: "default_name_7" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_anqp_3gpp_cellular_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_anqp_3gpp_cellular(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -300,11 +290,16 @@ def wireless_controller_hotspot20_anqp_3gpp_cellular(data, fos, check_mode=False is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -362,7 +357,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "anqp-3gpp-cellular") if data["wireless_controller_hotspot20_anqp_3gpp_cellular"]: resp = wireless_controller_hotspot20_anqp_3gpp_cellular(data, fos, check_mode) @@ -371,7 +365,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_anqp_3gpp_cellular") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -386,183 +380,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "mcc_mnc_list": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "mcc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mnc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "mcc": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mnc": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -599,6 +433,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_ip_address_type.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_ip_address_type.py index 578e77feb..c40a41472 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_ip_address_type.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_ip_address_type.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,26 +117,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure IP address type availability. - fortios_wireless_controller_hotspot20_anqp_ip_address_type: - vdom: "{{ vdom }}" +- name: Configure IP address type availability. + fortinet.fortios.fortios_wireless_controller_hotspot20_anqp_ip_address_type: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_anqp_ip_address_type: - ipv4_address_type: "not-available" - ipv6_address_type: "not-available" - name: "default_name_5" - + ipv4_address_type: "not-available" + ipv6_address_type: "not-available" + name: "default_name_5" """ RETURN = """ @@ -195,7 +184,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -223,6 +211,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_anqp_ip_address_type_data(json): @@ -252,7 +243,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_anqp_ip_address_type(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -302,11 +292,16 @@ def wireless_controller_hotspot20_anqp_ip_address_type(data, fos, check_mode=Fal is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -364,7 +359,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "anqp-ip-address-type") if data["wireless_controller_hotspot20_anqp_ip_address_type"]: resp = wireless_controller_hotspot20_anqp_ip_address_type(data, fos, check_mode) @@ -373,7 +367,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_anqp_ip_address_type") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -388,444 +382,32 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "ipv6_address_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "not-available", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "available", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "not-known", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-available"}, + {"value": "available"}, + {"value": "not-known"}, ], }, "ipv4_address_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "not-available", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "public", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "port-restricted", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "single-NATed-private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "double-NATed-private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "port-restricted-and-single-NATed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "port-restricted-and-double-NATed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "not-known", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "not-available"}, + {"value": "public"}, + {"value": "port-restricted"}, + {"value": "single-NATed-private"}, + {"value": "double-NATed-private"}, + {"value": "port-restricted-and-single-NATed"}, + {"value": "port-restricted-and-double-NATed"}, + {"value": "not-known"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -862,6 +444,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_nai_realm.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_nai_realm.py index a9d8f940a..f2e2bc0e3 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_nai_realm.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_nai_realm.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -117,7 +117,7 @@ options: - 'tunneled-credential' index: description: - - Param index. + - Param index. see Notes. required: true type: int val: @@ -157,7 +157,7 @@ options: - 'tun-cred-vendor-specific' index: description: - - EAP method index. + - EAP method index. see Notes. required: true type: int method: @@ -197,38 +197,27 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure network access identifier (NAI) realm. - fortios_wireless_controller_hotspot20_anqp_nai_realm: - vdom: "{{ vdom }}" +- name: Configure network access identifier (NAI) realm. + fortinet.fortios.fortios_wireless_controller_hotspot20_anqp_nai_realm: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_anqp_nai_realm: - nai_list: - - - eap_method: - - - auth_param: - - - id: "6" - index: "0" - val: "eap-identity" - index: "0" - method: "eap-identity" - encoding: "disable" - nai_realm: "" - name: "default_name_13" - name: "default_name_14" - + nai_list: + - + eap_method: + - + auth_param: + - + id: "6" + index: "" + val: "eap-identity" + index: "" + method: "eap-identity" + encoding: "disable" + nai_realm: "" + name: "default_name_13" + name: "default_name_14" """ RETURN = """ @@ -287,7 +276,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -315,6 +303,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_anqp_nai_realm_data(json): @@ -344,7 +335,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_anqp_nai_realm(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -388,11 +378,16 @@ def wireless_controller_hotspot20_anqp_nai_realm(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -450,7 +445,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "anqp-nai-realm") if data["wireless_controller_hotspot20_anqp_nai_realm"]: resp = wireless_controller_hotspot20_anqp_nai_realm(data, fos, check_mode) @@ -459,7 +453,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_anqp_nai_realm") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -474,483 +468,43 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "nai_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, "encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "nai_realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "nai_realm": {"v_range": [["v6.0.0", ""]], "type": "string"}, "eap_method": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "eap-identity", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-tls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-ttls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-peap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-sim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-aka", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-aka-prime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "eap-identity"}, + {"value": "eap-md5"}, + {"value": "eap-tls"}, + {"value": "eap-ttls"}, + {"value": "eap-peap"}, + {"value": "eap-sim"}, + {"value": "eap-aka"}, + {"value": "eap-aka-prime"}, ], }, "auth_param": { @@ -958,1194 +512,67 @@ versioned_schema = { "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "non-eap-inner-auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "inner-auth-eap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "credential", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tunneled-credential", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "non-eap-inner-auth"}, + {"value": "inner-auth-eap"}, + {"value": "credential"}, + {"value": "tunneled-credential"}, ], }, "val": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "eap-identity", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-tls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-ttls", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-peap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-sim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-aka", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "eap-aka-prime", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-eap-pap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-eap-chap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-eap-mschap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "non-eap-mschapv2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-sim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-usim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-nfc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-hardware-token", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-softoken", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-certificate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-user-pwd", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cred-vendor-specific", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-sim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-usim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-nfc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-hardware-token", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-softoken", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-certificate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-user-pwd", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-anonymous", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tun-cred-vendor-specific", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "eap-identity"}, + {"value": "eap-md5"}, + {"value": "eap-tls"}, + {"value": "eap-ttls"}, + {"value": "eap-peap"}, + {"value": "eap-sim"}, + {"value": "eap-aka"}, + {"value": "eap-aka-prime"}, + {"value": "non-eap-pap"}, + {"value": "non-eap-chap"}, + {"value": "non-eap-mschap"}, + {"value": "non-eap-mschapv2"}, + {"value": "cred-sim"}, + {"value": "cred-usim"}, + {"value": "cred-nfc"}, + {"value": "cred-hardware-token"}, + {"value": "cred-softoken"}, + {"value": "cred-certificate"}, + {"value": "cred-user-pwd"}, + {"value": "cred-none"}, + {"value": "cred-vendor-specific"}, + {"value": "tun-cred-sim"}, + {"value": "tun-cred-usim"}, + {"value": "tun-cred-nfc"}, + {"value": "tun-cred-hardware-token"}, + {"value": "tun-cred-softoken"}, + {"value": "tun-cred-certificate"}, + {"value": "tun-cred-user-pwd"}, + {"value": "tun-cred-anonymous"}, + {"value": "tun-cred-vendor-specific"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2182,6 +609,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_network_auth_type.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_network_auth_type.py index 7f1c6c668..e599707cd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_network_auth_type.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_network_auth_type.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -109,26 +109,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure network authentication type. - fortios_wireless_controller_hotspot20_anqp_network_auth_type: - vdom: "{{ vdom }}" +- name: Configure network authentication type. + fortinet.fortios.fortios_wireless_controller_hotspot20_anqp_network_auth_type: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_anqp_network_auth_type: - auth_type: "acceptance-of-terms" - name: "default_name_4" - url: "myurl.com" - + auth_type: "acceptance-of-terms" + name: "default_name_4" + url: "myurl.com" """ RETURN = """ @@ -187,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -215,6 +203,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_anqp_network_auth_type_data(json): @@ -244,7 +235,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_anqp_network_auth_type(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -294,11 +284,16 @@ def wireless_controller_hotspot20_anqp_network_auth_type(data, fos, check_mode=F is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -356,7 +351,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "anqp-network-auth-type") if data["wireless_controller_hotspot20_anqp_network_auth_type"]: resp = wireless_controller_hotspot20_anqp_network_auth_type( @@ -367,7 +361,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_anqp_network_auth_type") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -382,239 +376,20 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "auth_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "acceptance-of-terms", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "online-enrollment", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "http-redirection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dns-redirection", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "acceptance-of-terms"}, + {"value": "online-enrollment"}, + {"value": "http-redirection"}, + {"value": "dns-redirection"}, ], }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "url": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -651,6 +426,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_roaming_consortium.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_roaming_consortium.py index 2b3f249c4..c6da46b98 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_roaming_consortium.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_roaming_consortium.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -105,7 +105,7 @@ options: type: str index: description: - - OI index. + - OI index. see Notes. required: true type: int oi: @@ -115,29 +115,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure roaming consortium. - fortios_wireless_controller_hotspot20_anqp_roaming_consortium: - vdom: "{{ vdom }}" +- name: Configure roaming consortium. + fortinet.fortios.fortios_wireless_controller_hotspot20_anqp_roaming_consortium: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_anqp_roaming_consortium: - name: "default_name_3" - oi_list: - - - comment: "Comment." - index: "0" - oi: "" - + name: "default_name_3" + oi_list: + - + comment: "Comment." + index: "" + oi: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_anqp_roaming_consortium_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_anqp_roaming_consortium(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -303,11 +293,16 @@ def wireless_controller_hotspot20_anqp_roaming_consortium(data, fos, check_mode= is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -365,7 +360,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "anqp-roaming-consortium") if data["wireless_controller_hotspot20_anqp_roaming_consortium"]: resp = wireless_controller_hotspot20_anqp_roaming_consortium( @@ -376,7 +370,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_anqp_roaming_consortium") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -391,183 +385,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "oi_list": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "oi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "oi": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -604,6 +438,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_name.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_name.py index c46ca6204..2d70bf96a 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_name.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_name.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,7 +101,7 @@ options: suboptions: index: description: - - Value index. + - Value index. see Notes. required: true type: int lang: @@ -115,29 +115,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure venue name duple. - fortios_wireless_controller_hotspot20_anqp_venue_name: - vdom: "{{ vdom }}" +- name: Configure venue name duple. + fortinet.fortios.fortios_wireless_controller_hotspot20_anqp_venue_name: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_anqp_venue_name: - name: "default_name_3" - value_list: - - - index: "0" - lang: "" - value: "" - + name: "default_name_3" + value_list: + - + index: "" + lang: "" + value: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_anqp_venue_name_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_anqp_venue_name(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -297,11 +287,16 @@ def wireless_controller_hotspot20_anqp_venue_name(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -359,7 +354,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "anqp-venue-name") if data["wireless_controller_hotspot20_anqp_venue_name"]: resp = wireless_controller_hotspot20_anqp_venue_name(data, fos, check_mode) @@ -368,7 +362,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_anqp_venue_name") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -383,183 +377,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "value_list": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -596,6 +430,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_url.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_url.py index 6b92813b8..03d72ed4b 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_url.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_anqp_venue_url.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,7 +101,7 @@ options: suboptions: index: description: - - URL index. + - URL index. see Notes. required: true type: int number: @@ -115,29 +115,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure venue URL. - fortios_wireless_controller_hotspot20_anqp_venue_url: - vdom: "{{ vdom }}" +- name: Configure venue URL. + fortinet.fortios.fortios_wireless_controller_hotspot20_anqp_venue_url: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_anqp_venue_url: - name: "default_name_3" - value_list: - - - index: "0" - number: "0" - value: "" - + name: "default_name_3" + value_list: + - + index: "" + number: "0" + value: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -292,7 +280,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos): - fos.do_member_operation("wireless-controller.hotspot20", "anqp-venue-url") if data["wireless_controller_hotspot20_anqp_venue_url"]: resp = wireless_controller_hotspot20_anqp_venue_url(data, fos) @@ -315,111 +302,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.0.2", ""]], "type": "string", "required": True}, "value_list": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "integer", "required": True, }, - "number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", - }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, + "number": {"v_range": [["v7.0.2", ""]], "type": "integer"}, + "value": {"v_range": [["v7.0.2", ""]], "type": "string"}, }, + "v_range": [["v7.0.2", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], } @@ -456,6 +355,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_advice_of_charge.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_advice_of_charge.py index 719b68165..4d66717a5 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_advice_of_charge.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_advice_of_charge.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -147,36 +147,25 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure advice of charge. - fortios_wireless_controller_hotspot20_h2qp_advice_of_charge: - vdom: "{{ vdom }}" +- name: Configure advice of charge. + fortinet.fortios.fortios_wireless_controller_hotspot20_h2qp_advice_of_charge: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_h2qp_advice_of_charge: - aoc_list: - - - nai_realm: "" - nai_realm_encoding: "" - name: "default_name_6" - plan_info: - - - currency: "" - info_file: "" - lang: "" - name: "default_name_11" - type: "time-based" - name: "default_name_13" - + aoc_list: + - + nai_realm: "" + nai_realm_encoding: "" + name: "default_name_6" + plan_info: + - + currency: "" + info_file: "" + lang: "" + name: "default_name_11" + type: "time-based" + name: "default_name_13" """ RETURN = """ @@ -235,7 +224,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -331,7 +319,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos): - fos.do_member_operation("wireless-controller.hotspot20", "h2qp-advice-of-charge") if data["wireless_controller_hotspot20_h2qp_advice_of_charge"]: resp = wireless_controller_hotspot20_h2qp_advice_of_charge(data, fos) @@ -354,287 +341,48 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.0.2", ""]], "type": "string", "required": True}, "aoc_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "required": True, }, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "time-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "volume-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "time-and-volume-based", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "unlimited", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "time-based"}, + {"value": "volume-based"}, + {"value": "time-and-volume-based"}, + {"value": "unlimited"}, ], }, - "nai_realm_encoding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "nai_realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, + "nai_realm_encoding": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "nai_realm": {"v_range": [["v7.0.2", ""]], "type": "string"}, "plan_info": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "required": True, }, - "lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "currency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "info_file": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, + "lang": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "currency": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "info_file": {"v_range": [["v7.0.2", ""]], "type": "string"}, }, + "v_range": [["v7.0.2", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], } @@ -671,6 +419,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_conn_capability.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_conn_capability.py index 337b999f8..62fc517a6 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_conn_capability.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_conn_capability.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -184,35 +184,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure connection capability. - fortios_wireless_controller_hotspot20_h2qp_conn_capability: - vdom: "{{ vdom }}" +- name: Configure connection capability. + fortinet.fortios.fortios_wireless_controller_hotspot20_h2qp_conn_capability: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_h2qp_conn_capability: - esp_port: "closed" - ftp_port: "closed" - http_port: "closed" - icmp_port: "closed" - ikev2_port: "closed" - ikev2_xx_port: "closed" - name: "default_name_9" - pptp_vpn_port: "closed" - ssh_port: "closed" - tls_port: "closed" - voip_tcp_port: "closed" - voip_udp_port: "closed" - + esp_port: "closed" + ftp_port: "closed" + http_port: "closed" + icmp_port: "closed" + ikev2_port: "closed" + ikev2_xx_port: "closed" + name: "default_name_9" + pptp_vpn_port: "closed" + ssh_port: "closed" + tls_port: "closed" + voip_tcp_port: "closed" + voip_udp_port: "closed" """ RETURN = """ @@ -271,7 +260,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -299,6 +287,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_h2qp_conn_capability_data(json): @@ -341,7 +332,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_h2qp_conn_capability(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -391,11 +381,16 @@ def wireless_controller_hotspot20_h2qp_conn_capability(data, fos, check_mode=Fal is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -453,7 +448,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "h2qp-conn-capability") if data["wireless_controller_hotspot20_h2qp_conn_capability"]: resp = wireless_controller_hotspot20_h2qp_conn_capability(data, fos, check_mode) @@ -462,7 +456,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_h2qp_conn_capability") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -477,1361 +471,64 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "icmp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "ftp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "ssh_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "http_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "tls_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "pptp_vpn_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "voip_tcp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "voip_udp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "ikev2_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "ikev2_xx_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, "esp_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "closed", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "closed"}, {"value": "open"}, {"value": "unknown"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -1868,6 +565,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_operator_name.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_operator_name.py index 097c45068..3dd744e6d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_operator_name.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_operator_name.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -101,7 +101,7 @@ options: suboptions: index: description: - - Value index. + - Value index. see Notes. required: true type: int lang: @@ -115,29 +115,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure operator friendly name. - fortios_wireless_controller_hotspot20_h2qp_operator_name: - vdom: "{{ vdom }}" +- name: Configure operator friendly name. + fortinet.fortios.fortios_wireless_controller_hotspot20_h2qp_operator_name: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_h2qp_operator_name: - name: "default_name_3" - value_list: - - - index: "0" - lang: "" - value: "" - + name: "default_name_3" + value_list: + - + index: "" + lang: "" + value: "" """ RETURN = """ @@ -196,7 +185,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -224,6 +212,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_h2qp_operator_name_data(json): @@ -253,7 +244,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_h2qp_operator_name(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -300,11 +290,16 @@ def wireless_controller_hotspot20_h2qp_operator_name(data, fos, check_mode=False is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -362,7 +357,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "h2qp-operator-name") if data["wireless_controller_hotspot20_h2qp_operator_name"]: resp = wireless_controller_hotspot20_h2qp_operator_name(data, fos, check_mode) @@ -371,7 +365,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_h2qp_operator_name") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -386,183 +380,23 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "value_list": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "value": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -599,6 +433,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider.py index 4829d4b53..4c8784f51 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,7 +100,7 @@ options: type: str index: description: - - OSU provider friendly name index. + - OSU provider friendly name index. see Notes. required: true type: int lang: @@ -149,44 +149,33 @@ options: type: str service_id: description: - - OSU service ID. + - OSU service ID. see Notes. required: true type: int """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure online sign up (OSU) provider list. - fortios_wireless_controller_hotspot20_h2qp_osu_provider: - vdom: "{{ vdom }}" +- name: Configure online sign up (OSU) provider list. + fortinet.fortios.fortios_wireless_controller_hotspot20_h2qp_osu_provider: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_h2qp_osu_provider: - friendly_name: - - - friendly_name: "" - index: "0" - lang: "" - icon: " (source wireless-controller.hotspot20.icon.name)" - name: "default_name_8" - osu_method: "oma-dm" - osu_nai: "" - server_uri: "" - service_description: - - - lang: "" - service_description: "" - service_id: "0" - + friendly_name: + - + friendly_name: "" + index: "" + lang: "" + icon: " (source wireless-controller.hotspot20.icon.name)" + name: "default_name_8" + osu_method: "oma-dm" + osu_nai: "" + server_uri: "" + service_description: + - + lang: "" + service_description: "" + service_id: "" """ RETURN = """ @@ -245,7 +234,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -273,6 +261,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_h2qp_osu_provider_data(json): @@ -339,7 +330,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_h2qp_osu_provider(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -391,11 +381,16 @@ def wireless_controller_hotspot20_h2qp_osu_provider(data, fos, check_mode=False) is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -453,7 +448,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "h2qp-osu-provider") if data["wireless_controller_hotspot20_h2qp_osu_provider"]: resp = wireless_controller_hotspot20_h2qp_osu_provider(data, fos, check_mode) @@ -462,7 +456,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_h2qp_osu_provider") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -477,510 +471,51 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "friendly_name": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "friendly_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "friendly_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, - "server_uri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "server_uri": {"v_range": [["v6.0.0", ""]], "type": "string"}, "osu_method": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "oma-dm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "soap-xml-spp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "reserved", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "oma-dm"}, + {"value": "soap-xml-spp"}, + {"value": "reserved"}, ], "multiple_values": True, "elements": "str", }, - "osu_nai": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "osu_nai": {"v_range": [["v6.0.0", ""]], "type": "string"}, "service_description": { "type": "list", "elements": "dict", "children": { "service_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "service_description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "service_description": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, - "icon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "icon": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1017,6 +552,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider_nai.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider_nai.py index d2628dcc6..56d527a7d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider_nai.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_osu_provider_nai.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure online sign up (OSU) provider NAI list. - fortios_wireless_controller_hotspot20_h2qp_osu_provider_nai: - vdom: "{{ vdom }}" +- name: Configure online sign up (OSU) provider NAI list. + fortinet.fortios.fortios_wireless_controller_hotspot20_h2qp_osu_provider_nai: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_h2qp_osu_provider_nai: - nai_list: - - - name: "default_name_4" - osu_nai: "" - name: "default_name_6" - + nai_list: + - + name: "default_name_4" + osu_nai: "" + name: "default_name_6" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -287,7 +275,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos): - fos.do_member_operation("wireless-controller.hotspot20", "h2qp-osu-provider-nai") if data["wireless_controller_hotspot20_h2qp_osu_provider_nai"]: resp = wireless_controller_hotspot20_h2qp_osu_provider_nai(data, fos) @@ -310,94 +297,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v7.0.2", ""]], "type": "string", "required": True}, "nai_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "required": True, }, - "osu_nai": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, + "osu_nai": {"v_range": [["v7.0.2", ""]], "type": "string"}, }, + "v_range": [["v7.0.2", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], } @@ -434,6 +349,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_terms_and_conditions.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_terms_and_conditions.py index 7e4778967..e914d99cd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_terms_and_conditions.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_terms_and_conditions.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,27 +108,16 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure terms and conditions. - fortios_wireless_controller_hotspot20_h2qp_terms_and_conditions: - vdom: "{{ vdom }}" +- name: Configure terms and conditions. + fortinet.fortios.fortios_wireless_controller_hotspot20_h2qp_terms_and_conditions: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_h2qp_terms_and_conditions: - filename: "" - name: "default_name_4" - timestamp: "0" - url: "myurl.com" - + filename: "" + name: "default_name_4" + timestamp: "0" + url: "myurl.com" """ RETURN = """ @@ -187,7 +176,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -283,7 +271,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos): - fos.do_member_operation( "wireless-controller.hotspot20", "h2qp-terms-and-conditions" ) @@ -308,90 +295,12 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "required": True, - }, - "filename": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "timestamp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", - }, - "url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, + "name": {"v_range": [["v7.0.2", ""]], "type": "string", "required": True}, + "filename": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "timestamp": {"v_range": [["v7.0.2", ""]], "type": "integer"}, + "url": {"v_range": [["v7.0.2", ""]], "type": "string"}, }, + "v_range": [["v7.0.2", ""]], } @@ -428,6 +337,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_wan_metric.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_wan_metric.py index 7a44a543a..2b5e5d16c 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_wan_metric.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_h2qp_wan_metric.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -138,32 +138,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WAN metrics. - fortios_wireless_controller_hotspot20_h2qp_wan_metric: - vdom: "{{ vdom }}" +- name: Configure WAN metrics. + fortinet.fortios.fortios_wireless_controller_hotspot20_h2qp_wan_metric: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_h2qp_wan_metric: - downlink_load: "0" - downlink_speed: "2400" - link_at_capacity: "enable" - link_status: "up" - load_measurement_duration: "0" - name: "default_name_8" - symmetric_wan_link: "symmetric" - uplink_load: "0" - uplink_speed: "2400" - + downlink_load: "0" + downlink_speed: "2400" + link_at_capacity: "enable" + link_status: "up" + load_measurement_duration: "0" + name: "default_name_8" + symmetric_wan_link: "symmetric" + uplink_load: "0" + uplink_speed: "2400" """ RETURN = """ @@ -222,7 +211,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -250,6 +238,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_h2qp_wan_metric_data(json): @@ -289,7 +280,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_h2qp_wan_metric(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -333,11 +323,16 @@ def wireless_controller_hotspot20_h2qp_wan_metric(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -395,7 +390,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "h2qp-wan-metric") if data["wireless_controller_hotspot20_h2qp_wan_metric"]: resp = wireless_controller_hotspot20_h2qp_wan_metric(data, fos, check_mode) @@ -404,7 +398,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): msg="missing task body: %s" % ("wireless_controller_hotspot20_h2qp_wan_metric") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -419,504 +413,29 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "link_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "in-test", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "up"}, {"value": "down"}, {"value": "in-test"}], }, "symmetric_wan_link": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "symmetric", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "asymmetric", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "symmetric"}, {"value": "asymmetric"}], }, "link_at_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "uplink_speed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "downlink_speed": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "uplink_load": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "downlink_load": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "load_measurement_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "uplink_speed": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "downlink_speed": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "uplink_load": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "downlink_load": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "load_measurement_duration": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -953,6 +472,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_hs_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_hs_profile.py index a588b094e..b8bd640df 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_hs_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_hs_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -359,63 +359,52 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure hotspot profile. - fortios_wireless_controller_hotspot20_hs_profile: - vdom: "{{ vdom }}" +- name: Configure hotspot profile. + fortinet.fortios.fortios_wireless_controller_hotspot20_hs_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_hs_profile: - plmn_3gpp: " (source wireless-controller.hotspot20.anqp-3gpp-cellular.name)" - access_network_asra: "enable" - access_network_esr: "enable" - access_network_internet: "enable" - access_network_type: "private-network" - access_network_uesa: "enable" - advice_of_charge: " (source wireless-controller.hotspot20.h2qp-advice-of-charge.name)" - anqp_domain_id: "0" - bss_transition: "enable" - conn_cap: " (source wireless-controller.hotspot20.h2qp-conn-capability.name)" - deauth_request_timeout: "60" - dgaf: "enable" - domain_name: "" - gas_comeback_delay: "500" - gas_fragmentation_limit: "1024" - hessid: "" - ip_addr_type: " (source wireless-controller.hotspot20.anqp-ip-address-type.name)" - l2tif: "enable" - nai_realm: " (source wireless-controller.hotspot20.anqp-nai-realm.name)" - name: "default_name_22" - network_auth: " (source wireless-controller.hotspot20.anqp-network-auth-type.name)" - oper_friendly_name: " (source wireless-controller.hotspot20.h2qp-operator-name.name)" - oper_icon: " (source wireless-controller.hotspot20.icon.name)" - osu_provider: - - - name: "default_name_27 (source wireless-controller.hotspot20.h2qp-osu-provider.name)" - osu_provider_nai: " (source wireless-controller.hotspot20.h2qp-osu-provider-nai.name)" - osu_ssid: "" - pame_bi: "disable" - proxy_arp: "enable" - qos_map: " (source wireless-controller.hotspot20.qos-map.name)" - release: "2" - roaming_consortium: " (source wireless-controller.hotspot20.anqp-roaming-consortium.name)" - terms_and_conditions: " (source wireless-controller.hotspot20.h2qp-terms-and-conditions.name)" - venue_group: "unspecified" - venue_name: " (source wireless-controller.hotspot20.anqp-venue-name.name)" - venue_type: "unspecified" - venue_url: " (source wireless-controller.hotspot20.anqp-venue-url.name)" - wan_metrics: " (source wireless-controller.hotspot20.h2qp-wan-metric.name)" - wnm_sleep_mode: "enable" - + plmn_3gpp: " (source wireless-controller.hotspot20.anqp-3gpp-cellular.name)" + access_network_asra: "enable" + access_network_esr: "enable" + access_network_internet: "enable" + access_network_type: "private-network" + access_network_uesa: "enable" + advice_of_charge: " (source wireless-controller.hotspot20.h2qp-advice-of-charge.name)" + anqp_domain_id: "0" + bss_transition: "enable" + conn_cap: " (source wireless-controller.hotspot20.h2qp-conn-capability.name)" + deauth_request_timeout: "60" + dgaf: "enable" + domain_name: "" + gas_comeback_delay: "500" + gas_fragmentation_limit: "1024" + hessid: "" + ip_addr_type: " (source wireless-controller.hotspot20.anqp-ip-address-type.name)" + l2tif: "enable" + nai_realm: " (source wireless-controller.hotspot20.anqp-nai-realm.name)" + name: "default_name_22" + network_auth: " (source wireless-controller.hotspot20.anqp-network-auth-type.name)" + oper_friendly_name: " (source wireless-controller.hotspot20.h2qp-operator-name.name)" + oper_icon: " (source wireless-controller.hotspot20.icon.name)" + osu_provider: + - + name: "default_name_27 (source wireless-controller.hotspot20.h2qp-osu-provider.name)" + osu_provider_nai: " (source wireless-controller.hotspot20.h2qp-osu-provider-nai.name)" + osu_ssid: "" + pame_bi: "disable" + proxy_arp: "enable" + qos_map: " (source wireless-controller.hotspot20.qos-map.name)" + release: "2" + roaming_consortium: " (source wireless-controller.hotspot20.anqp-roaming-consortium.name)" + terms_and_conditions: " (source wireless-controller.hotspot20.h2qp-terms-and-conditions.name)" + venue_group: "unspecified" + venue_name: " (source wireless-controller.hotspot20.anqp-venue-name.name)" + venue_type: "unspecified" + venue_url: " (source wireless-controller.hotspot20.anqp-venue-url.name)" + wan_metrics: " (source wireless-controller.hotspot20.h2qp-wan-metric.name)" + wnm_sleep_mode: "enable" """ RETURN = """ @@ -474,7 +463,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -502,6 +490,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_hs_profile_data(json): @@ -593,7 +584,6 @@ def valid_attr_to_invalid_attrs(data): def wireless_controller_hotspot20_hs_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -638,11 +628,16 @@ def wireless_controller_hotspot20_hs_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -700,7 +695,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "hs-profile") if data["wireless_controller_hotspot20_hs_profile"]: resp = wireless_controller_hotspot20_hs_profile(data, fos, check_mode) @@ -708,7 +702,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_hotspot20_hs_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -723,3950 +717,187 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "release": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "release": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "access_network_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "private-network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private-network-with-guest-access", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "chargeable-public-network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "free-public-network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "personal-device-network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "emergency-services-only-network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "test-or-experimental", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wildcard", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "private-network"}, + {"value": "private-network-with-guest-access"}, + {"value": "chargeable-public-network"}, + {"value": "free-public-network"}, + {"value": "personal-device-network"}, + {"value": "emergency-services-only-network"}, + {"value": "test-or-experimental"}, + {"value": "wildcard"}, ], }, "access_network_internet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "access_network_asra": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "access_network_esr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "access_network_uesa": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "venue_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "unspecified", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "assembly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "business", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "educational", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "institutional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mercantile", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "residential", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "storage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "utility", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "vehicular", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "outdoor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "unspecified"}, + {"value": "assembly"}, + {"value": "business"}, + {"value": "educational"}, + {"value": "factory"}, + {"value": "institutional"}, + {"value": "mercantile"}, + {"value": "residential"}, + {"value": "storage"}, + {"value": "utility"}, + {"value": "vehicular"}, + {"value": "outdoor"}, ], }, "venue_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "unspecified", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "arena", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "stadium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "passenger-terminal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "amphitheater", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "amusement-park", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "place-of-worship", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "convention-center", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "library", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "museum", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "restaurant", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "theater", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "coffee-shop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "zoo-or-aquarium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "emergency-center", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "doctor-office", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bank", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "fire-station", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "police-station", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "post-office", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "professional-office", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "research-facility", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "attorney-office", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "primary-school", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secondary-school", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "university-or-college", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "factory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hospital", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "long-term-care-facility", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rehab-center", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "group-home", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "prison-or-jail", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "retail-store", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "grocery-market", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auto-service-station", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "shopping-mall", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gas-station", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "private", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hotel-or-motel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dormitory", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "boarding-house", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "automobile", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "airplane", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bus", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ferry", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ship-or-boat", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "train", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "motor-bike", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "muni-mesh-network", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "city-park", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rest-area", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "traffic-control", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bus-stop", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "kiosk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "unspecified"}, + {"value": "arena"}, + {"value": "stadium"}, + {"value": "passenger-terminal"}, + {"value": "amphitheater"}, + {"value": "amusement-park"}, + {"value": "place-of-worship"}, + {"value": "convention-center"}, + {"value": "library"}, + {"value": "museum"}, + {"value": "restaurant"}, + {"value": "theater"}, + {"value": "bar"}, + {"value": "coffee-shop"}, + {"value": "zoo-or-aquarium"}, + {"value": "emergency-center"}, + {"value": "doctor-office"}, + {"value": "bank"}, + {"value": "fire-station"}, + {"value": "police-station"}, + {"value": "post-office"}, + {"value": "professional-office"}, + {"value": "research-facility"}, + {"value": "attorney-office"}, + {"value": "primary-school"}, + {"value": "secondary-school"}, + {"value": "university-or-college"}, + {"value": "factory"}, + {"value": "hospital"}, + {"value": "long-term-care-facility"}, + {"value": "rehab-center"}, + {"value": "group-home"}, + {"value": "prison-or-jail"}, + {"value": "retail-store"}, + {"value": "grocery-market"}, + {"value": "auto-service-station"}, + {"value": "shopping-mall"}, + {"value": "gas-station"}, + {"value": "private"}, + {"value": "hotel-or-motel"}, + {"value": "dormitory"}, + {"value": "boarding-house"}, + {"value": "automobile"}, + {"value": "airplane"}, + {"value": "bus"}, + {"value": "ferry"}, + {"value": "ship-or-boat"}, + {"value": "train"}, + {"value": "motor-bike"}, + {"value": "muni-mesh-network"}, + {"value": "city-park"}, + {"value": "rest-area"}, + {"value": "traffic-control"}, + {"value": "bus-stop"}, + {"value": "kiosk"}, ], }, - "hessid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "hessid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "proxy_arp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "l2tif": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "pame_bi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "anqp_domain_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "domain_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "osu_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "gas_comeback_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "gas_fragmentation_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "anqp_domain_id": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "domain_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "osu_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "gas_comeback_delay": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "gas_fragmentation_limit": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dgaf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "deauth_request_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "deauth_request_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "wnm_sleep_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bss_transition": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "venue_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "venue_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "roaming_consortium": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "nai_realm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "oper_friendly_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "oper_icon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "advice_of_charge": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "osu_provider_nai": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "terms_and_conditions": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "venue_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "venue_url": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "roaming_consortium": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "nai_realm": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "oper_friendly_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "oper_icon": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "advice_of_charge": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "osu_provider_nai": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "terms_and_conditions": {"v_range": [["v7.0.2", ""]], "type": "string"}, "osu_provider": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "wan_metrics": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "network_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "conn_cap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "qos_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ip_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, - "plmn_3gpp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "wan_metrics": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "network_auth": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "conn_cap": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "qos_map": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ip_addr_type": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "plmn_3gpp": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], } @@ -4703,6 +934,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_icon.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_icon.py index b6faac6e7..9147af4a1 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_icon.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_icon.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,32 +133,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure OSU provider icon. - fortios_wireless_controller_hotspot20_icon: - vdom: "{{ vdom }}" +- name: Configure OSU provider icon. + fortinet.fortios.fortios_wireless_controller_hotspot20_icon: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_icon: - icon_list: - - - file: "" - height: "0" - lang: "" - name: "default_name_7" - type: "bmp" - width: "0" - name: "default_name_10" - + icon_list: + - + file: "" + height: "0" + lang: "" + name: "default_name_7" + type: "bmp" + width: "0" + name: "default_name_10" """ RETURN = """ @@ -217,7 +206,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -245,6 +233,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_icon_data(json): @@ -274,7 +265,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_icon(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -316,11 +306,16 @@ def wireless_controller_hotspot20_icon(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -375,7 +370,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "icon") if data["wireless_controller_hotspot20_icon"]: resp = wireless_controller_hotspot20_icon(data, fos, check_mode) @@ -383,7 +377,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_hotspot20_icon") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -398,417 +392,36 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "icon_list": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, }, - "lang": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "file": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "lang": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "file": {"v_range": [["v6.0.0", ""]], "type": "string"}, "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "bmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "gif", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "jpeg", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "png", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tiff", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "bmp"}, + {"value": "gif"}, + {"value": "jpeg"}, + {"value": "png"}, + {"value": "tiff"}, ], }, - "width": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "height": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "width": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "height": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -845,6 +458,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_qos_map.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_qos_map.py index c7f877cfe..14ca2856d 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_qos_map.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_hotspot20_qos_map.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -100,7 +100,7 @@ options: type: int index: description: - - DSCP exception index. + - DSCP exception index. see Notes. required: true type: int up: @@ -119,7 +119,7 @@ options: type: int index: description: - - DSCP range index. + - DSCP range index. see Notes. required: true type: int low: @@ -138,35 +138,24 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure QoS map set. - fortios_wireless_controller_hotspot20_qos_map: - vdom: "{{ vdom }}" +- name: Configure QoS map set. + fortinet.fortios.fortios_wireless_controller_hotspot20_qos_map: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_hotspot20_qos_map: - dscp_except: - - - dscp: "0" - index: "0" - up: "0" - dscp_range: - - - high: "255" - index: "0" - low: "255" - up: "0" - name: "default_name_12" - + dscp_except: + - + dscp: "0" + index: "" + up: "0" + dscp_range: + - + high: "255" + index: "" + low: "255" + up: "0" + name: "default_name_12" """ RETURN = """ @@ -225,7 +214,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -253,6 +241,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_hotspot20_qos_map_data(json): @@ -282,7 +273,6 @@ def underscore_to_hyphen(data): def wireless_controller_hotspot20_qos_map(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -326,11 +316,16 @@ def wireless_controller_hotspot20_qos_map(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -385,7 +380,6 @@ def is_successful_status(resp): def fortios_wireless_controller_hotspot20(data, fos, check_mode): - fos.do_member_operation("wireless-controller.hotspot20", "qos-map") if data["wireless_controller_hotspot20_qos_map"]: resp = wireless_controller_hotspot20_qos_map(data, fos, check_mode) @@ -393,7 +387,7 @@ def fortios_wireless_controller_hotspot20(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_hotspot20_qos_map") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -408,332 +402,38 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "dscp_except": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "up": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "dscp": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "up": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, "dscp_range": { "type": "list", "elements": "dict", "children": { "index": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "up": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "up": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "low": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "high": {"v_range": [["v6.0.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -770,6 +470,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_inter_controller.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_inter_controller.py index 02f5b4fa9..3ef90ebc0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_inter_controller.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_inter_controller.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -108,7 +108,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int peer_ip: @@ -143,33 +143,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure inter wireless controller operation. - fortios_wireless_controller_inter_controller: - vdom: "{{ vdom }}" +- name: Configure inter wireless controller operation. + fortinet.fortios.fortios_wireless_controller_inter_controller: + vdom: "{{ vdom }}" wireless_controller_inter_controller: - fast_failover_max: "10" - fast_failover_wait: "10" - inter_controller_key: "" - inter_controller_mode: "disable" - inter_controller_peer: - - - id: "8" - peer_ip: "" - peer_port: "5246" - peer_priority: "primary" - inter_controller_pri: "primary" - l3_roaming: "enable" - + fast_failover_max: "10" + fast_failover_wait: "10" + inter_controller_key: "" + inter_controller_mode: "disable" + inter_controller_peer: + - + id: "8" + peer_ip: "" + peer_port: "5246" + peer_priority: "primary" + inter_controller_pri: "primary" + l3_roaming: "enable" """ RETURN = """ @@ -228,7 +217,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -315,7 +303,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "inter-controller") if data["wireless_controller_inter_controller"]: resp = wireless_controller_inter_controller(data, fos) @@ -334,587 +321,49 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "inter_controller_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "l2-roaming", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1+1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "l2-roaming"}, + {"value": "1+1"}, ], }, "l3_roaming": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "inter_controller_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "inter_controller_key": {"v_range": [["v6.0.0", ""]], "type": "string"}, "inter_controller_pri": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "primary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "fast_failover_max": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fast_failover_wait": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "primary"}, {"value": "secondary"}], }, + "fast_failover_max": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fast_failover_wait": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "inter_controller_peer": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "peer_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "peer_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "peer_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "peer_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "peer_priority": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "primary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "secondary", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "primary"}, {"value": "secondary"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, } @@ -952,6 +401,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_log.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_log.py index bd18f6db5..bfbc71240 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_log.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_log.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -233,33 +233,22 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure wireless controller event log filters. - fortios_wireless_controller_log: - vdom: "{{ vdom }}" +- name: Configure wireless controller event log filters. + fortinet.fortios.fortios_wireless_controller_log: + vdom: "{{ vdom }}" wireless_controller_log: - addrgrp_log: "emergency" - ble_log: "emergency" - clb_log: "emergency" - dhcp_starv_log: "emergency" - led_sched_log: "emergency" - radio_event_log: "emergency" - rogue_event_log: "emergency" - sta_event_log: "emergency" - sta_locate_log: "emergency" - status: "enable" - wids_log: "emergency" - wtp_event_log: "emergency" - + addrgrp_log: "emergency" + ble_log: "emergency" + clb_log: "emergency" + dhcp_starv_log: "emergency" + led_sched_log: "emergency" + radio_event_log: "emergency" + rogue_event_log: "emergency" + sta_event_log: "emergency" + sta_locate_log: "emergency" + status: "enable" + wids_log: "emergency" + wtp_event_log: "emergency" """ RETURN = """ @@ -318,7 +307,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -404,7 +392,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "log") if data["wireless_controller_log"]: resp = wireless_controller_log(data, fos) @@ -421,2705 +408,166 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "addrgrp_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "ble_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "clb_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "dhcp_starv_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "led_sched_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "radio_event_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "rogue_event_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "sta_event_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "sta_locate_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "wids_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, "wtp_event_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "debug", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debug"}, ], }, }, @@ -3158,6 +606,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_mpsk_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_mpsk_profile.py index 429534bf2..4109c8c12 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_mpsk_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_mpsk_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -169,41 +169,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure MPSK profile. - fortios_wireless_controller_mpsk_profile: - vdom: "{{ vdom }}" +- name: Configure MPSK profile. + fortinet.fortios.fortios_wireless_controller_mpsk_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_mpsk_profile: - mpsk_concurrent_clients: "0" - mpsk_group: - - - mpsk_key: - - - comment: "Comment." - concurrent_client_limit_type: "default" - concurrent_clients: "256" - mac: "" - mpsk_schedules: - - - name: "default_name_11 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" - name: "default_name_12" - passphrase: "" - name: "default_name_14" - vlan_id: "0" - vlan_type: "no-vlan" - name: "default_name_17" - + mpsk_concurrent_clients: "0" + mpsk_group: + - + mpsk_key: + - + comment: "Comment." + concurrent_client_limit_type: "default" + concurrent_clients: "256" + mac: "" + mpsk_schedules: + - + name: "default_name_11 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" + name: "default_name_12" + passphrase: "" + name: "default_name_14" + vlan_id: "0" + vlan_type: "no-vlan" + name: "default_name_17" """ RETURN = """ @@ -262,7 +251,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -290,6 +278,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_mpsk_profile_data(json): @@ -319,7 +310,6 @@ def underscore_to_hyphen(data): def wireless_controller_mpsk_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -361,11 +351,16 @@ def wireless_controller_mpsk_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -417,7 +412,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "mpsk-profile") if data["wireless_controller_mpsk_profile"]: resp = wireless_controller_mpsk_profile(data, fos, check_mode) @@ -425,7 +419,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_mpsk_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -441,46 +435,12 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, }, "mpsk_concurrent_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "mpsk_group": { @@ -488,111 +448,17 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, }, "vlan_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "no-vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "fixed-vlan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "no-vlan"}, {"value": "fixed-vlan"}], }, "vlan_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "mpsk_key": { @@ -600,195 +466,33 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, }, "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "passphrase": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "concurrent_client_limit_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "unlimited", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "specified", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "default"}, + {"value": "unlimited"}, + {"value": "specified"}, ], }, "concurrent_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "mpsk_schedules": { @@ -796,106 +500,21 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], } @@ -932,6 +551,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_nac_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_nac_profile.py index 48f0eae79..02ab779cc 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_nac_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_nac_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WiFi network access control (NAC) profiles. - fortios_wireless_controller_nac_profile: - vdom: "{{ vdom }}" +- name: Configure WiFi network access control (NAC) profiles. + fortinet.fortios.fortios_wireless_controller_nac_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_nac_profile: - comment: "Comment." - name: "default_name_4" - onboarding_vlan: " (source system.interface.name)" - + comment: "Comment." + name: "default_name_4" + onboarding_vlan: " (source system.interface.name)" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -270,7 +258,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "nac-profile") if data["wireless_controller_nac_profile"]: resp = wireless_controller_nac_profile(data, fos) @@ -292,81 +279,11 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "onboarding_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "onboarding_vlan": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, + "v_range": [["v7.0.0", ""]], } @@ -403,6 +320,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_qos_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_qos_profile.py index 9c6a89d42..0f87775e0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_qos_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_qos_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -137,7 +137,7 @@ options: suboptions: id: description: - - DSCP WMM mapping numbers (0 - 63). + - DSCP WMM mapping numbers (0 - 63). see Notes. required: true type: int dscp_wmm_bk: @@ -148,7 +148,7 @@ options: suboptions: id: description: - - DSCP WMM mapping numbers (0 - 63). + - DSCP WMM mapping numbers (0 - 63). see Notes. required: true type: int dscp_wmm_mapping: @@ -166,7 +166,7 @@ options: suboptions: id: description: - - DSCP WMM mapping numbers (0 - 63). + - DSCP WMM mapping numbers (0 - 63). see Notes. required: true type: int dscp_wmm_vo: @@ -177,7 +177,7 @@ options: suboptions: id: description: - - DSCP WMM mapping numbers (0 - 63). + - DSCP WMM mapping numbers (0 - 63). see Notes. required: true type: int name: @@ -233,54 +233,43 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WiFi quality of service (QoS) profiles. - fortios_wireless_controller_qos_profile: - vdom: "{{ vdom }}" +- name: Configure WiFi quality of service (QoS) profiles. + fortinet.fortios.fortios_wireless_controller_qos_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_qos_profile: - bandwidth_admission_control: "enable" - bandwidth_capacity: "2000" - burst: "enable" - call_admission_control: "enable" - call_capacity: "10" - comment: "Comment." - downlink: "0" - downlink_sta: "0" - dscp_wmm_be: - - - id: "12" - dscp_wmm_bk: - - - id: "14" - dscp_wmm_mapping: "enable" - dscp_wmm_vi: - - - id: "17" - dscp_wmm_vo: - - - id: "19" - name: "default_name_20" - uplink: "0" - uplink_sta: "0" - wmm: "enable" - wmm_be_dscp: "0" - wmm_bk_dscp: "8" - wmm_dscp_marking: "enable" - wmm_uapsd: "enable" - wmm_vi_dscp: "32" - wmm_vo_dscp: "48" - + bandwidth_admission_control: "enable" + bandwidth_capacity: "2000" + burst: "enable" + call_admission_control: "enable" + call_capacity: "10" + comment: "Comment." + downlink: "0" + downlink_sta: "0" + dscp_wmm_be: + - + id: "12" + dscp_wmm_bk: + - + id: "14" + dscp_wmm_mapping: "enable" + dscp_wmm_vi: + - + id: "17" + dscp_wmm_vo: + - + id: "19" + name: "default_name_20" + uplink: "0" + uplink_sta: "0" + wmm: "enable" + wmm_be_dscp: "0" + wmm_bk_dscp: "8" + wmm_dscp_marking: "enable" + wmm_uapsd: "enable" + wmm_vi_dscp: "32" + wmm_vo_dscp: "48" """ RETURN = """ @@ -339,7 +328,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -367,6 +355,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_qos_profile_data(json): @@ -420,7 +411,6 @@ def underscore_to_hyphen(data): def wireless_controller_qos_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -462,11 +452,16 @@ def wireless_controller_qos_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -518,7 +513,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "qos-profile") if data["wireless_controller_qos_profile"]: resp = wireless_controller_qos_profile(data, fos, check_mode) @@ -526,7 +520,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_qos_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -541,1247 +535,87 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "uplink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "downlink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "uplink_sta": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "downlink_sta": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "uplink": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "downlink": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "uplink_sta": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "downlink_sta": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "burst": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wmm": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wmm_uapsd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "call_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "call_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "call_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bandwidth_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "bandwidth_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "bandwidth_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "dscp_wmm_mapping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dscp_wmm_vo": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "dscp_wmm_vi": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "dscp_wmm_be": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "dscp_wmm_bk": { "type": "list", "elements": "dict", "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "id": {"v_range": [["v6.0.0", ""]], "type": "integer", "required": True} }, + "v_range": [["v6.0.0", ""]], }, "wmm_dscp_marking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "wmm_vo_dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "wmm_vi_dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "wmm_be_dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "wmm_bk_dscp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "wmm_vo_dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "wmm_vi_dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "wmm_be_dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "wmm_bk_dscp": {"v_range": [["v6.2.0", ""]], "type": "integer"}, }, + "v_range": [["v6.0.0", ""]], } @@ -1818,6 +652,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_region.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_region.py index 888b36139..d23410a46 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_region.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_region.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -119,28 +119,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure FortiAP regions (for floor plans and maps). - fortios_wireless_controller_region: - vdom: "{{ vdom }}" +- name: Configure FortiAP regions (for floor plans and maps). + fortinet.fortios.fortios_wireless_controller_region: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_region: - comments: "" - grayscale: "enable" - image_type: "png" - name: "default_name_6" - opacity: "100" - + comments: "" + grayscale: "enable" + image_type: "png" + name: "default_name_6" + opacity: "100" """ RETURN = """ @@ -199,7 +188,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -227,6 +215,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_region_data(json): @@ -256,7 +247,6 @@ def underscore_to_hyphen(data): def wireless_controller_region(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -292,11 +282,16 @@ def wireless_controller_region(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -346,7 +341,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "region") if data["wireless_controller_region"]: resp = wireless_controller_region(data, fos, check_mode) @@ -354,7 +348,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_region") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -369,198 +363,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "comments": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "comments": {"v_range": [["v6.2.0", ""]], "type": "string"}, "grayscale": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "opacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "opacity": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "image_type": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - {"value": "png", "revisions": {"v6.2.3": True}}, - {"value": "jpeg", "revisions": {"v6.2.3": True}}, - {"value": "gif", "revisions": {"v6.2.3": True}}, - ], + "options": [{"value": "png"}, {"value": "jpeg"}, {"value": "gif"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -597,6 +414,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_rf_analysis.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_rf_analysis.py index 908333992..3c978a2f2 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_rf_analysis.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_rf_analysis.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Wireless controller rf-analysis. - fortios_wireless_controller_rf_analysis: - vdom: "{{ vdom }}" +- name: Wireless controller rf-analysis. + fortinet.fortios.fortios_wireless_controller_rf_analysis: + vdom: "{{ vdom }}" wireless_controller_rf_analysis: - wtp_id: "" - + wtp_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -260,7 +248,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "rf-analysis") if data["wireless_controller_rf_analysis"]: resp = wireless_controller_rf_analysis(data, fos) @@ -279,39 +266,15 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "wtp_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -350,6 +313,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_setting.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_setting.py index 72b2a21b8..46a3e8363 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_setting.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_setting.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -133,6 +133,7 @@ options: - 'CY' - 'CZ' - 'DK' + - 'DJ' - 'DM' - 'DO' - 'EC' @@ -146,7 +147,9 @@ options: - 'FJ' - 'FI' - 'FR' + - 'GA' - 'GE' + - 'GM' - 'DE' - 'GH' - 'GI' @@ -180,6 +183,7 @@ options: - 'LV' - 'LB' - 'LS' + - 'LR' - 'LY' - 'LI' - 'LT' @@ -213,6 +217,7 @@ options: - 'NZ' - 'NI' - 'NE' + - 'NG' - 'NO' - 'MP' - 'OM' @@ -245,11 +250,13 @@ options: - 'SG' - 'SK' - 'SI' + - 'SO' - 'ZA' - 'ES' - 'LK' - - 'SE' - 'SR' + - 'SZ' + - 'SE' - 'CH' - 'TW' - 'TZ' @@ -356,7 +363,7 @@ options: - 'suppress' id: description: - - ID. + - ID. see Notes. required: true type: int ssid_pattern: @@ -380,41 +387,30 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: VDOM wireless controller configuration. - fortios_wireless_controller_setting: - vdom: "{{ vdom }}" +- name: VDOM wireless controller configuration. + fortinet.fortios.fortios_wireless_controller_setting: + vdom: "{{ vdom }}" wireless_controller_setting: - account_id: "" - country: "--" - darrp_optimize: "86400" - darrp_optimize_schedules: - - - name: "default_name_7 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" - device_holdoff: "5" - device_idle: "1440" - device_weight: "1" - duplicate_ssid: "enable" - fake_ssid_action: "log" - fapc_compatibility: "enable" - firmware_provision_on_authorization: "enable" - offending_ssid: - - - action: "log" - id: "17" - ssid_pattern: "" - phishing_ssid_detect: "enable" - wfa_compatibility: "enable" - + account_id: "" + country: "--" + darrp_optimize: "86400" + darrp_optimize_schedules: + - + name: "default_name_7 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" + device_holdoff: "5" + device_idle: "1440" + device_weight: "1" + duplicate_ssid: "enable" + fake_ssid_action: "log" + fapc_compatibility: "enable" + firmware_provision_on_authorization: "enable" + offending_ssid: + - + action: "log" + id: "17" + ssid_pattern: "" + phishing_ssid_detect: "enable" + wfa_compatibility: "enable" """ RETURN = """ @@ -473,7 +469,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -594,7 +589,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "setting") if data["wireless_controller_setting"]: resp = wireless_controller_setting(data, fos) @@ -613,6076 +607,241 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "account_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "account_id": {"v_range": [["v6.0.0", ""]], "type": "string"}, "country": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "--", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "AF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "AL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "AO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BJ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "KH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "KY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CX", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "DO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "EC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "EG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ET", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "EE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "PF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "FO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "FJ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "FI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "GI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "GR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "GU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "HT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ID", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IQ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "IE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "IL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "JM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "JO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ML", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MQ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "YT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MX", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "NE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "NO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "OM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "PA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "QA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "RE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "RO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "RU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "RW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "KN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "PM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "VC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "SA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "RS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ME", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "SG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ZA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "AE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "UG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "UA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "US", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "UY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "UZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "VU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "VE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "VN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "VI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "WF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "YE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ZM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ZW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "JP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IR", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KP", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SD", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SY", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ZB", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "--", "v_range": [["v7.0.1", ""]]}, + {"value": "AF", "v_range": [["v7.0.0", ""]]}, + {"value": "AL"}, + {"value": "DZ"}, + {"value": "AS", "v_range": [["v7.0.0", ""]]}, + {"value": "AO"}, + {"value": "AR"}, + {"value": "AM"}, + {"value": "AU"}, + {"value": "AT"}, + {"value": "AZ"}, + {"value": "BS", "v_range": [["v6.4.0", ""]]}, + {"value": "BH"}, + {"value": "BD"}, + {"value": "BB"}, + {"value": "BY"}, + {"value": "BE"}, + {"value": "BZ"}, + {"value": "BJ", "v_range": [["v7.0.0", ""]]}, + {"value": "BM", "v_range": [["v7.0.0", ""]]}, + {"value": "BT", "v_range": [["v7.0.0", ""]]}, + {"value": "BO"}, + {"value": "BA"}, + {"value": "BW", "v_range": [["v7.0.0", ""]]}, + {"value": "BR"}, + {"value": "BN"}, + {"value": "BG"}, + {"value": "BF", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "KH"}, + {"value": "CM", "v_range": [["v7.0.0", ""]]}, + {"value": "KY", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "CF", "v_range": [["v6.2.0", ""]]}, + {"value": "TD", "v_range": [["v7.0.0", ""]]}, + {"value": "CL"}, + {"value": "CN"}, + {"value": "CX", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "CO"}, + {"value": "CG", "v_range": [["v7.0.0", ""]]}, + {"value": "CD", "v_range": [["v7.0.0", ""]]}, + {"value": "CR"}, + {"value": "HR"}, + {"value": "CY"}, + {"value": "CZ"}, + {"value": "DK"}, + {"value": "DJ", "v_range": [["v7.4.1", ""]]}, + {"value": "DM", "v_range": [["v7.0.0", ""]]}, + {"value": "DO"}, + {"value": "EC"}, + {"value": "EG"}, + {"value": "SV"}, + {"value": "ET", "v_range": [["v7.0.0", ""]]}, + {"value": "EE"}, + {"value": "GF", "v_range": [["v7.0.0", ""]]}, + {"value": "PF", "v_range": [["v7.0.0", ""]]}, + {"value": "FO", "v_range": [["v7.0.0", ""]]}, + {"value": "FJ", "v_range": [["v7.0.0", ""]]}, + {"value": "FI"}, + {"value": "FR"}, + {"value": "GA", "v_range": [["v7.4.1", ""]]}, + {"value": "GE"}, + {"value": "GM", "v_range": [["v7.4.1", ""]]}, + {"value": "DE"}, + {"value": "GH", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "GI", "v_range": [["v7.0.0", ""]]}, + {"value": "GR"}, + {"value": "GL"}, + {"value": "GD"}, + {"value": "GP", "v_range": [["v7.0.0", ""]]}, + {"value": "GU"}, + {"value": "GT"}, + {"value": "GY", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "HT"}, + {"value": "HN"}, + {"value": "HK"}, + {"value": "HU"}, + {"value": "IS"}, + {"value": "IN"}, + {"value": "ID"}, + {"value": "IQ", "v_range": [["v7.0.0", ""]]}, + {"value": "IE"}, + {"value": "IM", "v_range": [["v7.0.0", ""]]}, + {"value": "IL"}, + {"value": "IT"}, + {"value": "CI", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "JM"}, + {"value": "JO"}, + {"value": "KZ"}, + {"value": "KE"}, + {"value": "KR"}, + {"value": "KW"}, + {"value": "LA", "v_range": [["v7.0.0", ""]]}, + {"value": "LV"}, + {"value": "LB"}, + {"value": "LS", "v_range": [["v7.0.0", ""]]}, + {"value": "LR", "v_range": [["v7.4.1", ""]]}, + {"value": "LY", "v_range": [["v7.0.0", ""]]}, + {"value": "LI"}, + {"value": "LT"}, + {"value": "LU"}, + {"value": "MO"}, + {"value": "MK"}, + {"value": "MG", "v_range": [["v7.0.0", ""]]}, + {"value": "MW", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "MY"}, + {"value": "MV", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "ML", "v_range": [["v7.0.0", ""]]}, + {"value": "MT"}, + {"value": "MH", "v_range": [["v7.0.0", ""]]}, + {"value": "MQ", "v_range": [["v7.0.0", ""]]}, + {"value": "MR", "v_range": [["v7.0.0", ""]]}, + {"value": "MU", "v_range": [["v7.0.0", ""]]}, + {"value": "YT", "v_range": [["v7.0.0", ""]]}, + {"value": "MX"}, + {"value": "FM", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "MD", "v_range": [["v7.0.0", ""]]}, + {"value": "MC"}, + {"value": "MN", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]]}, + {"value": "MA"}, + {"value": "MZ"}, + {"value": "MM"}, + {"value": "NA"}, + {"value": "NP"}, + {"value": "NL"}, + {"value": "AN"}, + {"value": "AW"}, + {"value": "NZ"}, + {"value": "NI", "v_range": [["v7.0.0", ""]]}, + {"value": "NE", "v_range": [["v7.0.0", ""]]}, + {"value": "NG", "v_range": [["v7.4.1", ""]]}, + {"value": "NO"}, + {"value": "MP", "v_range": [["v7.0.0", ""]]}, + {"value": "OM"}, + {"value": "PK"}, + {"value": "PW", "v_range": [["v7.0.0", ""]]}, + {"value": "PA"}, + {"value": "PG"}, + {"value": "PY"}, + {"value": "PE"}, + {"value": "PH"}, + {"value": "PL"}, + {"value": "PT"}, + {"value": "PR"}, + {"value": "QA"}, + {"value": "RE", "v_range": [["v7.0.0", ""]]}, + {"value": "RO"}, + {"value": "RU"}, + {"value": "RW"}, + {"value": "BL", "v_range": [["v7.0.0", ""]]}, + {"value": "KN", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "LC", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "MF", "v_range": [["v7.0.0", ""]]}, + {"value": "PM", "v_range": [["v7.0.0", ""]]}, + {"value": "VC", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "SA"}, + {"value": "SN", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "RS"}, + {"value": "ME"}, + {"value": "SL", "v_range": [["v7.0.0", ""]]}, + {"value": "SG"}, + {"value": "SK"}, + {"value": "SI"}, + {"value": "SO", "v_range": [["v7.4.1", ""]]}, + {"value": "ZA"}, + {"value": "ES"}, + {"value": "LK"}, + {"value": "SR", "v_range": [["v7.0.0", ""]]}, + {"value": "SZ", "v_range": [["v7.4.1", ""]]}, + {"value": "SE"}, + {"value": "CH"}, + {"value": "TW"}, + {"value": "TZ"}, + {"value": "TH"}, + {"value": "TG", "v_range": [["v7.0.0", ""]]}, + {"value": "TT"}, + {"value": "TN"}, + {"value": "TR"}, + {"value": "TM", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "AE"}, + {"value": "TC", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "UG", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "UA"}, + {"value": "GB"}, + {"value": "US"}, + {"value": "PS"}, + {"value": "UY"}, + {"value": "UZ"}, + {"value": "VU", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "VE"}, + {"value": "VN"}, + {"value": "VI", "v_range": [["v7.0.0", ""]]}, + {"value": "WF", "v_range": [["v7.0.0", ""]]}, + {"value": "YE"}, + {"value": "ZM", "v_range": [["v7.0.0", ""]]}, + {"value": "ZW"}, + {"value": "JP"}, + {"value": "CA"}, + {"value": "IR", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "KP", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "SD", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "SY", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "ZB", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, "duplicate_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fapc_compatibility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wfa_compatibility": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "phishing_ssid_detect": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fake_ssid_action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "list", - "options": [ - { - "value": "log", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "suppress", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "log"}, {"value": "suppress"}], "multiple_values": True, "elements": "str", }, @@ -6691,407 +850,50 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "ssid_pattern": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "ssid_pattern": {"v_range": [["v6.2.0", ""]], "type": "string"}, "action": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", - "options": [ - { - "value": "log", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "suppress", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "log"}, {"value": "suppress"}], "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, "device_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "device_holdoff": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "device_idle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "firmware_provision_on_authorization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "darrp_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "darrp_optimize": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "darrp_optimize_schedules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], }, }, } @@ -7129,6 +931,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_snmp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_snmp.py index d036609cf..c2aeb28fd 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_snmp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_snmp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -94,7 +94,7 @@ options: suboptions: id: description: - - Host entry ID. + - Host entry ID. see Notes. required: true type: int ip: @@ -103,7 +103,7 @@ options: type: str id: description: - - Community ID. + - Community ID. see Notes. required: true type: int name: @@ -233,50 +233,39 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure SNMP. - fortios_wireless_controller_snmp: - vdom: "{{ vdom }}" +- name: Configure SNMP. + fortinet.fortios.fortios_wireless_controller_snmp: + vdom: "{{ vdom }}" wireless_controller_snmp: - community: - - - hosts: - - - id: "5" - ip: "" - id: "7" - name: "default_name_8" - query_v1_status: "enable" - query_v2c_status: "enable" - status: "enable" - trap_v1_status: "enable" - trap_v2c_status: "enable" - contact_info: "" - engine_id: "" - trap_high_cpu_threshold: "80" - trap_high_mem_threshold: "80" - user: - - - auth_proto: "md5" - auth_pwd: "" - name: "default_name_21" - notify_hosts: "" - priv_proto: "aes" - priv_pwd: "" - queries: "enable" - security_level: "no-auth-no-priv" - status: "enable" - trap_status: "enable" - + community: + - + hosts: + - + id: "5" + ip: "" + id: "7" + name: "default_name_8" + query_v1_status: "enable" + query_v2c_status: "enable" + status: "enable" + trap_v1_status: "enable" + trap_v2c_status: "enable" + contact_info: "" + engine_id: "" + trap_high_cpu_threshold: "80" + trap_high_mem_threshold: "80" + user: + - + auth_proto: "md5" + auth_pwd: "" + name: "default_name_21" + notify_hosts: "" + priv_proto: "aes" + priv_pwd: "" + queries: "enable" + security_level: "no-auth-no-priv" + status: "enable" + trap_status: "enable" """ RETURN = """ @@ -335,7 +324,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -447,7 +435,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "snmp") if data["wireless_controller_snmp"]: resp = wireless_controller_snmp(data, fos) @@ -466,1392 +453,122 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "engine_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "contact_info": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "trap_high_cpu_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "trap_high_mem_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, + "engine_id": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "contact_info": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "trap_high_cpu_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "trap_high_mem_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "community": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string"}, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "query_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "query_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "trap_v1_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "trap_v2c_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "hosts": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "integer", "required": True, }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, + "v_range": [["v6.2.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "user": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, }, "status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "queries": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "trap_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "security_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "no-auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth-no-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "auth-priv", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "no-auth-no-priv"}, + {"value": "auth-no-priv"}, + {"value": "auth-priv"}, ], }, "auth_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "md5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sha", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "auth_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "md5"}, {"value": "sha"}], }, + "auth_pwd": {"v_range": [["v6.2.0", ""]], "type": "string"}, "priv_proto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "aes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "des", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes256", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aes256cisco", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "aes"}, + {"value": "des"}, + {"value": "aes256"}, + {"value": "aes256cisco"}, ], }, - "priv_pwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "priv_pwd": {"v_range": [["v6.2.0", ""]], "type": "string"}, "notify_hosts": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "multiple_values": True, "elements": "str", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, }, } @@ -1889,6 +606,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_spectral_info.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_spectral_info.py index 0de0b2bde..412dd2747 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_spectral_info.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_spectral_info.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Wireless controller spectrum analysis. - fortios_wireless_controller_spectral_info: - vdom: "{{ vdom }}" +- name: Wireless controller spectrum analysis. + fortinet.fortios.fortios_wireless_controller_spectral_info: + vdom: "{{ vdom }}" wireless_controller_spectral_info: - set_wtp_id: "" - + set_wtp_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -235,7 +223,6 @@ def valid_attr_to_invalid_attrs(data): def wireless_controller_spectral_info(data, fos, check_mode=False): - vdom = data["vdom"] wireless_controller_spectral_info_data = data["wireless_controller_spectral_info"] filtered_data = underscore_to_hyphen( @@ -263,7 +250,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "spectral-info") if data["wireless_controller_spectral_info"]: resp = wireless_controller_spectral_info(data, fos, check_mode) @@ -271,7 +257,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_spectral_info") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -283,39 +269,15 @@ def fortios_wireless_controller(data, fos, check_mode): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "set_wtp_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -354,6 +316,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ssid_policy.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ssid_policy.py index df9cee0ae..cbc591e35 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ssid_policy.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_ssid_policy.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -104,26 +104,15 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WiFi SSID policies. - fortios_wireless_controller_ssid_policy: - vdom: "{{ vdom }}" +- name: Configure WiFi SSID policies. + fortinet.fortios.fortios_wireless_controller_ssid_policy: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_ssid_policy: - description: "" - name: "default_name_4" - vlan: " (source system.interface.name)" - + description: "" + name: "default_name_4" + vlan: " (source system.interface.name)" """ RETURN = """ @@ -182,7 +171,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -270,7 +258,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "ssid-policy") if data["wireless_controller_ssid_policy"]: resp = wireless_controller_ssid_policy(data, fos) @@ -292,81 +279,11 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - "required": True, - }, - "description": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - "vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, + "name": {"v_range": [["v7.0.0", ""]], "type": "string", "required": True}, + "description": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "vlan": {"v_range": [["v7.0.0", ""]], "type": "string"}, }, + "v_range": [["v7.0.0", ""]], } @@ -403,6 +320,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_status.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_status.py index 9ba6fe7d2..7e0df42ac 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_status.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_status.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Wireless controller status. - fortios_wireless_controller_status: - vdom: "{{ vdom }}" +- name: Wireless controller status. + fortinet.fortios.fortios_wireless_controller_status: + vdom: "{{ vdom }}" wireless_controller_status: - set_1_2: "" - + set_1_2: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "status") if data["wireless_controller_status"]: resp = wireless_controller_status(data, fos) @@ -277,39 +264,15 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "set_1_2": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -348,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_syslog_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_syslog_profile.py index 479e2f1a1..b83690a6f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_syslog_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_syslog_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -139,31 +139,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Wireless Termination Points (WTP) system log server profile. - fortios_wireless_controller_syslog_profile: - vdom: "{{ vdom }}" +- name: Configure Wireless Termination Points (WTP) system log server profile. + fortinet.fortios.fortios_wireless_controller_syslog_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_syslog_profile: - comment: "Comment." - log_level: "emergency" - name: "default_name_5" - server_addr_type: "fqdn" - server_fqdn: "" - server_ip: "" - server_port: "514" - server_status: "enable" - + comment: "Comment." + log_level: "emergency" + name: "default_name_5" + server_addr_type: "fqdn" + server_fqdn: "" + server_ip: "" + server_port: "514" + server_status: "enable" """ RETURN = """ @@ -222,7 +211,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -322,7 +310,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "syslog-profile") if data["wireless_controller_syslog_profile"]: resp = wireless_controller_syslog_profile(data, fos) @@ -344,368 +331,37 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, + "name": {"v_range": [["v7.0.2", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v7.0.2", ""]], "type": "string"}, "server_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "server_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "server_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "string", - }, - "server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - "type": "integer", + "options": [{"value": "fqdn"}, {"value": "ip"}], }, + "server_fqdn": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "server_ip": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "server_port": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "log_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "emergency", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "alert", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "critical", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "error", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "warning", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "notification", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "information", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "debugging", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "emergency"}, + {"value": "alert"}, + {"value": "critical"}, + {"value": "error"}, + {"value": "warning"}, + {"value": "notification"}, + {"value": "information"}, + {"value": "debugging"}, ], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, + "v_range": [["v7.0.2", ""]], } @@ -742,6 +398,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_timers.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_timers.py index 1a2dca33d..89303b171 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_timers.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_timers.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -174,42 +174,31 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure CAPWAP timers. - fortios_wireless_controller_timers: - vdom: "{{ vdom }}" +- name: Configure CAPWAP timers. + fortinet.fortios.fortios_wireless_controller_timers: + vdom: "{{ vdom }}" wireless_controller_timers: - auth_timeout: "5" - ble_scan_report_intv: "30" - client_idle_rehome_timeout: "20" - client_idle_timeout: "300" - darrp_day: "sunday" - darrp_optimize: "43200" - darrp_time: - - - time: "" - discovery_interval: "5" - drma_interval: "60" - echo_interval: "30" - fake_ap_log: "1" - ipsec_intf_cleanup: "120" - radio_stats_interval: "15" - rogue_ap_cleanup: "0" - rogue_ap_log: "0" - sta_capability_interval: "30" - sta_locate_timer: "1800" - sta_stats_interval: "1" - vap_stats_interval: "15" - + auth_timeout: "5" + ble_scan_report_intv: "30" + client_idle_rehome_timeout: "20" + client_idle_timeout: "300" + darrp_day: "sunday" + darrp_optimize: "43200" + darrp_time: + - + time: "" + discovery_interval: "5" + drma_interval: "60" + echo_interval: "30" + fake_ap_log: "1" + ipsec_intf_cleanup: "120" + radio_stats_interval: "15" + rogue_ap_cleanup: "0" + rogue_ap_log: "0" + sta_capability_interval: "30" + sta_locate_timer: "1800" + sta_stats_interval: "1" + vap_stats_interval: "15" """ RETURN = """ @@ -268,7 +257,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -361,7 +349,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "timers") if data["wireless_controller_timers"]: resp = wireless_controller_timers(data, fos) @@ -380,534 +367,37 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "echo_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "discovery_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "client_idle_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "client_idle_rehome_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "auth_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "rogue_ap_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fake_ap_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "rogue_ap_cleanup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "sta_stats_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vap_stats_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "radio_stats_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sta_capability_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sta_locate_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ipsec_intf_cleanup": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ble_scan_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "drma_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "darrp_optimize": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "integer", - }, + "echo_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "discovery_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "client_idle_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "client_idle_rehome_timeout": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "auth_timeout": {"v_range": [["v7.0.6", ""]], "type": "integer"}, + "rogue_ap_log": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fake_ap_log": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "rogue_ap_cleanup": {"v_range": [["v7.0.6", ""]], "type": "integer"}, + "sta_stats_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vap_stats_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "radio_stats_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sta_capability_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sta_locate_timer": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ipsec_intf_cleanup": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ble_scan_report_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "drma_interval": {"v_range": [["v6.4.4", ""]], "type": "integer"}, + "darrp_optimize": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "integer"}, "darrp_day": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "sunday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "tuesday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "wednesday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "thursday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "friday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "saturday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], }, "darrp_time": { @@ -915,12 +405,12 @@ versioned_schema = { "elements": "dict", "children": { "time": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "required": True, } }, - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], }, }, } @@ -958,6 +448,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_utm_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_utm_profile.py index 1de1e5ce2..a630c1dbe 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_utm_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_utm_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -131,31 +131,20 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure UTM (Unified Threat Management) profile. - fortios_wireless_controller_utm_profile: - vdom: "{{ vdom }}" +- name: Configure UTM (Unified Threat Management) profile. + fortinet.fortios.fortios_wireless_controller_utm_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_utm_profile: - antivirus_profile: " (source antivirus.profile.name)" - application_list: " (source application.list.name)" - comment: "Comment." - ips_sensor: " (source ips.sensor.name)" - name: "default_name_7" - scan_botnet_connections: "disable" - utm_log: "enable" - webfilter_profile: " (source webfilter.profile.name)" - + antivirus_profile: " (source antivirus.profile.name)" + application_list: " (source application.list.name)" + comment: "Comment." + ips_sensor: " (source ips.sensor.name)" + name: "default_name_7" + scan_botnet_connections: "disable" + utm_log: "enable" + webfilter_profile: " (source webfilter.profile.name)" """ RETURN = """ @@ -214,7 +203,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -242,6 +230,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_utm_profile_data(json): @@ -280,7 +271,6 @@ def underscore_to_hyphen(data): def wireless_controller_utm_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -322,11 +312,16 @@ def wireless_controller_utm_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -378,7 +373,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "utm-profile") if data["wireless_controller_utm_profile"]: resp = wireless_controller_utm_profile(data, fos, check_mode) @@ -386,7 +380,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_utm_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -401,415 +395,24 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "utm_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "antivirus_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ips_sensor": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "application_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "antivirus_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "webfilter_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "scan_botnet_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "monitor"}, {"value": "block"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -846,6 +449,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap.py index c3d5de931..a93e9e4d0 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -154,9 +154,9 @@ options: - Authentication protocol. type: str choices: - - 'psk' - 'radius' - 'usergroup' + - 'psk' auth_cert: description: - HTTPS server certificate. Source vpn.certificate.local.name. @@ -577,7 +577,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int mac: @@ -954,14 +954,6 @@ options: type: list elements: str choices: - - '1' - - '1-basic' - - '2' - - '2-basic' - - '5.5' - - '5.5-basic' - - '11' - - '11-basic' - '6' - '6-basic' - '9' @@ -978,6 +970,14 @@ options: - '48-basic' - '54' - '54-basic' + - '1' + - '1-basic' + - '2' + - '2-basic' + - '5.5' + - '5.5-basic' + - '11' + - '11-basic' rates_11ac_mcs_map: description: - Comma separated list of max supported VHT MCS for spatial streams 1 through 8. @@ -1112,14 +1112,6 @@ options: type: list elements: str choices: - - '1' - - '1-basic' - - '2' - - '2-basic' - - '5.5' - - '5.5-basic' - - '11' - - '11-basic' - '6' - '6-basic' - '9' @@ -1136,6 +1128,14 @@ options: - '48-basic' - '54' - '54-basic' + - '1' + - '1-basic' + - '2' + - '2-basic' + - '5.5' + - '5.5-basic' + - '11' + - '11-basic' rates_11n_ss12: description: - Allowed data rates for 802.11n with 1 or 2 spatial streams. @@ -1405,8 +1405,9 @@ options: type: str vlan_id: description: - - VLAN ID. - type: int + - VLAN IDs (maximum 8 VLAN IDs). + type: list + elements: int vlan_pool: description: - VLAN pool. @@ -1415,7 +1416,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int wtp_group: @@ -1450,229 +1451,218 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Virtual Access Points (VAPs). - fortios_wireless_controller_vap: - vdom: "{{ vdom }}" +- name: Configure Virtual Access Points (VAPs). + fortinet.fortios.fortios_wireless_controller_vap: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_vap: - access_control_list: " (source wireless-controller.access-control-list.name)" - acct_interim_interval: "43200" - additional_akms: "akm6" - address_group: " (source firewall.addrgrp.name)" - address_group_policy: "disable" - alias: "" - antivirus_profile: " (source antivirus.profile.name)" - application_detection_engine: "enable" - application_dscp_marking: "enable" - application_list: " (source application.list.name)" - application_report_intv: "120" - atf_weight: "20" - auth: "psk" - auth_cert: " (source vpn.certificate.local.name)" - auth_portal_addr: "" - beacon_advertising: "name" - broadcast_ssid: "enable" - broadcast_suppression: "dhcp-up" - bss_color_partial: "enable" - bstm_disassociation_imminent: "enable" - bstm_load_balancing_disassoc_timer: "10" - bstm_rssi_disassoc_timer: "200" - captive_portal_ac_name: "" - captive_portal_auth_timeout: "0" - captive_portal_fw_accounting: "enable" - captive_portal_macauth_radius_secret: "" - captive_portal_macauth_radius_server: "" - captive_portal_radius_secret: "" - captive_portal_radius_server: "" - captive_portal_session_timeout_interval: "432000" - dhcp_address_enforcement: "enable" - dhcp_lease_time: "2400" - dhcp_option43_insertion: "enable" - dhcp_option82_circuit_id_insertion: "style-1" - dhcp_option82_insertion: "enable" - dhcp_option82_remote_id_insertion: "style-1" - dynamic_vlan: "enable" - eap_reauth: "enable" - eap_reauth_intv: "86400" - eapol_key_retries: "disable" - encrypt: "TKIP" - external_fast_roaming: "enable" - external_logout: "" - external_web: "" - external_web_format: "auto-detect" - fast_bss_transition: "disable" - fast_roaming: "enable" - ft_mobility_domain: "1000" - ft_over_ds: "disable" - ft_r0_key_lifetime: "480" - gas_comeback_delay: "500" - gas_fragmentation_limit: "1024" - gtk_rekey: "enable" - gtk_rekey_intv: "86400" - high_efficiency: "enable" - hotspot20_profile: " (source wireless-controller.hotspot20.hs-profile.name)" - igmp_snooping: "enable" - intra_vap_privacy: "enable" - ip: "" - ips_sensor: " (source ips.sensor.name)" - ipv6_rules: "drop-icmp6ra" - key: "" - keyindex: "1" - l3_roaming: "enable" - l3_roaming_mode: "direct" - ldpc: "disable" - local_authentication: "enable" - local_bridging: "enable" - local_lan: "allow" - local_standalone: "enable" - local_standalone_dns: "enable" - local_standalone_dns_ip: "" - local_standalone_nat: "enable" - mac_auth_bypass: "enable" - mac_called_station_delimiter: "hyphen" - mac_calling_station_delimiter: "hyphen" - mac_case: "uppercase" - mac_filter: "enable" - mac_filter_list: - - - id: "82" - mac: "" - mac_filter_policy: "allow" - mac_filter_policy_other: "allow" - mac_password_delimiter: "hyphen" - mac_username_delimiter: "hyphen" - max_clients: "0" - max_clients_ap: "0" - mbo: "disable" - mbo_cell_data_conn_pref: "excluded" - me_disable_thresh: "32" - mesh_backhaul: "enable" - mpsk: "enable" - mpsk_concurrent_clients: "32767" - mpsk_key: - - - comment: "Comment." - concurrent_clients: "" - key_name: "" - mpsk_schedules: - - - name: "default_name_101 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" - passphrase: "" - mpsk_profile: " (source wireless-controller.mpsk-profile.name)" - mu_mimo: "enable" - multicast_enhance: "enable" - multicast_rate: "0" - nac: "enable" - nac_profile: " (source wireless-controller.nac-profile.name)" - name: "default_name_109" - neighbor_report_dual_band: "disable" - okc: "disable" - osen: "enable" - owe_groups: "19" - owe_transition: "disable" - owe_transition_ssid: "" - passphrase: "" - pmf: "disable" - pmf_assoc_comeback_timeout: "1" - pmf_sa_query_retry_timeout: "2" - port_macauth: "disable" - port_macauth_reauth_timeout: "7200" - port_macauth_timeout: "600" - portal_message_override_group: " (source system.replacemsg-group.name)" - portal_message_overrides: - auth_disclaimer_page: "" - auth_login_failed_page: "" - auth_login_page: "" - auth_reject_page: "" - portal_type: "auth" - primary_wag_profile: " (source wireless-controller.wag-profile.name)" - probe_resp_suppression: "enable" - probe_resp_threshold: "" - ptk_rekey: "enable" - ptk_rekey_intv: "86400" - qos_profile: " (source wireless-controller.qos-profile.name)" - quarantine: "enable" - radio_2g_threshold: "" - radio_5g_threshold: "" - radio_sensitivity: "enable" - radius_mac_auth: "enable" - radius_mac_auth_block_interval: "0" - radius_mac_auth_server: " (source user.radius.name)" - radius_mac_auth_usergroups: - - - name: "default_name_144" - radius_mac_mpsk_auth: "enable" - radius_mac_mpsk_timeout: "86400" - radius_server: " (source user.radius.name)" - rates_11a: "1" - rates_11ac_mcs_map: "" - rates_11ac_ss12: "mcs0/1" - rates_11ac_ss34: "mcs0/3" - rates_11ax_mcs_map: "" - rates_11ax_ss12: "mcs0/1" - rates_11ax_ss34: "mcs0/3" - rates_11bg: "1" - rates_11n_ss12: "mcs0/1" - rates_11n_ss34: "mcs16/3" - sae_groups: "19" - sae_h2e_only: "enable" - sae_password: "" - sae_pk: "enable" - sae_private_key: "" - scan_botnet_connections: "disable" - schedule: - - - name: "default_name_165 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" - secondary_wag_profile: " (source wireless-controller.wag-profile.name)" - security: "open" - security_exempt_list: " (source user.security-exempt-list.name)" - security_obsolete_option: "enable" - security_redirect_url: "" - selected_usergroups: - - - name: "default_name_172 (source user.group.name)" - split_tunneling: "enable" - ssid: "" - sticky_client_remove: "enable" - sticky_client_threshold_2g: "" - sticky_client_threshold_5g: "" - sticky_client_threshold_6g: "" - target_wake_time: "enable" - tkip_counter_measure: "enable" - tunnel_echo_interval: "300" - tunnel_fallback_interval: "7200" - usergroup: - - - name: "default_name_184 (source user.group.name)" - utm_log: "enable" - utm_profile: " (source wireless-controller.utm-profile.name)" - utm_status: "enable" - vdom: " (source system.vdom.name)" - vlan_auto: "enable" - vlan_name: - - - name: "default_name_191" - vlan_id: "0" - vlan_pool: - - - id: "194" - wtp_group: " (source wireless-controller.wtp-group.name)" - vlan_pooling: "wtp-group" - vlanid: "0" - voice_enterprise: "disable" - webfilter_profile: " (source webfilter.profile.name)" - + access_control_list: " (source wireless-controller.access-control-list.name)" + acct_interim_interval: "43200" + additional_akms: "akm6" + address_group: " (source firewall.addrgrp.name)" + address_group_policy: "disable" + alias: "" + antivirus_profile: " (source antivirus.profile.name)" + application_detection_engine: "enable" + application_dscp_marking: "enable" + application_list: " (source application.list.name)" + application_report_intv: "120" + atf_weight: "20" + auth: "radius" + auth_cert: " (source vpn.certificate.local.name)" + auth_portal_addr: "" + beacon_advertising: "name" + broadcast_ssid: "enable" + broadcast_suppression: "dhcp-up" + bss_color_partial: "enable" + bstm_disassociation_imminent: "enable" + bstm_load_balancing_disassoc_timer: "10" + bstm_rssi_disassoc_timer: "200" + captive_portal_ac_name: "" + captive_portal_auth_timeout: "0" + captive_portal_fw_accounting: "enable" + captive_portal_macauth_radius_secret: "" + captive_portal_macauth_radius_server: "" + captive_portal_radius_secret: "" + captive_portal_radius_server: "" + captive_portal_session_timeout_interval: "432000" + dhcp_address_enforcement: "enable" + dhcp_lease_time: "2400" + dhcp_option43_insertion: "enable" + dhcp_option82_circuit_id_insertion: "style-1" + dhcp_option82_insertion: "enable" + dhcp_option82_remote_id_insertion: "style-1" + dynamic_vlan: "enable" + eap_reauth: "enable" + eap_reauth_intv: "86400" + eapol_key_retries: "disable" + encrypt: "TKIP" + external_fast_roaming: "enable" + external_logout: "" + external_web: "" + external_web_format: "auto-detect" + fast_bss_transition: "disable" + fast_roaming: "enable" + ft_mobility_domain: "1000" + ft_over_ds: "disable" + ft_r0_key_lifetime: "480" + gas_comeback_delay: "500" + gas_fragmentation_limit: "1024" + gtk_rekey: "enable" + gtk_rekey_intv: "86400" + high_efficiency: "enable" + hotspot20_profile: " (source wireless-controller.hotspot20.hs-profile.name)" + igmp_snooping: "enable" + intra_vap_privacy: "enable" + ip: "" + ips_sensor: " (source ips.sensor.name)" + ipv6_rules: "drop-icmp6ra" + key: "" + keyindex: "1" + l3_roaming: "enable" + l3_roaming_mode: "direct" + ldpc: "disable" + local_authentication: "enable" + local_bridging: "enable" + local_lan: "allow" + local_standalone: "enable" + local_standalone_dns: "enable" + local_standalone_dns_ip: "" + local_standalone_nat: "enable" + mac_auth_bypass: "enable" + mac_called_station_delimiter: "hyphen" + mac_calling_station_delimiter: "hyphen" + mac_case: "uppercase" + mac_filter: "enable" + mac_filter_list: + - + id: "82" + mac: "" + mac_filter_policy: "allow" + mac_filter_policy_other: "allow" + mac_password_delimiter: "hyphen" + mac_username_delimiter: "hyphen" + max_clients: "0" + max_clients_ap: "0" + mbo: "disable" + mbo_cell_data_conn_pref: "excluded" + me_disable_thresh: "32" + mesh_backhaul: "enable" + mpsk: "enable" + mpsk_concurrent_clients: "32767" + mpsk_key: + - + comment: "Comment." + concurrent_clients: "" + key_name: "" + mpsk_schedules: + - + name: "default_name_101 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" + passphrase: "" + mpsk_profile: " (source wireless-controller.mpsk-profile.name)" + mu_mimo: "enable" + multicast_enhance: "enable" + multicast_rate: "0" + nac: "enable" + nac_profile: " (source wireless-controller.nac-profile.name)" + name: "default_name_109" + neighbor_report_dual_band: "disable" + okc: "disable" + osen: "enable" + owe_groups: "19" + owe_transition: "disable" + owe_transition_ssid: "" + passphrase: "" + pmf: "disable" + pmf_assoc_comeback_timeout: "1" + pmf_sa_query_retry_timeout: "2" + port_macauth: "disable" + port_macauth_reauth_timeout: "7200" + port_macauth_timeout: "600" + portal_message_override_group: " (source system.replacemsg-group.name)" + portal_message_overrides: + auth_disclaimer_page: "" + auth_login_failed_page: "" + auth_login_page: "" + auth_reject_page: "" + portal_type: "auth" + primary_wag_profile: " (source wireless-controller.wag-profile.name)" + probe_resp_suppression: "enable" + probe_resp_threshold: "" + ptk_rekey: "enable" + ptk_rekey_intv: "86400" + qos_profile: " (source wireless-controller.qos-profile.name)" + quarantine: "enable" + radio_2g_threshold: "" + radio_5g_threshold: "" + radio_sensitivity: "enable" + radius_mac_auth: "enable" + radius_mac_auth_block_interval: "0" + radius_mac_auth_server: " (source user.radius.name)" + radius_mac_auth_usergroups: + - + name: "default_name_144" + radius_mac_mpsk_auth: "enable" + radius_mac_mpsk_timeout: "86400" + radius_server: " (source user.radius.name)" + rates_11a: "6" + rates_11ac_mcs_map: "" + rates_11ac_ss12: "mcs0/1" + rates_11ac_ss34: "mcs0/3" + rates_11ax_mcs_map: "" + rates_11ax_ss12: "mcs0/1" + rates_11ax_ss34: "mcs0/3" + rates_11bg: "6" + rates_11n_ss12: "mcs0/1" + rates_11n_ss34: "mcs16/3" + sae_groups: "19" + sae_h2e_only: "enable" + sae_password: "" + sae_pk: "enable" + sae_private_key: "" + scan_botnet_connections: "disable" + schedule: + - + name: "default_name_165 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" + secondary_wag_profile: " (source wireless-controller.wag-profile.name)" + security: "open" + security_exempt_list: " (source user.security-exempt-list.name)" + security_obsolete_option: "enable" + security_redirect_url: "" + selected_usergroups: + - + name: "default_name_172 (source user.group.name)" + split_tunneling: "enable" + ssid: "" + sticky_client_remove: "enable" + sticky_client_threshold_2g: "" + sticky_client_threshold_5g: "" + sticky_client_threshold_6g: "" + target_wake_time: "enable" + tkip_counter_measure: "enable" + tunnel_echo_interval: "300" + tunnel_fallback_interval: "7200" + usergroup: + - + name: "default_name_184 (source user.group.name)" + utm_log: "enable" + utm_profile: " (source wireless-controller.utm-profile.name)" + utm_status: "enable" + vdom: " (source system.vdom.name)" + vlan_auto: "enable" + vlan_name: + - + name: "default_name_191" + vlan_id: "" + vlan_pool: + - + id: "194" + wtp_group: " (source wireless-controller.wtp-group.name)" + vlan_pooling: "wtp-group" + vlanid: "0" + voice_enterprise: "disable" + webfilter_profile: " (source webfilter.profile.name)" """ RETURN = """ @@ -1731,7 +1721,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1759,6 +1748,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_vap_data(json): @@ -1977,6 +1969,7 @@ def flatten_multilists_attributes(data): ["local_standalone_dns_ip"], ["broadcast_suppression"], ["ipv6_rules"], + ["vlan_name", "vlan_id"], ["rates_11a"], ["rates_11bg"], ["rates_11n_ss12"], @@ -2008,7 +2001,6 @@ def underscore_to_hyphen(data): def wireless_controller_vap(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -2047,11 +2039,16 @@ def wireless_controller_vap(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -2101,13 +2098,12 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "vap") if data["wireless_controller_vap"]: resp = wireless_controller_vap(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("wireless_controller_vap")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -2122,5267 +2118,367 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "fast_roaming": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "external_fast_roaming": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mesh_backhaul": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "atf_weight": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "max_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_clients_ap": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "atf_weight": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "max_clients": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_clients_ap": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "broadcast_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "security": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "captive-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wep64", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wep128", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa-personal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa-personal+captive-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa-only-personal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa-only-personal+captive-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa-only-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa2-only-personal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa2-only-personal+captive-portal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa2-only-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wpa3-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "wpa3-only-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "wpa3-enterprise-transition", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "wpa3-sae", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "wpa3-sae-transition", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "owe", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "osen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "open"}, + {"value": "captive-portal"}, + {"value": "wep64"}, + {"value": "wep128"}, + {"value": "wpa-personal"}, + {"value": "wpa-personal+captive-portal"}, + {"value": "wpa-enterprise"}, + {"value": "wpa-only-personal"}, + {"value": "wpa-only-personal+captive-portal"}, + {"value": "wpa-only-enterprise"}, + {"value": "wpa2-only-personal"}, + {"value": "wpa2-only-personal+captive-portal"}, + {"value": "wpa2-only-enterprise"}, + {"value": "wpa3-enterprise", "v_range": [["v6.2.0", ""]]}, + {"value": "wpa3-only-enterprise", "v_range": [["v7.0.0", ""]]}, + {"value": "wpa3-enterprise-transition", "v_range": [["v7.0.0", ""]]}, + {"value": "wpa3-sae", "v_range": [["v6.2.0", ""]]}, + {"value": "wpa3-sae-transition", "v_range": [["v6.2.0", ""]]}, + {"value": "owe", "v_range": [["v6.2.0", ""]]}, + {"value": "osen"}, ], }, "pmf": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "optional", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "enable"}, + {"value": "optional"}, ], }, - "pmf_assoc_comeback_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "pmf_sa_query_retry_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "pmf_assoc_comeback_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "pmf_sa_query_retry_timeout": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "okc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "mbo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "gas_comeback_delay": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "gas_fragmentation_limit": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "gas_comeback_delay": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "gas_fragmentation_limit": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "mbo_cell_data_conn_pref": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "excluded", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "prefer-not", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "prefer-use", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "excluded"}, + {"value": "prefer-not"}, + {"value": "prefer-use"}, ], }, "voice_enterprise": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "neighbor_report_dual_band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "fast_bss_transition": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ft_mobility_domain": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ft_r0_key_lifetime": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "ft_mobility_domain": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ft_r0_key_lifetime": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ft_over_ds": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "sae_groups": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - {"value": "1", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "2", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "5", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "14", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "15", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "16", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "17", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "18", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "27", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "28", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "29", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "30", "revisions": {"v6.2.3": True, "v6.2.0": False}}, - {"value": "31", "revisions": {"v6.2.3": True, "v6.2.0": False}}, + {"value": "19"}, + {"value": "20"}, + {"value": "21"}, + {"value": "1", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "2", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "5", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "14", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "15", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "16", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "17", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "18", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "27", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "28", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "29", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "30", "v_range": [["v6.2.3", "v6.2.3"]]}, + {"value": "31", "v_range": [["v6.2.3", "v6.2.3"]]}, ], "multiple_values": True, "elements": "str", }, "owe_groups": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "list", - "options": [ - { - "value": "19", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "20", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "21", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "19"}, {"value": "20"}, {"value": "21"}], "multiple_values": True, "elements": "str", }, "owe_transition": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "owe_transition_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, + "owe_transition_ssid": {"v_range": [["v6.2.0", ""]], "type": "string"}, "additional_akms": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "list", - "options": [ - { - "value": "akm6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - } - ], + "options": [{"value": "akm6"}], "multiple_values": True, "elements": "str", }, "eapol_key_retries": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "tkip_counter_measure": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "external_web": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "external_web_format": { + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "auto-detect"}, + {"value": "no-query-string"}, + {"value": "partial-query-string"}, ], }, - "external_web": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "external_logout": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "mac_username_delimiter": { + "v_range": [["v7.0.0", ""]], "type": "string", - }, - "external_web_format": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto-detect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "no-query-string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "partial-query-string", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "external_logout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mac_username_delimiter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "single-hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "colon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [ + {"value": "hyphen"}, + {"value": "single-hyphen"}, + {"value": "colon"}, + {"value": "none"}, + ], }, "mac_password_delimiter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "single-hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "colon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "hyphen"}, + {"value": "single-hyphen"}, + {"value": "colon"}, + {"value": "none"}, ], }, "mac_calling_station_delimiter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "single-hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "colon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "hyphen"}, + {"value": "single-hyphen"}, + {"value": "colon"}, + {"value": "none"}, ], }, "mac_called_station_delimiter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "single-hyphen", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "colon", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "hyphen"}, + {"value": "single-hyphen"}, + {"value": "colon"}, + {"value": "none"}, ], }, "mac_case": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "uppercase", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "lowercase", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "uppercase"}, {"value": "lowercase"}], }, "mac_auth_bypass": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "radius_mac_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "radius_mac_auth_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "radius_mac_auth_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "radius_mac_auth_block_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.4", ""]], "type": "integer", }, "radius_mac_mpsk_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "radius_mac_mpsk_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "radius_mac_mpsk_timeout": {"v_range": [["v7.0.2", ""]], "type": "integer"}, "radius_mac_auth_usergroups": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "psk", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "radius", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "usergroup", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "radius"}, + {"value": "usergroup"}, + {"value": "psk", "v_range": [["v6.0.0", "v7.4.0"]]}, ], }, "encrypt": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "TKIP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TKIP-AES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "keyindex": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "passphrase": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "sae_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "TKIP"}, {"value": "AES"}, {"value": "TKIP-AES"}], }, + "keyindex": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "key": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "passphrase": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "sae_password": {"v_range": [["v6.2.0", ""]], "type": "string"}, "sae_h2e_only": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sae_pk": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.0.8": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "sae_private_key": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "radius_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, + "radius_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "local_standalone": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_standalone_nat": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "dhcp_lease_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "dhcp_lease_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "local_standalone_dns": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_standalone_dns_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "list", "multiple_values": True, "elements": "str", }, "local_bridging": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "local_lan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "allow"}, {"value": "deny"}], }, "local_authentication": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "usergroup": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "portal_message_override_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "portal_message_overrides": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { - "auth_disclaimer_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_reject_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_login_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "auth_disclaimer_page": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_reject_page": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_login_page": {"v_range": [["v6.0.0", ""]], "type": "string"}, "auth_login_failed_page": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, }, }, "portal_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth+disclaimer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disclaimer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "email-collect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cmcc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "cmcc-macauth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "auth-mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "external-auth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "external-macauth", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "auth"}, + {"value": "auth+disclaimer"}, + {"value": "disclaimer"}, + {"value": "email-collect"}, + {"value": "cmcc"}, + {"value": "cmcc-macauth"}, + {"value": "auth-mac"}, + {"value": "external-auth", "v_range": [["v6.2.0", ""]]}, + {"value": "external-macauth", "v_range": [["v7.0.0", ""]]}, ], }, "selected_usergroups": { @@ -7390,3099 +2486,217 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "security_exempt_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "security_redirect_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "auth_cert": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "auth_portal_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", + "v_range": [["v6.0.0", ""]], }, + "security_exempt_list": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "security_redirect_url": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "auth_cert": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "auth_portal_addr": {"v_range": [["v7.0.4", ""]], "type": "string"}, "intra_vap_privacy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "schedule": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "ldpc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "tx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "rxtx", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "disable"}, + {"value": "rx"}, + {"value": "tx"}, + {"value": "rxtx"}, ], }, "high_efficiency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "target_wake_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "port_macauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "radius", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "address-group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "disable"}, + {"value": "radius"}, + {"value": "address-group"}, ], }, - "port_macauth_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "port_macauth_reauth_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "port_macauth_timeout": {"v_range": [["v6.4.4", ""]], "type": "integer"}, + "port_macauth_reauth_timeout": {"v_range": [["v6.4.4", ""]], "type": "integer"}, "bss_color_partial": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mpsk_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, "split_tunneling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "nac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "nac_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "vlanid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "nac_profile": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "vlanid": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "vlan_auto": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dynamic_vlan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "captive_portal_fw_accounting": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - {"value": "disable", "revisions": {"v7.4.0": True, "v7.2.4": True}}, - ], - }, - "captive_portal_ac_name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.2.4", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "captive_portal_auth_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "captive_portal_ac_name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "captive_portal_auth_timeout": {"v_range": [["v6.4.0", ""]], "type": "integer"}, "multicast_rate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6000", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12000", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24000", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "0"}, + {"value": "6000"}, + {"value": "12000"}, + {"value": "24000"}, ], }, "multicast_enhance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "igmp_snooping": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_address_enforcement": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "broadcast_suppression": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "dhcp-up", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp-down", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp-starvation", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dhcp-ucast", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "arp-known", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "arp-unknown", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "arp-reply", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "arp-poison", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "arp-proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "netbios-ns", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "netbios-ds", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipv6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "all-other-mc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "all-other-bc", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "dhcp-up"}, + {"value": "dhcp-down"}, + {"value": "dhcp-starvation"}, + {"value": "dhcp-ucast", "v_range": [["v6.2.0", ""]]}, + {"value": "arp-known"}, + {"value": "arp-unknown"}, + {"value": "arp-reply"}, + {"value": "arp-poison"}, + {"value": "arp-proxy"}, + {"value": "netbios-ns"}, + {"value": "netbios-ds"}, + {"value": "ipv6"}, + {"value": "all-other-mc"}, + {"value": "all-other-bc"}, ], "multiple_values": True, "elements": "str", }, "ipv6_rules": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "list", "options": [ - { - "value": "drop-icmp6ra", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "drop-icmp6rs", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "drop-llmnr6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "drop-icmp6mld2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "drop-dhcp6s", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "drop-dhcp6c", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "ndp-proxy", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "drop-ns-dad", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "drop-ns-nondad", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, + {"value": "drop-icmp6ra"}, + {"value": "drop-icmp6rs"}, + {"value": "drop-llmnr6"}, + {"value": "drop-icmp6mld2"}, + {"value": "drop-dhcp6s"}, + {"value": "drop-dhcp6c"}, + {"value": "ndp-proxy"}, + {"value": "drop-ns-dad"}, + {"value": "drop-ns-nondad"}, ], "multiple_values": True, "elements": "str", }, - "me_disable_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "me_disable_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "mu_mimo": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "probe_resp_suppression": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "probe_resp_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "probe_resp_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, "radio_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "quarantine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "radio_5g_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "radio_2g_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "radio_5g_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "radio_2g_threshold": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vlan_name": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, + "v_range": [["v7.0.4", ""]], "type": "string", "required": True, }, "vlan_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - }, - "type": "integer", + "v_range": [["v7.0.4", ""]], + "type": "list", + "multiple_values": True, + "elements": "int", }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.4", ""]], }, "vlan_pooling": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "wtp-group", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "round-robin", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "hash", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "wtp-group"}, + {"value": "round-robin"}, + {"value": "hash"}, + {"value": "disable"}, ], }, "vlan_pool": { @@ -10490,7032 +2704,425 @@ versioned_schema = { "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "wtp_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "wtp_group": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "dhcp_option43_insertion": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_option82_insertion": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "dhcp_option82_circuit_id_insertion": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "style-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "style-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "style-3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "style-1"}, + {"value": "style-2"}, + {"value": "style-3", "v_range": [["v6.4.0", ""]]}, + {"value": "disable"}, ], }, "dhcp_option82_remote_id_insertion": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "style-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "style-1"}, {"value": "disable"}], }, "ptk_rekey": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ptk_rekey_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ptk_rekey_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "gtk_rekey": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "gtk_rekey_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "gtk_rekey_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "eap_reauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eap_reauth_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "qos_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "hotspot20_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "access_control_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "primary_wag_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "secondary_wag_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "tunnel_echo_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "tunnel_fallback_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "eap_reauth_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "qos_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "hotspot20_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "access_control_list": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "primary_wag_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "secondary_wag_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "tunnel_echo_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "tunnel_fallback_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, "rates_11a": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5.5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5.5-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "9", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "9-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "36", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "36-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "48", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "48-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "54", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "54-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "6"}, + {"value": "6-basic"}, + {"value": "9"}, + {"value": "9-basic"}, + {"value": "12"}, + {"value": "12-basic"}, + {"value": "18"}, + {"value": "18-basic"}, + {"value": "24"}, + {"value": "24-basic"}, + {"value": "36"}, + {"value": "36-basic"}, + {"value": "48"}, + {"value": "48-basic"}, + {"value": "54"}, + {"value": "54-basic"}, + {"value": "1", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "1-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "2", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "2-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "5.5", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "5.5-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "11", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "11-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, ], "multiple_values": True, "elements": "str", }, "rates_11bg": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "1-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "2-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5.5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "5.5-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "6-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "9", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "9-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "12-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "18-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "36", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "36-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "48", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "48-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "54", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "54-basic", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "6"}, + {"value": "6-basic"}, + {"value": "9"}, + {"value": "9-basic"}, + {"value": "12"}, + {"value": "12-basic"}, + {"value": "18"}, + {"value": "18-basic"}, + {"value": "24"}, + {"value": "24-basic"}, + {"value": "36"}, + {"value": "36-basic"}, + {"value": "48"}, + {"value": "48-basic"}, + {"value": "54"}, + {"value": "54-basic"}, + {"value": "1", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "1-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "2", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "2-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "5.5", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "5.5-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "11", "v_range": [["v6.0.0", "v7.4.0"]]}, + {"value": "11-basic", "v_range": [["v6.0.0", "v7.4.0"]]}, ], "multiple_values": True, "elements": "str", }, "rates_11n_ss12": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "mcs0/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs1/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs2/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs3/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs4/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs5/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs6/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs7/1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs8/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs9/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs10/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs11/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs12/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs13/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs14/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs15/2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "mcs0/1"}, + {"value": "mcs1/1"}, + {"value": "mcs2/1"}, + {"value": "mcs3/1"}, + {"value": "mcs4/1"}, + {"value": "mcs5/1"}, + {"value": "mcs6/1"}, + {"value": "mcs7/1"}, + {"value": "mcs8/2"}, + {"value": "mcs9/2"}, + {"value": "mcs10/2"}, + {"value": "mcs11/2"}, + {"value": "mcs12/2"}, + {"value": "mcs13/2"}, + {"value": "mcs14/2"}, + {"value": "mcs15/2"}, ], "multiple_values": True, "elements": "str", }, "rates_11n_ss34": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "mcs16/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs17/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs18/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs19/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs20/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs21/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs22/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs23/3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs24/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs25/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs26/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs27/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs28/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs29/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs30/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs31/4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "mcs16/3"}, + {"value": "mcs17/3"}, + {"value": "mcs18/3"}, + {"value": "mcs19/3"}, + {"value": "mcs20/3"}, + {"value": "mcs21/3"}, + {"value": "mcs22/3"}, + {"value": "mcs23/3"}, + {"value": "mcs24/4"}, + {"value": "mcs25/4"}, + {"value": "mcs26/4"}, + {"value": "mcs27/4"}, + {"value": "mcs28/4"}, + {"value": "mcs29/4"}, + {"value": "mcs30/4"}, + {"value": "mcs31/4"}, ], "multiple_values": True, "elements": "str", }, - "rates_11ac_mcs_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "rates_11ax_mcs_map": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "utm_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "rates_11ac_mcs_map": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "rates_11ax_mcs_map": {"v_range": [["v7.2.1", ""]], "type": "string"}, + "utm_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, "utm_status": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "utm_log": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "ips_sensor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "application_list": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "antivirus_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "webfilter_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ips_sensor": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "application_list": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "antivirus_profile": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "webfilter_profile": {"v_range": [["v7.0.1", ""]], "type": "string"}, "scan_botnet_connections": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "block", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "address_group": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "monitor"}, {"value": "block"}], }, + "address_group": {"v_range": [["v6.2.0", ""]], "type": "string"}, "address_group_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], - }, - "mac_filter": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mac_filter_policy_other": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "mac_filter_list": { - "type": "list", - "elements": "dict", - "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "mac_filter_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "allow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "deny", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "options": [{"value": "disable"}, {"value": "allow"}, {"value": "deny"}], }, "sticky_client_remove": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "sticky_client_threshold_5g": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sticky_client_threshold_2g": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "sticky_client_threshold_5g": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "sticky_client_threshold_2g": {"v_range": [["v6.4.0", ""]], "type": "string"}, "sticky_client_threshold_6g": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], "type": "string", }, - "bstm_rssi_disassoc_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, + "bstm_rssi_disassoc_timer": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "bstm_load_balancing_disassoc_timer": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "integer", }, "bstm_disassociation_imminent": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "beacon_advertising": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "list", "options": [ - { - "value": "name", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "model", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "serial-number", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "name"}, + {"value": "model"}, + {"value": "serial-number"}, ], "multiple_values": True, "elements": "str", }, "osen": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "application_detection_engine": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "application_dscp_marking": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - "application_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "l3_roaming": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - }, - }, - ], + "v_range": [["v7.2.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "application_report_intv": {"v_range": [["v7.2.0", ""]], "type": "integer"}, + "l3_roaming": { + "v_range": [["v7.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "l3_roaming_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "direct", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "options": [{"value": "direct"}, {"value": "indirect"}], + }, + "mac_filter": { + "v_range": [["v6.0.0", "v7.4.0"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "mac_filter_policy_other": { + "v_range": [["v6.0.0", "v7.4.0"]], + "type": "string", + "options": [{"value": "allow"}, {"value": "deny"}], + }, + "mac_filter_list": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v6.0.0", "v7.4.0"]], + "type": "integer", + "required": True, }, - { - "value": "indirect", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, + "mac": {"v_range": [["v6.0.0", "v7.4.0"]], "type": "string"}, + "mac_filter_policy": { + "v_range": [["v6.0.0", "v7.4.0"]], + "type": "string", + "options": [{"value": "allow"}, {"value": "deny"}], }, - ], + }, + "v_range": [["v6.0.0", "v7.4.0"]], }, "rates_11ac_ss12": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "list", "options": [ - { - "value": "mcs0/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs1/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs2/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs3/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs4/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs5/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs6/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs7/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs8/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs9/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs10/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs11/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs0/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs1/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs2/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs3/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs4/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs5/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs6/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs7/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs8/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs9/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs10/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs11/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "mcs0/1"}, + {"value": "mcs1/1"}, + {"value": "mcs2/1"}, + {"value": "mcs3/1"}, + {"value": "mcs4/1"}, + {"value": "mcs5/1"}, + {"value": "mcs6/1"}, + {"value": "mcs7/1"}, + {"value": "mcs8/1"}, + {"value": "mcs9/1"}, + {"value": "mcs10/1"}, + {"value": "mcs11/1"}, + {"value": "mcs0/2"}, + {"value": "mcs1/2"}, + {"value": "mcs2/2"}, + {"value": "mcs3/2"}, + {"value": "mcs4/2"}, + {"value": "mcs5/2"}, + {"value": "mcs6/2"}, + {"value": "mcs7/2"}, + {"value": "mcs8/2"}, + {"value": "mcs9/2"}, + {"value": "mcs10/2"}, + {"value": "mcs11/2"}, ], "multiple_values": True, "elements": "str", }, "rates_11ac_ss34": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.2.0"]], "type": "list", "options": [ - { - "value": "mcs0/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs1/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs2/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs3/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs4/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs5/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs6/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs7/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs8/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs9/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs10/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs11/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs0/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs1/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs2/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs3/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs4/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs5/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs6/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs7/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs8/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs9/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs10/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "mcs11/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "mcs0/3"}, + {"value": "mcs1/3"}, + {"value": "mcs2/3"}, + {"value": "mcs3/3"}, + {"value": "mcs4/3"}, + {"value": "mcs5/3"}, + {"value": "mcs6/3"}, + {"value": "mcs7/3"}, + {"value": "mcs8/3"}, + {"value": "mcs9/3"}, + {"value": "mcs10/3"}, + {"value": "mcs11/3"}, + {"value": "mcs0/4"}, + {"value": "mcs1/4"}, + {"value": "mcs2/4"}, + {"value": "mcs3/4"}, + {"value": "mcs4/4"}, + {"value": "mcs5/4"}, + {"value": "mcs6/4"}, + {"value": "mcs7/4"}, + {"value": "mcs8/4"}, + {"value": "mcs9/4"}, + {"value": "mcs10/4"}, + {"value": "mcs11/4"}, ], "multiple_values": True, "elements": "str", }, "rates_11ax_ss12": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "list", "options": [ - { - "value": "mcs0/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs1/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs2/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs3/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs4/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs5/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs6/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs7/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs8/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs9/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs10/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs11/1", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs0/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs1/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs2/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs3/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs4/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs5/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs6/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs7/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs8/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs9/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs10/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs11/2", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "mcs0/1"}, + {"value": "mcs1/1"}, + {"value": "mcs2/1"}, + {"value": "mcs3/1"}, + {"value": "mcs4/1"}, + {"value": "mcs5/1"}, + {"value": "mcs6/1"}, + {"value": "mcs7/1"}, + {"value": "mcs8/1"}, + {"value": "mcs9/1"}, + {"value": "mcs10/1"}, + {"value": "mcs11/1"}, + {"value": "mcs0/2"}, + {"value": "mcs1/2"}, + {"value": "mcs2/2"}, + {"value": "mcs3/2"}, + {"value": "mcs4/2"}, + {"value": "mcs5/2"}, + {"value": "mcs6/2"}, + {"value": "mcs7/2"}, + {"value": "mcs8/2"}, + {"value": "mcs9/2"}, + {"value": "mcs10/2"}, + {"value": "mcs11/2"}, ], "multiple_values": True, "elements": "str", }, "rates_11ax_ss34": { - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", "v7.2.0"]], "type": "list", "options": [ - { - "value": "mcs0/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs1/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs2/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs3/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs4/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs5/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs6/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs7/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs8/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs9/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs10/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs11/3", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs0/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs1/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs2/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs3/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs4/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs5/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs6/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs7/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs8/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs9/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs10/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "mcs11/4", - "revisions": { - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "mcs0/3"}, + {"value": "mcs1/3"}, + {"value": "mcs2/3"}, + {"value": "mcs3/3"}, + {"value": "mcs4/3"}, + {"value": "mcs5/3"}, + {"value": "mcs6/3"}, + {"value": "mcs7/3"}, + {"value": "mcs8/3"}, + {"value": "mcs9/3"}, + {"value": "mcs10/3"}, + {"value": "mcs11/3"}, + {"value": "mcs0/4"}, + {"value": "mcs1/4"}, + {"value": "mcs2/4"}, + {"value": "mcs3/4"}, + {"value": "mcs4/4"}, + {"value": "mcs5/4"}, + {"value": "mcs6/4"}, + {"value": "mcs7/4"}, + {"value": "mcs8/4"}, + {"value": "mcs9/4"}, + {"value": "mcs10/4"}, + {"value": "mcs11/4"}, ], "multiple_values": True, "elements": "str", }, "mpsk": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mpsk_concurrent_clients": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "integer", }, "mpsk_key": { @@ -17523,56 +3130,20 @@ versioned_schema = { "elements": "dict", "children": { "key_name": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, }, "passphrase": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "concurrent_clients": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "comment": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", }, "mpsk_schedules": { @@ -17580,184 +3151,49 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "required": True, } }, - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, }, - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "acct_interim_interval": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], }, + "acct_interim_interval": {"v_range": [["v6.0.0", "v6.2.7"]], "type": "integer"}, "captive_portal_radius_server": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "captive_portal_radius_secret": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "captive_portal_macauth_radius_server": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "captive_portal_macauth_radius_secret": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", }, "captive_portal_session_timeout_interval": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "integer", }, "security_obsolete_option": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.3": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "alias": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "vdom": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "string", }, + "vdom": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -17794,6 +3230,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_group.py index ce37d2f39..3840c8f0f 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,28 +111,17 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure virtual Access Point (VAP) groups. - fortios_wireless_controller_vap_group: - vdom: "{{ vdom }}" +- name: Configure virtual Access Point (VAP) groups. + fortinet.fortios.fortios_wireless_controller_vap_group: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_vap_group: - comment: "Comment." - name: "default_name_4" - vaps: - - - name: "default_name_6 (source wireless-controller.vap.name)" - + comment: "Comment." + name: "default_name_4" + vaps: + - + name: "default_name_6 (source wireless-controller.vap.name)" """ RETURN = """ @@ -191,7 +180,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -219,6 +207,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_vap_group_data(json): @@ -248,7 +239,6 @@ def underscore_to_hyphen(data): def wireless_controller_vap_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -286,11 +276,16 @@ def wireless_controller_vap_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -342,7 +337,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "vap-group") if data["wireless_controller_vap_group"]: resp = wireless_controller_vap_group(data, fos, check_mode) @@ -350,7 +344,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_vap_group") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -365,154 +359,22 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "vaps": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -549,6 +411,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_status.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_status.py index b373d709b..df3598dcf 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_status.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_vap_status.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Wireless controller VAP-status. - fortios_wireless_controller_vap_status: - vdom: "{{ vdom }}" +- name: Wireless controller VAP-status. + fortinet.fortios.fortios_wireless_controller_vap_status: + vdom: "{{ vdom }}" wireless_controller_vap_status: - set_1: "" - + set_1: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "vap-status") if data["wireless_controller_vap_status"]: resp = wireless_controller_vap_status(data, fos) @@ -277,39 +264,15 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "set_1": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -348,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wag_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wag_profile.py index 1ecfda0c3..45859c662 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wag_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wag_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -131,32 +131,21 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure wireless access gateway (WAG) profiles used for tunnels on AP. - fortios_wireless_controller_wag_profile: - vdom: "{{ vdom }}" +- name: Configure wireless access gateway (WAG) profiles used for tunnels on AP. + fortinet.fortios.fortios_wireless_controller_wag_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_wag_profile: - comment: "Comment." - dhcp_ip_addr: "" - name: "default_name_5" - ping_interval: "1" - ping_number: "5" - return_packet_timeout: "160" - tunnel_type: "l2tpv3" - wag_ip: "" - wag_port: "1701" - + comment: "Comment." + dhcp_ip_addr: "" + name: "default_name_5" + ping_interval: "1" + ping_number: "5" + return_packet_timeout: "160" + tunnel_type: "l2tpv3" + wag_ip: "" + wag_port: "1701" """ RETURN = """ @@ -215,7 +204,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -243,6 +231,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_wag_profile_data(json): @@ -282,7 +273,6 @@ def underscore_to_hyphen(data): def wireless_controller_wag_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -324,11 +314,16 @@ def wireless_controller_wag_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -380,7 +375,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "wag-profile") if data["wireless_controller_wag_profile"]: resp = wireless_controller_wag_profile(data, fos, check_mode) @@ -388,7 +382,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_wag_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -403,319 +397,21 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.2.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.2.0", ""]], "type": "string"}, "tunnel_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "l2tpv3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "gre", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "wag_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - }, - "wag_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "ping_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "ping_number": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "return_packet_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "dhcp_ip_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "l2tpv3"}, {"value": "gre"}], }, + "wag_ip": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "wag_port": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "ping_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "ping_number": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "return_packet_timeout": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "dhcp_ip_addr": {"v_range": [["v6.2.0", ""]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], } @@ -752,6 +448,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wids_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wids_profile.py index b63e762ee..49583d5af 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wids_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wids_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -158,6 +158,28 @@ options: choices: - 'disable' - 'enable' + ap_scan_channel_list_2G_5G: + description: + - Selected ap scan channel list for 2.4G and 5G bands. + type: list + elements: dict + suboptions: + chan: + description: + - Channel number. + required: true + type: str + ap_scan_channel_list_6G: + description: + - Selected ap scan channel list for 6G band. + type: list + elements: dict + suboptions: + chan: + description: + - Channel 6g number. + required: true + type: str ap_scan_passive: description: - Enable/disable passive scanning. Enable means do not send probe request on any channels . @@ -373,76 +395,71 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure wireless intrusion detection system (WIDS) profiles. - fortios_wireless_controller_wids_profile: - vdom: "{{ vdom }}" +- name: Configure wireless intrusion detection system (WIDS) profiles. + fortinet.fortios.fortios_wireless_controller_wids_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_wids_profile: - ap_auto_suppress: "enable" - ap_bgscan_disable_day: "sunday" - ap_bgscan_disable_end: "" - ap_bgscan_disable_schedules: - - - name: "default_name_7 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" - ap_bgscan_disable_start: "" - ap_bgscan_duration: "30" - ap_bgscan_idle: "20" - ap_bgscan_intv: "3" - ap_bgscan_period: "600" - ap_bgscan_report_intv: "30" - ap_fgscan_report_intv: "15" - ap_scan: "disable" - ap_scan_passive: "enable" - ap_scan_threshold: "" - asleap_attack: "enable" - assoc_flood_thresh: "30" - assoc_flood_time: "10" - assoc_frame_flood: "enable" - auth_flood_thresh: "30" - auth_flood_time: "10" - auth_frame_flood: "enable" - comment: "Comment." - deauth_broadcast: "enable" - deauth_unknown_src_thresh: "10" - eapol_fail_flood: "enable" - eapol_fail_intv: "1" - eapol_fail_thresh: "10" - eapol_logoff_flood: "enable" - eapol_logoff_intv: "1" - eapol_logoff_thresh: "10" - eapol_pre_fail_flood: "enable" - eapol_pre_fail_intv: "1" - eapol_pre_fail_thresh: "10" - eapol_pre_succ_flood: "enable" - eapol_pre_succ_intv: "1" - eapol_pre_succ_thresh: "10" - eapol_start_flood: "enable" - eapol_start_intv: "1" - eapol_start_thresh: "10" - eapol_succ_flood: "enable" - eapol_succ_intv: "1" - eapol_succ_thresh: "10" - invalid_mac_oui: "enable" - long_duration_attack: "enable" - long_duration_thresh: "8200" - name: "default_name_49" - null_ssid_probe_resp: "enable" - sensor_mode: "disable" - spoofed_deauth: "enable" - weak_wep_iv: "enable" - wireless_bridge: "enable" - + ap_auto_suppress: "enable" + ap_bgscan_disable_day: "sunday" + ap_bgscan_disable_end: "" + ap_bgscan_disable_schedules: + - + name: "default_name_7 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" + ap_bgscan_disable_start: "" + ap_bgscan_duration: "30" + ap_bgscan_idle: "20" + ap_bgscan_intv: "3" + ap_bgscan_period: "600" + ap_bgscan_report_intv: "30" + ap_fgscan_report_intv: "15" + ap_scan: "disable" + ap_scan_channel_list_2G_5G: + - + chan: "" + ap_scan_channel_list_6G: + - + chan: "" + ap_scan_passive: "enable" + ap_scan_threshold: "" + asleap_attack: "enable" + assoc_flood_thresh: "30" + assoc_flood_time: "10" + assoc_frame_flood: "enable" + auth_flood_thresh: "30" + auth_flood_time: "10" + auth_frame_flood: "enable" + comment: "Comment." + deauth_broadcast: "enable" + deauth_unknown_src_thresh: "10" + eapol_fail_flood: "enable" + eapol_fail_intv: "1" + eapol_fail_thresh: "10" + eapol_logoff_flood: "enable" + eapol_logoff_intv: "1" + eapol_logoff_thresh: "10" + eapol_pre_fail_flood: "enable" + eapol_pre_fail_intv: "1" + eapol_pre_fail_thresh: "10" + eapol_pre_succ_flood: "enable" + eapol_pre_succ_intv: "1" + eapol_pre_succ_thresh: "10" + eapol_start_flood: "enable" + eapol_start_intv: "1" + eapol_start_thresh: "10" + eapol_succ_flood: "enable" + eapol_succ_intv: "1" + eapol_succ_thresh: "10" + invalid_mac_oui: "enable" + long_duration_attack: "enable" + long_duration_thresh: "8200" + name: "default_name_53" + null_ssid_probe_resp: "enable" + sensor_mode: "disable" + spoofed_deauth: "enable" + weak_wep_iv: "enable" + wireless_bridge: "enable" """ RETURN = """ @@ -501,7 +518,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -529,6 +545,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_wids_profile_data(json): @@ -545,6 +564,8 @@ def filter_wireless_controller_wids_profile_data(json): "ap_bgscan_report_intv", "ap_fgscan_report_intv", "ap_scan", + "ap_scan_channel_list_2G_5G", + "ap_scan_channel_list_6G", "ap_scan_passive", "ap_scan_threshold", "asleap_attack", @@ -610,7 +631,6 @@ def underscore_to_hyphen(data): def wireless_controller_wids_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -652,11 +672,16 @@ def wireless_controller_wids_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -708,7 +733,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "wids-profile") if data["wireless_controller_wids_profile"]: resp = wireless_controller_wids_profile(data, fos, check_mode) @@ -716,7 +740,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_wids_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -731,2727 +755,189 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "sensor_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "foreign", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "foreign"}, {"value": "both"}], }, "ap_scan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_bgscan_period": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ap_bgscan_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_bgscan_duration": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_bgscan_idle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ap_scan_channel_list_2G_5G": { + "type": "list", + "elements": "dict", + "children": { + "chan": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } }, - "type": "integer", + "v_range": [["v7.4.1", ""]], }, - "ap_bgscan_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "ap_scan_channel_list_6G": { + "type": "list", + "elements": "dict", + "children": { + "chan": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "required": True, + } }, - "type": "integer", + "v_range": [["v7.4.1", ""]], }, + "ap_bgscan_period": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_bgscan_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_bgscan_duration": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_bgscan_idle": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_bgscan_report_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ap_bgscan_disable_schedules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - "ap_fgscan_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "v_range": [["v6.2.0", ""]], }, + "ap_fgscan_report_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ap_scan_passive": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_scan_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "ap_scan_threshold": {"v_range": [["v6.2.0", ""]], "type": "string"}, "ap_auto_suppress": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wireless_bridge": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "deauth_broadcast": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "null_ssid_probe_resp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "long_duration_attack": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "long_duration_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "long_duration_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "invalid_mac_oui": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "weak_wep_iv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auth_frame_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auth_flood_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auth_flood_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "auth_flood_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auth_flood_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "assoc_frame_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "assoc_flood_time": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "assoc_flood_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "assoc_flood_time": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "assoc_flood_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "spoofed_deauth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "asleap_attack": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "eapol_start_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eapol_start_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "eapol_start_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eapol_start_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "eapol_start_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "eapol_logoff_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eapol_logoff_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "eapol_logoff_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eapol_logoff_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "eapol_logoff_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "eapol_succ_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eapol_succ_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "eapol_succ_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eapol_succ_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "eapol_succ_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "eapol_fail_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eapol_fail_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "eapol_fail_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eapol_fail_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "eapol_fail_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "eapol_pre_succ_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eapol_pre_succ_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "eapol_pre_succ_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eapol_pre_succ_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "eapol_pre_succ_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "eapol_pre_fail_flood": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "eapol_pre_fail_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "eapol_pre_fail_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "deauth_unknown_src_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "eapol_pre_fail_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "eapol_pre_fail_intv": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "deauth_unknown_src_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "ap_bgscan_disable_day": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", "options": [ - { - "value": "sunday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "monday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "tuesday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "wednesday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "thursday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "friday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "saturday", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "sunday"}, + {"value": "monday"}, + {"value": "tuesday"}, + {"value": "wednesday"}, + {"value": "thursday"}, + {"value": "friday"}, + {"value": "saturday"}, ], }, "ap_bgscan_disable_start": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "ap_bgscan_disable_end": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", }, + "ap_bgscan_disable_end": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -3488,6 +974,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp.py index d1b42bfba..cfc572495 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -111,6 +111,14 @@ options: description: - AP local configuration profile name. Source wireless-controller.apcfg-profile.name. type: str + ble_major_id: + description: + - Override BLE Major ID. + type: int + ble_minor_id: + description: + - Override BLE Minor ID. + type: int bonjour_profile: description: - Bonjour profile name. Source wireless-controller.bonjour-profile.name. @@ -1041,7 +1049,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int split_tunneling_acl_local_ap_subnet: @@ -1097,182 +1105,173 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure Wireless Termination Points (WTPs), that is, FortiAPs or APs to be managed by FortiGate. - fortios_wireless_controller_wtp: - vdom: "{{ vdom }}" +- name: Configure Wireless Termination Points (WTPs), that is, FortiAPs or APs to be managed by FortiGate. + fortinet.fortios.fortios_wireless_controller_wtp: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_wtp: - admin: "discovered" - allowaccess: "https" - apcfg_profile: " (source wireless-controller.apcfg-profile.name)" - bonjour_profile: " (source wireless-controller.bonjour-profile.name)" - coordinate_enable: "enable" - coordinate_latitude: "" - coordinate_longitude: "" - coordinate_x: "" - coordinate_y: "" - firmware_provision: "" - firmware_provision_latest: "disable" - image_download: "enable" - index: "0" - ip_fragment_preventing: "tcp-mss-adjust" - lan: - port_esl_mode: "offline" - port_esl_ssid: " (source system.interface.name)" - port_mode: "offline" - port_ssid: " (source system.interface.name)" - port1_mode: "offline" - port1_ssid: " (source system.interface.name)" - port2_mode: "offline" - port2_ssid: " (source system.interface.name)" - port3_mode: "offline" - port3_ssid: " (source system.interface.name)" - port4_mode: "offline" - port4_ssid: " (source system.interface.name)" - port5_mode: "offline" - port5_ssid: " (source system.interface.name)" - port6_mode: "offline" - port6_ssid: " (source system.interface.name)" - port7_mode: "offline" - port7_ssid: " (source system.interface.name)" - port8_mode: "offline" - port8_ssid: " (source system.interface.name)" - led_state: "enable" - location: "" - login_passwd: "" - login_passwd_change: "yes" - mesh_bridge_enable: "default" - name: "default_name_43" - override_allowaccess: "enable" - override_ip_fragment: "enable" - override_lan: "enable" - override_led_state: "enable" - override_login_passwd_change: "enable" - override_split_tunnel: "enable" - override_wan_port_mode: "enable" - radio_1: - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - channel: - - - chan: "" - drma_manual_mode: "ap" - override_analysis: "enable" - override_band: "enable" - override_channel: "enable" - override_txpower: "enable" - override_vaps: "enable" - power_level: "100" - power_mode: "dBm" - power_value: "27" - radio_id: "2" - spectrum_analysis: "enable" - vap_all: "tunnel" - vaps: - - - name: "default_name_72 (source wireless-controller.vap-group.name system.interface.name)" - radio_2: - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - channel: - - - chan: "" - drma_manual_mode: "ap" - override_analysis: "enable" - override_band: "enable" - override_channel: "enable" - override_txpower: "enable" - override_vaps: "enable" - power_level: "100" - power_mode: "dBm" - power_value: "27" - radio_id: "2" - spectrum_analysis: "enable" - vap_all: "tunnel" - vaps: - - - name: "default_name_94 (source wireless-controller.vap-group.name system.interface.name)" - radio_3: - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - channel: - - - chan: "" - drma_manual_mode: "ap" - override_analysis: "enable" - override_band: "enable" - override_channel: "enable" - override_txpower: "enable" - override_vaps: "enable" - power_level: "100" - power_mode: "dBm" - power_value: "27" - radio_id: "2" - spectrum_analysis: "enable" - vap_all: "tunnel" - vaps: - - - name: "default_name_116 (source wireless-controller.vap-group.name system.interface.name)" - radio_4: - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - channel: - - - chan: "" - drma_manual_mode: "ap" - override_analysis: "enable" - override_band: "enable" - override_channel: "enable" - override_txpower: "enable" - override_vaps: "enable" - power_level: "100" - power_mode: "dBm" - power_value: "27" - spectrum_analysis: "enable" - vap_all: "tunnel" - vaps: - - - name: "default_name_137 (source wireless-controller.vap-group.name system.interface.name)" - region: " (source wireless-controller.region.name)" - region_x: "" - region_y: "" - split_tunneling_acl: - - - dest_ip: "" - id: "143" - split_tunneling_acl_local_ap_subnet: "enable" - split_tunneling_acl_path: "tunnel" - tun_mtu_downlink: "0" - tun_mtu_uplink: "0" - uuid: "" - wan_port_mode: "wan-lan" - wtp_id: "" - wtp_mode: "normal" - wtp_profile: " (source wireless-controller.wtp-profile.name)" - + admin: "discovered" + allowaccess: "https" + apcfg_profile: " (source wireless-controller.apcfg-profile.name)" + ble_major_id: "0" + ble_minor_id: "0" + bonjour_profile: " (source wireless-controller.bonjour-profile.name)" + coordinate_enable: "enable" + coordinate_latitude: "" + coordinate_longitude: "" + coordinate_x: "" + coordinate_y: "" + firmware_provision: "" + firmware_provision_latest: "disable" + image_download: "enable" + index: "0" + ip_fragment_preventing: "tcp-mss-adjust" + lan: + port_esl_mode: "offline" + port_esl_ssid: " (source system.interface.name)" + port_mode: "offline" + port_ssid: " (source system.interface.name)" + port1_mode: "offline" + port1_ssid: " (source system.interface.name)" + port2_mode: "offline" + port2_ssid: " (source system.interface.name)" + port3_mode: "offline" + port3_ssid: " (source system.interface.name)" + port4_mode: "offline" + port4_ssid: " (source system.interface.name)" + port5_mode: "offline" + port5_ssid: " (source system.interface.name)" + port6_mode: "offline" + port6_ssid: " (source system.interface.name)" + port7_mode: "offline" + port7_ssid: " (source system.interface.name)" + port8_mode: "offline" + port8_ssid: " (source system.interface.name)" + led_state: "enable" + location: "" + login_passwd: "" + login_passwd_change: "yes" + mesh_bridge_enable: "default" + name: "default_name_45" + override_allowaccess: "enable" + override_ip_fragment: "enable" + override_lan: "enable" + override_led_state: "enable" + override_login_passwd_change: "enable" + override_split_tunnel: "enable" + override_wan_port_mode: "enable" + radio_1: + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + channel: + - + chan: "" + drma_manual_mode: "ap" + override_analysis: "enable" + override_band: "enable" + override_channel: "enable" + override_txpower: "enable" + override_vaps: "enable" + power_level: "100" + power_mode: "dBm" + power_value: "27" + radio_id: "2" + spectrum_analysis: "enable" + vap_all: "tunnel" + vaps: + - + name: "default_name_74 (source wireless-controller.vap-group.name system.interface.name)" + radio_2: + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + channel: + - + chan: "" + drma_manual_mode: "ap" + override_analysis: "enable" + override_band: "enable" + override_channel: "enable" + override_txpower: "enable" + override_vaps: "enable" + power_level: "100" + power_mode: "dBm" + power_value: "27" + radio_id: "2" + spectrum_analysis: "enable" + vap_all: "tunnel" + vaps: + - + name: "default_name_96 (source wireless-controller.vap-group.name system.interface.name)" + radio_3: + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + channel: + - + chan: "" + drma_manual_mode: "ap" + override_analysis: "enable" + override_band: "enable" + override_channel: "enable" + override_txpower: "enable" + override_vaps: "enable" + power_level: "100" + power_mode: "dBm" + power_value: "27" + radio_id: "2" + spectrum_analysis: "enable" + vap_all: "tunnel" + vaps: + - + name: "default_name_118 (source wireless-controller.vap-group.name system.interface.name)" + radio_4: + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + channel: + - + chan: "" + drma_manual_mode: "ap" + override_analysis: "enable" + override_band: "enable" + override_channel: "enable" + override_txpower: "enable" + override_vaps: "enable" + power_level: "100" + power_mode: "dBm" + power_value: "27" + spectrum_analysis: "enable" + vap_all: "tunnel" + vaps: + - + name: "default_name_139 (source wireless-controller.vap-group.name system.interface.name)" + region: " (source wireless-controller.region.name)" + region_x: "" + region_y: "" + split_tunneling_acl: + - + dest_ip: "" + id: "145" + split_tunneling_acl_local_ap_subnet: "enable" + split_tunneling_acl_path: "tunnel" + tun_mtu_downlink: "0" + tun_mtu_uplink: "0" + uuid: "" + wan_port_mode: "wan-lan" + wtp_id: "" + wtp_mode: "normal" + wtp_profile: " (source wireless-controller.wtp-profile.name)" """ RETURN = """ @@ -1331,7 +1330,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -1359,6 +1357,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_wtp_data(json): @@ -1366,6 +1367,8 @@ def filter_wireless_controller_wtp_data(json): "admin", "allowaccess", "apcfg_profile", + "ble_major_id", + "ble_minor_id", "bonjour_profile", "coordinate_enable", "coordinate_latitude", @@ -1464,7 +1467,6 @@ def underscore_to_hyphen(data): def wireless_controller_wtp(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -1503,11 +1505,16 @@ def wireless_controller_wtp(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -1557,13 +1564,12 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "wtp") if data["wireless_controller_wtp"]: resp = wireless_controller_wtp(data, fos, check_mode) else: fos._module.fail_json(msg="missing task body: %s" % ("wireless_controller_wtp")) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -1578,5170 +1584,325 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "wtp_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "uuid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "wtp_id": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "uuid": {"v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string"}, "admin": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "discovered", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "discovered"}, + {"value": "disable"}, + {"value": "enable"}, ], }, - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "location": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "region": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "region_x": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "region_y": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "firmware_provision": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "location": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "region": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "region_x": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "region_y": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "firmware_provision": {"v_range": [["v6.4.0", ""]], "type": "string"}, "firmware_provision_latest": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "once", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "wtp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "apcfg_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "bonjour_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "disable"}, {"value": "once"}], }, + "wtp_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "apcfg_profile": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "bonjour_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ble_major_id": {"v_range": [["v7.4.1", ""]], "type": "integer"}, + "ble_minor_id": {"v_range": [["v7.4.1", ""]], "type": "integer"}, "override_led_state": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "led_state": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "override_wan_port_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wan_port_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "wan-lan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wan-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "wan-lan"}, {"value": "wan-only"}], }, "override_ip_fragment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ip_fragment_preventing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", - "options": [ - { - "value": "tcp-mss-adjust", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "icmp-unreachable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "tcp-mss-adjust"}, {"value": "icmp-unreachable"}], "multiple_values": True, "elements": "str", }, - "tun_mtu_uplink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tun_mtu_downlink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "tun_mtu_uplink": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tun_mtu_downlink": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "override_split_tunnel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_tunneling_acl_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "tunnel"}, {"value": "local"}], }, "split_tunneling_acl_local_ap_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "split_tunneling_acl": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "dest_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "dest_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, "override_lan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "lan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "port_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port1_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port1_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port1_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port2_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port2_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port2_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port3_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port3_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port3_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port4_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port4_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port4_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port5_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port5_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port5_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port6_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port6_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port6_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port7_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port7_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port7_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port8_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port8_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port8_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port_esl_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, "port_esl_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, }, "override_allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "telnet", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "http", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp", "v_range": [["v6.2.0", ""]]}, + {"value": "telnet", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "http", "v_range": [["v6.0.0", "v6.0.11"]]}, ], "multiple_values": True, "elements": "str", }, "override_login_passwd_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "login_passwd_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "login_passwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "yes"}, {"value": "default"}, {"value": "no"}], }, + "login_passwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, "radio_1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "override_band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax", "v_range": [["v6.2.0", ""]]}, { "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, { "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,ac,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-5G-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n,g-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-only", "v_range": [["v6.2.0", ""]]}, ], }, "override_txpower": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "auto_power_high": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_low": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "dBm"}, {"value": "percentage"}], }, + "power_level": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "override_vaps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, + {"value": "enable", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "disable", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, "vaps": { @@ -6749,1842 +1910,137 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "override_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "channel": { "type": "list", "elements": "dict", "children": { "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "drma_manual_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf-peek", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "ncf"}, + {"value": "ncf-peek"}, ], }, "override_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, ], }, "radio_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, }, "radio_2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "override_band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax", "v_range": [["v6.2.0", ""]]}, { "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, { "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,ac,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-5G-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n,g-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-only", "v_range": [["v6.2.0", ""]]}, ], }, "override_txpower": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "auto_power_high": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_low": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", + "options": [{"value": "dBm"}, {"value": "percentage"}], }, + "power_level": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "override_vaps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, + {"value": "enable", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "disable", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, "vaps": { @@ -8592,1701 +2048,137 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "override_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "channel": { "type": "list", "elements": "dict", "children": { "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "drma_manual_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf-peek", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "ncf"}, + {"value": "ncf-peek"}, ], }, "override_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, ], }, "radio_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, }, }, "radio_3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { - "override_band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "override_txpower": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", + "override_band": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "override_vaps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "band": { + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G"}, + {"value": "802.11ax"}, { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "value": "802.11ac-2G", + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + "value": "802.11ax-6G", + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only"}, + {"value": "802.11ax,ac,n-only"}, + {"value": "802.11ax-5G-only"}, + {"value": "802.11ax,n-only"}, + {"value": "802.11ax,n,g-only"}, + {"value": "802.11ax-only"}, ], }, + "override_txpower": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "auto_power_level": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "auto_power_high": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "auto_power_low": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "power_mode": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "dBm"}, {"value": "percentage"}], + }, + "power_level": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "override_vaps": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, + {"value": "enable", "v_range": [["v6.2.0", "v6.2.7"]]}, + {"value": "disable", "v_range": [["v6.2.0", "v6.2.7"]]}, ], }, "vaps": { @@ -10294,1602 +2186,148 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "override_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "channel": { "type": "list", "elements": "dict", "children": { "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], }, "drma_manual_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf-peek", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "ncf"}, + {"value": "ncf-peek"}, ], }, "override_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, ], }, - "radio_id": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, - "type": "integer", - }, + "radio_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, }, }, "radio_4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "dict", "children": { "override_band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G"}, + {"value": "802.11ax"}, { "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], }, { "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only"}, + {"value": "802.11ax,ac,n-only"}, + {"value": "802.11ax-5G-only"}, + {"value": "802.11ax,n-only"}, + {"value": "802.11ax,n,g-only"}, + {"value": "802.11ax-only"}, ], }, "override_txpower": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - "type": "string", - }, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "dBm"}, {"value": "percentage"}], }, "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "override_vaps": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, { "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], }, { "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], }, ], }, @@ -11898,738 +2336,98 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, "override_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "channel": { "type": "list", "elements": "dict", "children": { "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, "drma_manual_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "ncf-peek", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "ncf"}, + {"value": "ncf-peek"}, ], }, "override_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.2.7"], + ["v6.4.1", "v6.4.1"], ], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.2.7"], + ["v6.4.1", "v6.4.1"], + ], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, ], }, }, }, "image_download": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "mesh_bridge_enable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "default"}, + {"value": "enable"}, + {"value": "disable"}, ], }, - "coordinate_latitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "coordinate_longitude": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "coordinate_latitude": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "coordinate_longitude": {"v_range": [["v6.0.0", ""]], "type": "string"}, "index": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "integer", }, "wtp_mode": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "normal", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "remote", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "normal"}, {"value": "remote"}], }, "coordinate_enable": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "disable", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - }, - "coordinate_x": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - "type": "string", - }, - "coordinate_y": { - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, + "v_range": [["v6.0.0", "v6.0.11"]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "coordinate_x": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, + "coordinate_y": {"v_range": [["v6.0.0", "v6.0.11"]], "type": "string"}, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -12666,6 +2464,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_group.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_group.py index 0467c0009..422171bef 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_group.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_group.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -88,6 +88,10 @@ options: default: null type: dict suboptions: + ble_major_id: + description: + - Override BLE Major ID. + type: int name: description: - WTP group name. @@ -189,28 +193,18 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WTP groups. - fortios_wireless_controller_wtp_group: - vdom: "{{ vdom }}" +- name: Configure WTP groups. + fortinet.fortios.fortios_wireless_controller_wtp_group: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_wtp_group: - name: "default_name_3" - platform_type: "AP-11N" - wtps: - - - wtp_id: " (source wireless-controller.wtp.wtp-id)" - + ble_major_id: "0" + name: "default_name_4" + platform_type: "AP-11N" + wtps: + - + wtp_id: " (source wireless-controller.wtp.wtp-id)" """ RETURN = """ @@ -269,7 +263,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -297,10 +290,13 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_wtp_group_data(json): - option_list = ["name", "platform_type", "wtps"] + option_list = ["ble_major_id", "name", "platform_type", "wtps"] json = remove_invalid_fields(json) dictionary = {} @@ -326,7 +322,6 @@ def underscore_to_hyphen(data): def wireless_controller_wtp_group(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -364,11 +359,16 @@ def wireless_controller_wtp_group(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -420,7 +420,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "wtp-group") if data["wireless_controller_wtp_group"]: resp = wireless_controller_wtp_group(data, fos, check_mode) @@ -428,7 +427,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_wtp_group") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -443,2352 +442,136 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, "platform_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "AP-11N", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C24JE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "421E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "423E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "221E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "222E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "223E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "224E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "231E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "321E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "431F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "431FL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "AP-11N"}, + {"value": "C24JE"}, + {"value": "421E"}, + {"value": "423E"}, + {"value": "221E"}, + {"value": "222E"}, + {"value": "223E"}, + {"value": "224E"}, + {"value": "231E", "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]]}, + {"value": "321E", "v_range": [["v6.2.0", ""]]}, + {"value": "431F", "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]]}, + {"value": "431FL", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, { "value": "432F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "432FR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "433F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "433FL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, + {"value": "432FR", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, + {"value": "433F", "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]]}, + {"value": "433FL", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, { "value": "231F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "231FL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, + {"value": "231FL", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, { "value": "234F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, { "value": "23JF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "831F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "231G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "233G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "234G", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "431G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "433G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U421E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U422EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U423E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U221EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U223EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U24JEV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U321EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U323EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U431F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U433F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U231F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U234F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U432F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U231G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "220B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "210B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "222B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "112B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "320B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "223B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "320C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "221C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "25D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "222C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "224D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "214B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "112D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "223C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "321C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C220C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C225C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C23JD", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S321C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S322C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S323C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S311C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S313C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S321CR", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S322CR", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S323CR", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S421E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S422E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S423E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S221E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S223E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], + }, + {"value": "831F", "v_range": [["v6.4.4", ""]]}, + {"value": "231G", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, + {"value": "233G", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, + {"value": "234G", "v_range": [["v7.4.0", ""]]}, + {"value": "431G", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, + {"value": "433G", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]]}, + {"value": "U421E"}, + {"value": "U422EV"}, + {"value": "U423E"}, + {"value": "U221EV"}, + {"value": "U223EV"}, + {"value": "U24JEV"}, + {"value": "U321EV"}, + {"value": "U323EV"}, + {"value": "U431F", "v_range": [["v6.2.0", ""]]}, + {"value": "U433F", "v_range": [["v6.2.0", ""]]}, + {"value": "U231F", "v_range": [["v6.4.4", ""]]}, + {"value": "U234F", "v_range": [["v6.4.4", ""]]}, + {"value": "U432F", "v_range": [["v6.4.4", ""]]}, + {"value": "U231G", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]]}, + {"value": "220B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "210B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "222B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "112B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "320B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "11C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "14C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "223B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "28C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "320C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "221C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "25D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "222C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "224D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "214B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "21D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "24D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "112D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "223C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "321C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "C220C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "C225C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "C23JD", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S321C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S322C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S323C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S311C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S313C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S321CR", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S322CR", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S323CR", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S421E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S422E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S423E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S221E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S223E", "v_range": [["v6.0.0", "v7.2.4"]]}, { "value": "U441G", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", "v7.2.4"]], }, ], }, + "ble_major_id": {"v_range": [["v7.4.1", ""]], "type": "integer"}, "wtps": { "type": "list", "elements": "dict", "children": { "wtp_id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -2825,6 +608,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_profile.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_profile.py index 38a5449ab..cd974c556 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_profile.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_profile.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -148,6 +148,7 @@ options: - 'CY' - 'CZ' - 'DK' + - 'DJ' - 'DM' - 'DO' - 'EC' @@ -161,7 +162,9 @@ options: - 'FJ' - 'FI' - 'FR' + - 'GA' - 'GE' + - 'GM' - 'DE' - 'GH' - 'GI' @@ -195,6 +198,7 @@ options: - 'LV' - 'LB' - 'LS' + - 'LR' - 'LY' - 'LI' - 'LT' @@ -228,6 +232,7 @@ options: - 'NZ' - 'NI' - 'NE' + - 'NG' - 'NO' - 'MP' - 'OM' @@ -260,11 +265,13 @@ options: - 'SG' - 'SK' - 'SI' + - 'SO' - 'ZA' - 'ES' - 'LK' - - 'SE' - 'SR' + - 'SZ' + - 'SE' - 'CH' - 'TW' - 'TZ' @@ -347,7 +354,7 @@ options: suboptions: id: description: - - ID. + - ID. see Notes. required: true type: int mac: @@ -775,6 +782,63 @@ options: choices: - 'enable' - 'disable' + polestar: + description: + - Enable/disable PoleStar BLE NAO Track Real Time Location Service (RTLS) support . + type: str + choices: + - 'enable' + - 'disable' + polestar_accumulation_interval: + description: + - Time that measurements should be accumulated in seconds . + type: int + polestar_asset_addrgrp_list: + description: + - Tags and asset addrgrp list to be reported. Source firewall.addrgrp.name. + type: str + polestar_asset_uuid_list1: + description: + - Tags and asset UUID list 1 to be reported (string in the format of "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"). + type: str + polestar_asset_uuid_list2: + description: + - Tags and asset UUID list 2 to be reported (string in the format of "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"). + type: str + polestar_asset_uuid_list3: + description: + - Tags and asset UUID list 3 to be reported (string in the format of "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"). + type: str + polestar_asset_uuid_list4: + description: + - Tags and asset UUID list 4 to be reported (string in the format of "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"). + type: str + polestar_protocol: + description: + - Select the protocol to report Measurements, Advertising Data, or Location Data to NAO Cloud. . + type: str + choices: + - 'WSS' + polestar_reporting_interval: + description: + - Time between reporting accumulated measurements in seconds . + type: int + polestar_server_fqdn: + description: + - FQDN of PoleStar Nao Track Server . + type: str + polestar_server_path: + description: + - Path of PoleStar Nao Track Server . + type: str + polestar_server_port: + description: + - Port of PoleStar Nao Track Server . + type: int + polestar_server_token: + description: + - Access Token of PoleStar Nao Track Server. + type: str station_locate: description: - Enable/disable client station locating services for all clients, whether associated or not . @@ -1208,6 +1272,17 @@ options: description: - Maximum expected distance between the AP and clients (0 - 54000 m). type: int + mimo_mode: + description: + - Configure radio MIMO mode . + type: str + choices: + - 'default' + - '1x1' + - '2x2' + - '3x3' + - '4x4' + - '8x8' mode: description: - Mode of radio 1. Radio 1 can be disabled, configured as an access point, a rogue AP monitor, a sniffer, or a station. @@ -1691,6 +1766,17 @@ options: description: - Maximum expected distance between the AP and clients (0 - 54000 m). type: int + mimo_mode: + description: + - Configure radio MIMO mode . + type: str + choices: + - 'default' + - '1x1' + - '2x2' + - '3x3' + - '4x4' + - '8x8' mode: description: - Mode of radio 2. Radio 2 can be disabled, configured as an access point, a rogue AP monitor, a sniffer, or a station. @@ -2174,6 +2260,17 @@ options: description: - Maximum expected distance between the AP and clients (0 - 54000 m). type: int + mimo_mode: + description: + - Configure radio MIMO mode . + type: str + choices: + - 'default' + - '1x1' + - '2x2' + - '3x3' + - '4x4' + - '8x8' mode: description: - Mode of radio 3. Radio 3 can be disabled, configured as an access point, a rogue AP monitor, a sniffer, or a station. @@ -2657,6 +2754,17 @@ options: description: - Maximum expected distance between the AP and clients (0 - 54000 m). type: int + mimo_mode: + description: + - Configure radio MIMO mode . + type: str + choices: + - 'default' + - '1x1' + - '2x2' + - '3x3' + - '4x4' + - '8x8' mode: description: - Mode of radio 3. Radio 3 can be disabled, configured as an access point, a rogue AP monitor, a sniffer, or a station. @@ -2883,7 +2991,7 @@ options: type: str id: description: - - ID. + - ID. see Notes. required: true type: int split_tunneling_acl_local_ap_subnet: @@ -2953,447 +3061,453 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Configure WTP profiles or FortiAP profiles that define radio settings for manageable FortiAP platforms. - fortios_wireless_controller_wtp_profile: - vdom: "{{ vdom }}" +- name: Configure WTP profiles or FortiAP profiles that define radio settings for manageable FortiAP platforms. + fortinet.fortios.fortios_wireless_controller_wtp_profile: + vdom: "{{ vdom }}" state: "present" access_token: "" wireless_controller_wtp_profile: - allowaccess: "https" - ap_country: "--" - ap_handoff: "enable" - apcfg_profile: " (source wireless-controller.apcfg-profile.name)" - ble_profile: " (source wireless-controller.ble-profile.name)" - comment: "Comment." - console_login: "enable" - control_message_offload: "ebp-frame" - deny_mac_list: - - - id: "12" - mac: "" - dtls_in_kernel: "enable" - dtls_policy: "clear-text" - energy_efficient_ethernet: "enable" - esl_ses_dongle: - apc_addr_type: "fqdn" - apc_fqdn: "" - apc_ip: "" - apc_port: "0" - coex_level: "none" - compliance_level: "compliance-level-2" - esl_channel: "-1" - output_power: "a" - scd_enable: "enable" - tls_cert_verification: "enable" - tls_fqdn_verification: "enable" - ext_info_enable: "enable" - frequency_handoff: "enable" - handoff_roaming: "enable" - handoff_rssi: "25" - handoff_sta_thresh: "0" - indoor_outdoor_deployment: "platform-determined" - ip_fragment_preventing: "tcp-mss-adjust" - lan: - port_esl_mode: "offline" - port_esl_ssid: " (source system.interface.name)" - port_mode: "offline" - port_ssid: " (source system.interface.name)" - port1_mode: "offline" - port1_ssid: " (source system.interface.name)" - port2_mode: "offline" - port2_ssid: " (source system.interface.name)" - port3_mode: "offline" - port3_ssid: " (source system.interface.name)" - port4_mode: "offline" - port4_ssid: " (source system.interface.name)" - port5_mode: "offline" - port5_ssid: " (source system.interface.name)" - port6_mode: "offline" - port6_ssid: " (source system.interface.name)" - port7_mode: "offline" - port7_ssid: " (source system.interface.name)" - port8_mode: "offline" - port8_ssid: " (source system.interface.name)" - lbs: - aeroscout: "enable" - aeroscout_ap_mac: "bssid" - aeroscout_mmu_report: "enable" - aeroscout_mu: "enable" - aeroscout_mu_factor: "20" - aeroscout_mu_timeout: "5" - aeroscout_server_ip: "" - aeroscout_server_port: "0" - ekahau_blink_mode: "enable" - ekahau_tag: "" - erc_server_ip: "" - erc_server_port: "8569" - fortipresence: "foreign" - fortipresence_ble: "enable" - fortipresence_frequency: "30" - fortipresence_port: "3000" - fortipresence_project: "" - fortipresence_rogue: "enable" - fortipresence_secret: "" - fortipresence_server: "" - fortipresence_server_addr_type: "ipv4" - fortipresence_server_fqdn: "" - fortipresence_unassoc: "enable" - station_locate: "enable" - led_schedules: - - - name: "default_name_83 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" - led_state: "enable" - lldp: "enable" - login_passwd: "" - login_passwd_change: "yes" - max_clients: "0" - name: "default_name_89" - platform: - ddscan: "enable" - mode: "single-5G" - type: "AP-11N" - poe_mode: "auto" - radio_1: - airtime_fairness: "enable" - amsdu: "enable" - ap_handoff: "enable" - ap_sniffer_addr: "" - ap_sniffer_bufsize: "16" - ap_sniffer_chan: "36" - ap_sniffer_ctl: "enable" - ap_sniffer_data: "enable" - ap_sniffer_mgmt_beacon: "enable" - ap_sniffer_mgmt_other: "enable" - ap_sniffer_mgmt_probe: "enable" - arrp_profile: " (source wireless-controller.arrp-profile.name)" - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - band_5g_type: "5g-full" - bandwidth_admission_control: "enable" - bandwidth_capacity: "2000" - beacon_interval: "100" - bss_color: "0" - bss_color_mode: "auto" - call_admission_control: "enable" - call_capacity: "10" - channel: - - - chan: "" - channel_bonding: "160MHz" - channel_utilization: "enable" - coexistence: "enable" - darrp: "enable" - drma: "disable" - drma_sensitivity: "low" - dtim: "1" - frag_threshold: "2346" - frequency_handoff: "enable" - iperf_protocol: "udp" - iperf_server_port: "5001" - max_clients: "0" - max_distance: "0" - mode: "disabled" - optional_antenna: "none" - power_level: "100" - power_mode: "dBm" - power_value: "27" - powersave_optimize: "tim" - protection_mode: "rtscts" - radio_id: "2" - rts_threshold: "2346" - sam_bssid: "" - sam_captive_portal: "enable" - sam_cwp_failure_string: "" - sam_cwp_match_string: "" - sam_cwp_password: "" - sam_cwp_success_string: "" - sam_cwp_test_url: "" - sam_cwp_username: "" - sam_password: "" - sam_report_intv: "0" - sam_security_type: "open" - sam_server: "" - sam_server_fqdn: "" - sam_server_ip: "" - sam_server_type: "ip" - sam_ssid: "" - sam_test: "ping" - sam_username: "" - set_80211d: "enable" - short_guard_interval: "enable" - spectrum_analysis: "enable" - transmit_optimize: "disable" - vap_all: "tunnel" - vaps: - - - name: "default_name_169 (source wireless-controller.vap-group.name system.interface.name)" - wids_profile: " (source wireless-controller.wids-profile.name)" - zero_wait_dfs: "enable" - radio_2: - airtime_fairness: "enable" - amsdu: "enable" - ap_handoff: "enable" - ap_sniffer_addr: "" - ap_sniffer_bufsize: "16" - ap_sniffer_chan: "6" - ap_sniffer_ctl: "enable" - ap_sniffer_data: "enable" - ap_sniffer_mgmt_beacon: "enable" - ap_sniffer_mgmt_other: "enable" - ap_sniffer_mgmt_probe: "enable" - arrp_profile: " (source wireless-controller.arrp-profile.name)" - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - band_5g_type: "5g-full" - bandwidth_admission_control: "enable" - bandwidth_capacity: "2000" - beacon_interval: "100" - bss_color: "0" - bss_color_mode: "auto" - call_admission_control: "enable" - call_capacity: "10" - channel: - - - chan: "" - channel_bonding: "160MHz" - channel_utilization: "enable" - coexistence: "enable" - darrp: "enable" - drma: "disable" - drma_sensitivity: "low" - dtim: "1" - frag_threshold: "2346" - frequency_handoff: "enable" - iperf_protocol: "udp" - iperf_server_port: "5001" - max_clients: "0" - max_distance: "0" - mode: "disabled" - optional_antenna: "none" - power_level: "100" - power_mode: "dBm" - power_value: "27" - powersave_optimize: "tim" - protection_mode: "rtscts" - radio_id: "2" - rts_threshold: "2346" - sam_bssid: "" - sam_captive_portal: "enable" - sam_cwp_failure_string: "" - sam_cwp_match_string: "" - sam_cwp_password: "" - sam_cwp_success_string: "" - sam_cwp_test_url: "" - sam_cwp_username: "" - sam_password: "" - sam_report_intv: "0" - sam_security_type: "open" - sam_server: "" - sam_server_fqdn: "" - sam_server_ip: "" - sam_server_type: "ip" - sam_ssid: "" - sam_test: "ping" - sam_username: "" - set_80211d: "enable" - short_guard_interval: "enable" - spectrum_analysis: "enable" - transmit_optimize: "disable" - vap_all: "tunnel" - vaps: - - - name: "default_name_246 (source wireless-controller.vap-group.name system.interface.name)" - wids_profile: " (source wireless-controller.wids-profile.name)" - zero_wait_dfs: "enable" - radio_3: - airtime_fairness: "enable" - amsdu: "enable" - ap_handoff: "enable" - ap_sniffer_addr: "" - ap_sniffer_bufsize: "16" - ap_sniffer_chan: "6" - ap_sniffer_ctl: "enable" - ap_sniffer_data: "enable" - ap_sniffer_mgmt_beacon: "enable" - ap_sniffer_mgmt_other: "enable" - ap_sniffer_mgmt_probe: "enable" - arrp_profile: " (source wireless-controller.arrp-profile.name)" - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - band_5g_type: "5g-full" - bandwidth_admission_control: "enable" - bandwidth_capacity: "2000" - beacon_interval: "100" - bss_color: "0" - bss_color_mode: "auto" - call_admission_control: "enable" - call_capacity: "10" - channel: - - - chan: "" - channel_bonding: "160MHz" - channel_utilization: "enable" - coexistence: "enable" - darrp: "enable" - drma: "disable" - drma_sensitivity: "low" - dtim: "1" - frag_threshold: "2346" - frequency_handoff: "enable" - iperf_protocol: "udp" - iperf_server_port: "5001" - max_clients: "0" - max_distance: "0" - mode: "disabled" - optional_antenna: "none" - power_level: "100" - power_mode: "dBm" - power_value: "27" - powersave_optimize: "tim" - protection_mode: "rtscts" - radio_id: "2" - rts_threshold: "2346" - sam_bssid: "" - sam_captive_portal: "enable" - sam_cwp_failure_string: "" - sam_cwp_match_string: "" - sam_cwp_password: "" - sam_cwp_success_string: "" - sam_cwp_test_url: "" - sam_cwp_username: "" - sam_password: "" - sam_report_intv: "0" - sam_security_type: "open" - sam_server: "" - sam_server_fqdn: "" - sam_server_ip: "" - sam_server_type: "ip" - sam_ssid: "" - sam_test: "ping" - sam_username: "" - set_80211d: "enable" - short_guard_interval: "enable" - spectrum_analysis: "enable" - transmit_optimize: "disable" - vap_all: "tunnel" - vaps: - - - name: "default_name_323 (source wireless-controller.vap-group.name system.interface.name)" - wids_profile: " (source wireless-controller.wids-profile.name)" - zero_wait_dfs: "enable" - radio_4: - airtime_fairness: "enable" - amsdu: "enable" - ap_handoff: "enable" - ap_sniffer_addr: "" - ap_sniffer_bufsize: "16" - ap_sniffer_chan: "6" - ap_sniffer_ctl: "enable" - ap_sniffer_data: "enable" - ap_sniffer_mgmt_beacon: "enable" - ap_sniffer_mgmt_other: "enable" - ap_sniffer_mgmt_probe: "enable" - arrp_profile: " (source wireless-controller.arrp-profile.name)" - auto_power_high: "17" - auto_power_level: "enable" - auto_power_low: "10" - auto_power_target: "" - band: "802.11a" - band_5g_type: "5g-full" - bandwidth_admission_control: "enable" - bandwidth_capacity: "2000" - beacon_interval: "100" - bss_color: "0" - bss_color_mode: "auto" - call_admission_control: "enable" - call_capacity: "10" - channel: - - - chan: "" - channel_bonding: "160MHz" - channel_utilization: "enable" - coexistence: "enable" - darrp: "enable" - drma: "disable" - drma_sensitivity: "low" - dtim: "1" - frag_threshold: "2346" - frequency_handoff: "enable" - iperf_protocol: "udp" - iperf_server_port: "5001" - max_clients: "0" - max_distance: "0" - mode: "disabled" - optional_antenna: "none" - power_level: "100" - power_mode: "dBm" - power_value: "27" - powersave_optimize: "tim" - protection_mode: "rtscts" - rts_threshold: "2346" - sam_bssid: "" - sam_captive_portal: "enable" - sam_cwp_failure_string: "" - sam_cwp_match_string: "" - sam_cwp_password: "" - sam_cwp_success_string: "" - sam_cwp_test_url: "" - sam_cwp_username: "" - sam_password: "" - sam_report_intv: "0" - sam_security_type: "open" - sam_server: "" - sam_server_fqdn: "" - sam_server_ip: "" - sam_server_type: "ip" - sam_ssid: "" - sam_test: "ping" - sam_username: "" - set_80211d: "enable" - short_guard_interval: "enable" - spectrum_analysis: "enable" - transmit_optimize: "disable" - vap_all: "tunnel" - vaps: - - - name: "default_name_399 (source wireless-controller.vap-group.name system.interface.name)" - wids_profile: " (source wireless-controller.wids-profile.name)" - zero_wait_dfs: "enable" - split_tunneling_acl: - - - dest_ip: "" - id: "404" - split_tunneling_acl_local_ap_subnet: "enable" - split_tunneling_acl_path: "tunnel" - syslog_profile: " (source wireless-controller.syslog-profile.name)" - tun_mtu_downlink: "0" - tun_mtu_uplink: "0" - unii_4_5ghz_band: "enable" - wan_port_auth: "none" - wan_port_auth_methods: "all" - wan_port_auth_password: "" - wan_port_auth_usrname: "" - wan_port_mode: "wan-lan" - + allowaccess: "https" + ap_country: "--" + ap_handoff: "enable" + apcfg_profile: " (source wireless-controller.apcfg-profile.name)" + ble_profile: " (source wireless-controller.ble-profile.name)" + comment: "Comment." + console_login: "enable" + control_message_offload: "ebp-frame" + deny_mac_list: + - + id: "12" + mac: "" + dtls_in_kernel: "enable" + dtls_policy: "clear-text" + energy_efficient_ethernet: "enable" + esl_ses_dongle: + apc_addr_type: "fqdn" + apc_fqdn: "" + apc_ip: "" + apc_port: "0" + coex_level: "none" + compliance_level: "compliance-level-2" + esl_channel: "-1" + output_power: "a" + scd_enable: "enable" + tls_cert_verification: "enable" + tls_fqdn_verification: "enable" + ext_info_enable: "enable" + frequency_handoff: "enable" + handoff_roaming: "enable" + handoff_rssi: "25" + handoff_sta_thresh: "0" + indoor_outdoor_deployment: "platform-determined" + ip_fragment_preventing: "tcp-mss-adjust" + lan: + port_esl_mode: "offline" + port_esl_ssid: " (source system.interface.name)" + port_mode: "offline" + port_ssid: " (source system.interface.name)" + port1_mode: "offline" + port1_ssid: " (source system.interface.name)" + port2_mode: "offline" + port2_ssid: " (source system.interface.name)" + port3_mode: "offline" + port3_ssid: " (source system.interface.name)" + port4_mode: "offline" + port4_ssid: " (source system.interface.name)" + port5_mode: "offline" + port5_ssid: " (source system.interface.name)" + port6_mode: "offline" + port6_ssid: " (source system.interface.name)" + port7_mode: "offline" + port7_ssid: " (source system.interface.name)" + port8_mode: "offline" + port8_ssid: " (source system.interface.name)" + lbs: + aeroscout: "enable" + aeroscout_ap_mac: "bssid" + aeroscout_mmu_report: "enable" + aeroscout_mu: "enable" + aeroscout_mu_factor: "20" + aeroscout_mu_timeout: "5" + aeroscout_server_ip: "" + aeroscout_server_port: "0" + ekahau_blink_mode: "enable" + ekahau_tag: "" + erc_server_ip: "" + erc_server_port: "8569" + fortipresence: "foreign" + fortipresence_ble: "enable" + fortipresence_frequency: "30" + fortipresence_port: "3000" + fortipresence_project: "" + fortipresence_rogue: "enable" + fortipresence_secret: "" + fortipresence_server: "" + fortipresence_server_addr_type: "ipv4" + fortipresence_server_fqdn: "" + fortipresence_unassoc: "enable" + polestar: "enable" + polestar_accumulation_interval: "2" + polestar_asset_addrgrp_list: " (source firewall.addrgrp.name)" + polestar_asset_uuid_list1: "" + polestar_asset_uuid_list2: "" + polestar_asset_uuid_list3: "" + polestar_asset_uuid_list4: "" + polestar_protocol: "WSS" + polestar_reporting_interval: "2" + polestar_server_fqdn: "" + polestar_server_path: "" + polestar_server_port: "443" + polestar_server_token: "" + station_locate: "enable" + led_schedules: + - + name: "default_name_96 (source firewall.schedule.group.name firewall.schedule.recurring.name firewall.schedule.onetime.name)" + led_state: "enable" + lldp: "enable" + login_passwd: "" + login_passwd_change: "yes" + max_clients: "0" + name: "default_name_102" + platform: + ddscan: "enable" + mode: "single-5G" + type: "AP-11N" + poe_mode: "auto" + radio_1: + airtime_fairness: "enable" + amsdu: "enable" + ap_handoff: "enable" + ap_sniffer_addr: "" + ap_sniffer_bufsize: "16" + ap_sniffer_chan: "36" + ap_sniffer_ctl: "enable" + ap_sniffer_data: "enable" + ap_sniffer_mgmt_beacon: "enable" + ap_sniffer_mgmt_other: "enable" + ap_sniffer_mgmt_probe: "enable" + arrp_profile: " (source wireless-controller.arrp-profile.name)" + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + band_5g_type: "5g-full" + bandwidth_admission_control: "enable" + bandwidth_capacity: "2000" + beacon_interval: "100" + bss_color: "0" + bss_color_mode: "auto" + call_admission_control: "enable" + call_capacity: "10" + channel: + - + chan: "" + channel_bonding: "160MHz" + channel_utilization: "enable" + coexistence: "enable" + darrp: "enable" + drma: "disable" + drma_sensitivity: "low" + dtim: "1" + frag_threshold: "2346" + frequency_handoff: "enable" + iperf_protocol: "udp" + iperf_server_port: "5001" + max_clients: "0" + max_distance: "0" + mimo_mode: "default" + mode: "disabled" + optional_antenna: "none" + power_level: "100" + power_mode: "dBm" + power_value: "27" + powersave_optimize: "tim" + protection_mode: "rtscts" + radio_id: "2" + rts_threshold: "2346" + sam_bssid: "" + sam_captive_portal: "enable" + sam_cwp_failure_string: "" + sam_cwp_match_string: "" + sam_cwp_password: "" + sam_cwp_success_string: "" + sam_cwp_test_url: "" + sam_cwp_username: "" + sam_password: "" + sam_report_intv: "0" + sam_security_type: "open" + sam_server: "" + sam_server_fqdn: "" + sam_server_ip: "" + sam_server_type: "ip" + sam_ssid: "" + sam_test: "ping" + sam_username: "" + set_80211d: "enable" + short_guard_interval: "enable" + spectrum_analysis: "enable" + transmit_optimize: "disable" + vap_all: "tunnel" + vaps: + - + name: "default_name_183 (source wireless-controller.vap-group.name system.interface.name)" + wids_profile: " (source wireless-controller.wids-profile.name)" + zero_wait_dfs: "enable" + radio_2: + airtime_fairness: "enable" + amsdu: "enable" + ap_handoff: "enable" + ap_sniffer_addr: "" + ap_sniffer_bufsize: "16" + ap_sniffer_chan: "6" + ap_sniffer_ctl: "enable" + ap_sniffer_data: "enable" + ap_sniffer_mgmt_beacon: "enable" + ap_sniffer_mgmt_other: "enable" + ap_sniffer_mgmt_probe: "enable" + arrp_profile: " (source wireless-controller.arrp-profile.name)" + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + band_5g_type: "5g-full" + bandwidth_admission_control: "enable" + bandwidth_capacity: "2000" + beacon_interval: "100" + bss_color: "0" + bss_color_mode: "auto" + call_admission_control: "enable" + call_capacity: "10" + channel: + - + chan: "" + channel_bonding: "160MHz" + channel_utilization: "enable" + coexistence: "enable" + darrp: "enable" + drma: "disable" + drma_sensitivity: "low" + dtim: "1" + frag_threshold: "2346" + frequency_handoff: "enable" + iperf_protocol: "udp" + iperf_server_port: "5001" + max_clients: "0" + max_distance: "0" + mimo_mode: "default" + mode: "disabled" + optional_antenna: "none" + power_level: "100" + power_mode: "dBm" + power_value: "27" + powersave_optimize: "tim" + protection_mode: "rtscts" + radio_id: "2" + rts_threshold: "2346" + sam_bssid: "" + sam_captive_portal: "enable" + sam_cwp_failure_string: "" + sam_cwp_match_string: "" + sam_cwp_password: "" + sam_cwp_success_string: "" + sam_cwp_test_url: "" + sam_cwp_username: "" + sam_password: "" + sam_report_intv: "0" + sam_security_type: "open" + sam_server: "" + sam_server_fqdn: "" + sam_server_ip: "" + sam_server_type: "ip" + sam_ssid: "" + sam_test: "ping" + sam_username: "" + set_80211d: "enable" + short_guard_interval: "enable" + spectrum_analysis: "enable" + transmit_optimize: "disable" + vap_all: "tunnel" + vaps: + - + name: "default_name_261 (source wireless-controller.vap-group.name system.interface.name)" + wids_profile: " (source wireless-controller.wids-profile.name)" + zero_wait_dfs: "enable" + radio_3: + airtime_fairness: "enable" + amsdu: "enable" + ap_handoff: "enable" + ap_sniffer_addr: "" + ap_sniffer_bufsize: "16" + ap_sniffer_chan: "6" + ap_sniffer_ctl: "enable" + ap_sniffer_data: "enable" + ap_sniffer_mgmt_beacon: "enable" + ap_sniffer_mgmt_other: "enable" + ap_sniffer_mgmt_probe: "enable" + arrp_profile: " (source wireless-controller.arrp-profile.name)" + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + band_5g_type: "5g-full" + bandwidth_admission_control: "enable" + bandwidth_capacity: "2000" + beacon_interval: "100" + bss_color: "0" + bss_color_mode: "auto" + call_admission_control: "enable" + call_capacity: "10" + channel: + - + chan: "" + channel_bonding: "160MHz" + channel_utilization: "enable" + coexistence: "enable" + darrp: "enable" + drma: "disable" + drma_sensitivity: "low" + dtim: "1" + frag_threshold: "2346" + frequency_handoff: "enable" + iperf_protocol: "udp" + iperf_server_port: "5001" + max_clients: "0" + max_distance: "0" + mimo_mode: "default" + mode: "disabled" + optional_antenna: "none" + power_level: "100" + power_mode: "dBm" + power_value: "27" + powersave_optimize: "tim" + protection_mode: "rtscts" + radio_id: "2" + rts_threshold: "2346" + sam_bssid: "" + sam_captive_portal: "enable" + sam_cwp_failure_string: "" + sam_cwp_match_string: "" + sam_cwp_password: "" + sam_cwp_success_string: "" + sam_cwp_test_url: "" + sam_cwp_username: "" + sam_password: "" + sam_report_intv: "0" + sam_security_type: "open" + sam_server: "" + sam_server_fqdn: "" + sam_server_ip: "" + sam_server_type: "ip" + sam_ssid: "" + sam_test: "ping" + sam_username: "" + set_80211d: "enable" + short_guard_interval: "enable" + spectrum_analysis: "enable" + transmit_optimize: "disable" + vap_all: "tunnel" + vaps: + - + name: "default_name_339 (source wireless-controller.vap-group.name system.interface.name)" + wids_profile: " (source wireless-controller.wids-profile.name)" + zero_wait_dfs: "enable" + radio_4: + airtime_fairness: "enable" + amsdu: "enable" + ap_handoff: "enable" + ap_sniffer_addr: "" + ap_sniffer_bufsize: "16" + ap_sniffer_chan: "6" + ap_sniffer_ctl: "enable" + ap_sniffer_data: "enable" + ap_sniffer_mgmt_beacon: "enable" + ap_sniffer_mgmt_other: "enable" + ap_sniffer_mgmt_probe: "enable" + arrp_profile: " (source wireless-controller.arrp-profile.name)" + auto_power_high: "17" + auto_power_level: "enable" + auto_power_low: "10" + auto_power_target: "" + band: "802.11a" + band_5g_type: "5g-full" + bandwidth_admission_control: "enable" + bandwidth_capacity: "2000" + beacon_interval: "100" + bss_color: "0" + bss_color_mode: "auto" + call_admission_control: "enable" + call_capacity: "10" + channel: + - + chan: "" + channel_bonding: "160MHz" + channel_utilization: "enable" + coexistence: "enable" + darrp: "enable" + drma: "disable" + drma_sensitivity: "low" + dtim: "1" + frag_threshold: "2346" + frequency_handoff: "enable" + iperf_protocol: "udp" + iperf_server_port: "5001" + max_clients: "0" + max_distance: "0" + mimo_mode: "default" + mode: "disabled" + optional_antenna: "none" + power_level: "100" + power_mode: "dBm" + power_value: "27" + powersave_optimize: "tim" + protection_mode: "rtscts" + rts_threshold: "2346" + sam_bssid: "" + sam_captive_portal: "enable" + sam_cwp_failure_string: "" + sam_cwp_match_string: "" + sam_cwp_password: "" + sam_cwp_success_string: "" + sam_cwp_test_url: "" + sam_cwp_username: "" + sam_password: "" + sam_report_intv: "0" + sam_security_type: "open" + sam_server: "" + sam_server_fqdn: "" + sam_server_ip: "" + sam_server_type: "ip" + sam_ssid: "" + sam_test: "ping" + sam_username: "" + set_80211d: "enable" + short_guard_interval: "enable" + spectrum_analysis: "enable" + transmit_optimize: "disable" + vap_all: "tunnel" + vaps: + - + name: "default_name_416 (source wireless-controller.vap-group.name system.interface.name)" + wids_profile: " (source wireless-controller.wids-profile.name)" + zero_wait_dfs: "enable" + split_tunneling_acl: + - + dest_ip: "" + id: "421" + split_tunneling_acl_local_ap_subnet: "enable" + split_tunneling_acl_path: "tunnel" + syslog_profile: " (source wireless-controller.syslog-profile.name)" + tun_mtu_downlink: "0" + tun_mtu_uplink: "0" + unii_4_5ghz_band: "enable" + wan_port_auth: "none" + wan_port_auth_methods: "all" + wan_port_auth_password: "" + wan_port_auth_usrname: "" + wan_port_mode: "wan-lan" """ RETURN = """ @@ -3452,7 +3566,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -3480,6 +3593,9 @@ from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.compariso from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( serialize, ) +from ansible_collections.fortinet.fortios.plugins.module_utils.fortios.comparison import ( + find_current_values, +) def filter_wireless_controller_wtp_profile_data(json): @@ -3620,7 +3736,6 @@ def valid_attr_to_invalid_attrs(data): def wireless_controller_wtp_profile(data, fos, check_mode=False): - vdom = data["vdom"] state = data["state"] @@ -3666,11 +3781,16 @@ def wireless_controller_wtp_profile(data, fos, check_mode=False): is_same = is_same_comparison( serialize(current_data["results"][0]), serialize(filtered_data) ) + + current_values = find_current_values( + current_data["results"][0], filtered_data + ) + return ( False, not is_same, filtered_data, - {"before": current_data["results"][0], "after": filtered_data}, + {"before": current_values, "after": filtered_data}, ) # record does not exist @@ -3722,7 +3842,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos, check_mode): - fos.do_member_operation("wireless-controller", "wtp-profile") if data["wireless_controller_wtp_profile"]: resp = wireless_controller_wtp_profile(data, fos, check_mode) @@ -3730,7 +3849,7 @@ def fortios_wireless_controller(data, fos, check_mode): fos._module.fail_json( msg="missing task body: %s" % ("wireless_controller_wtp_profile") ) - if check_mode: + if isinstance(resp, tuple) and len(resp) == 4: return resp return ( not is_successful_status(resp), @@ -3745,26458 +3864,1319 @@ versioned_schema = { "type": "list", "elements": "dict", "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - }, - "comment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "name": {"v_range": [["v6.0.0", ""]], "type": "string", "required": True}, + "comment": {"v_range": [["v6.0.0", ""]], "type": "string"}, "platform": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "AP-11N", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C24JE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "421E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "423E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "221E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "222E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "223E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "224E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "AP-11N"}, + {"value": "C24JE"}, + {"value": "421E"}, + {"value": "423E"}, + {"value": "221E"}, + {"value": "222E"}, + {"value": "223E"}, + {"value": "224E"}, { "value": "231E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "321E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, + {"value": "321E", "v_range": [["v6.2.0", ""]]}, { "value": "431F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, { "value": "431FL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], }, { "value": "432F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, { "value": "432FR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], }, { "value": "433F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, { "value": "433FL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], }, { "value": "231F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, { "value": "231FL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], }, { "value": "234F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, { "value": "23JF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "831F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.4.0"], + ["v6.4.4", ""], + ], }, + {"value": "831F", "v_range": [["v6.4.4", ""]]}, { "value": "231G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], }, { "value": "233G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "234G", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], }, + {"value": "234G", "v_range": [["v7.4.0", ""]]}, { "value": "431G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], }, { "value": "433G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U421E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U422EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U423E", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U221EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U223EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U24JEV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U321EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U323EV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "U431F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U433F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U231F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U234F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "U432F", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "U421E"}, + {"value": "U422EV"}, + {"value": "U423E"}, + {"value": "U221EV"}, + {"value": "U223EV"}, + {"value": "U24JEV"}, + {"value": "U321EV"}, + {"value": "U323EV"}, + {"value": "U431F", "v_range": [["v6.2.0", ""]]}, + {"value": "U433F", "v_range": [["v6.2.0", ""]]}, + {"value": "U231F", "v_range": [["v6.4.4", ""]]}, + {"value": "U234F", "v_range": [["v6.4.4", ""]]}, + {"value": "U432F", "v_range": [["v6.4.4", ""]]}, { "value": "U231G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "220B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "210B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "222B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "112B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "320B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "11C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "14C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "223B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "28C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "320C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "221C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "25D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "222C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "224D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "214B", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "21D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "24D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "112D", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "223C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "321C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C220C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C225C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "C23JD", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S321C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S322C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S323C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S311C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S313C", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S321CR", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S322CR", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S323CR", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S421E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S422E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S423E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S221E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "S223E", - "revisions": { - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]], + }, + {"value": "220B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "210B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "222B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "112B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "320B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "11C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "14C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "223B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "28C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "320C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "221C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "25D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "222C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "224D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "214B", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "21D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "24D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "112D", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "223C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "321C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "C220C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "C225C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "C23JD", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S321C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S322C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S323C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S311C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S313C", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S321CR", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S322CR", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S323CR", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S421E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S422E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S423E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S221E", "v_range": [["v6.0.0", "v7.2.4"]]}, + {"value": "S223E", "v_range": [["v6.0.0", "v7.2.4"]]}, { "value": "U441G", - "revisions": { - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", "v7.2.4"]], }, ], }, "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "single-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "dual-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "single-5G"}, {"value": "dual-5G"}], }, "ddscan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "control_message_offload": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "ebp-frame", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aeroscout-tag", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ap-list", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sta-list", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sta-cap-list", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "stats", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aeroscout-mu", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sta-health", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "spectral-analysis", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "ebp-frame"}, + {"value": "aeroscout-tag"}, + {"value": "ap-list"}, + {"value": "sta-list"}, + {"value": "sta-cap-list"}, + {"value": "stats"}, + {"value": "aeroscout-mu"}, + {"value": "sta-health", "v_range": [["v6.2.0", ""]]}, + {"value": "spectral-analysis", "v_range": [["v6.4.0", ""]]}, ], "multiple_values": True, "elements": "str", }, - "apcfg_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "ble_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "syslog_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, + "apcfg_profile": {"v_range": [["v6.4.0", ""]], "type": "string"}, + "ble_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "syslog_profile": {"v_range": [["v7.0.2", ""]], "type": "string"}, "wan_port_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "wan-lan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "wan-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "wan-lan"}, {"value": "wan-only"}], }, "lan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "port_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "port_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port1_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [ + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, + ], }, - "port1_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "port1_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "port2_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "port1_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "port2_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port2_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port2_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port3_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port3_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port3_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port4_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port4_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port4_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port5_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port5_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port5_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port6_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port6_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port6_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port7_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port7_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port7_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port8_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, - "port8_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, + "port8_ssid": {"v_range": [["v6.0.0", ""]], "type": "string"}, "port_esl_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "offline", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "nat-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "bridge-to-wan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, - { - "value": "bridge-to-ssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.0": True, - }, - }, + {"value": "offline"}, + {"value": "nat-to-wan"}, + {"value": "bridge-to-wan"}, + {"value": "bridge-to-ssid"}, ], }, "port_esl_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "string", }, }, }, "energy_efficient_ethernet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "led_state": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "led_schedules": { "type": "list", "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "dtls_policy": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "list", "options": [ - { - "value": "clear-text", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "dtls-enabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipsec-vpn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ipsec-sn-vpn", - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, + {"value": "clear-text"}, + {"value": "dtls-enabled"}, + {"value": "ipsec-vpn"}, + {"value": "ipsec-sn-vpn", "v_range": [["v7.4.0", ""]]}, ], "multiple_values": True, "elements": "str", }, "dtls_in_kernel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "max_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "handoff_rssi": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "max_clients": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "handoff_rssi": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "handoff_sta_thresh": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "handoff_roaming": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "handoff_sta_thresh": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "deny_mac_list": { + "type": "list", + "elements": "dict", + "children": { + "id": { + "v_range": [["v6.0.0", ""]], + "type": "integer", + "required": True, + }, + "mac": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, - "handoff_roaming": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "ap_country": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "--", "v_range": [["v7.0.1", ""]]}, + {"value": "AF", "v_range": [["v7.0.0", ""]]}, + {"value": "AL"}, + {"value": "DZ"}, + {"value": "AS", "v_range": [["v7.0.0", ""]]}, + {"value": "AO"}, + {"value": "AR"}, + {"value": "AM"}, + {"value": "AU"}, + {"value": "AT"}, + {"value": "AZ"}, + {"value": "BS", "v_range": [["v6.4.0", ""]]}, + {"value": "BH"}, + {"value": "BD"}, + {"value": "BB"}, + {"value": "BY"}, + {"value": "BE"}, + {"value": "BZ"}, + {"value": "BJ", "v_range": [["v7.0.0", ""]]}, + {"value": "BM", "v_range": [["v7.0.0", ""]]}, + {"value": "BT", "v_range": [["v7.0.0", ""]]}, + {"value": "BO"}, + {"value": "BA"}, + {"value": "BW", "v_range": [["v7.0.0", ""]]}, + {"value": "BR"}, + {"value": "BN"}, + {"value": "BG"}, + {"value": "BF", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "KH"}, + {"value": "CM", "v_range": [["v7.0.0", ""]]}, + {"value": "KY", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "CF", "v_range": [["v6.2.0", ""]]}, + {"value": "TD", "v_range": [["v7.0.0", ""]]}, + {"value": "CL"}, + {"value": "CN"}, + {"value": "CX", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "CO"}, + {"value": "CG", "v_range": [["v7.0.0", ""]]}, + {"value": "CD", "v_range": [["v7.0.0", ""]]}, + {"value": "CR"}, + {"value": "HR"}, + {"value": "CY"}, + {"value": "CZ"}, + {"value": "DK"}, + {"value": "DJ", "v_range": [["v7.4.1", ""]]}, + {"value": "DM", "v_range": [["v7.0.0", ""]]}, + {"value": "DO"}, + {"value": "EC"}, + {"value": "EG"}, + {"value": "SV"}, + {"value": "ET", "v_range": [["v7.0.0", ""]]}, + {"value": "EE"}, + {"value": "GF", "v_range": [["v7.0.0", ""]]}, + {"value": "PF", "v_range": [["v7.0.0", ""]]}, + {"value": "FO", "v_range": [["v7.0.0", ""]]}, + {"value": "FJ", "v_range": [["v7.0.0", ""]]}, + {"value": "FI"}, + {"value": "FR"}, + {"value": "GA", "v_range": [["v7.4.1", ""]]}, + {"value": "GE"}, + {"value": "GM", "v_range": [["v7.4.1", ""]]}, + {"value": "DE"}, + {"value": "GH", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "GI", "v_range": [["v7.0.0", ""]]}, + {"value": "GR"}, + {"value": "GL"}, + {"value": "GD"}, + {"value": "GP", "v_range": [["v7.0.0", ""]]}, + {"value": "GU"}, + {"value": "GT"}, + {"value": "GY", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "HT"}, + {"value": "HN"}, + {"value": "HK"}, + {"value": "HU"}, + {"value": "IS"}, + {"value": "IN"}, + {"value": "ID"}, + {"value": "IQ", "v_range": [["v7.0.0", ""]]}, + {"value": "IE"}, + {"value": "IM", "v_range": [["v7.0.0", ""]]}, + {"value": "IL"}, + {"value": "IT"}, + {"value": "CI", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "JM"}, + {"value": "JO"}, + {"value": "KZ"}, + {"value": "KE"}, + {"value": "KR"}, + {"value": "KW"}, + {"value": "LA", "v_range": [["v7.0.0", ""]]}, + {"value": "LV"}, + {"value": "LB"}, + {"value": "LS", "v_range": [["v7.0.0", ""]]}, + {"value": "LR", "v_range": [["v7.4.1", ""]]}, + {"value": "LY", "v_range": [["v7.0.0", ""]]}, + {"value": "LI"}, + {"value": "LT"}, + {"value": "LU"}, + {"value": "MO"}, + {"value": "MK"}, + {"value": "MG", "v_range": [["v7.0.0", ""]]}, + {"value": "MW", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "MY"}, + {"value": "MV", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "ML", "v_range": [["v7.0.0", ""]]}, + {"value": "MT"}, + {"value": "MH", "v_range": [["v7.0.0", ""]]}, + {"value": "MQ", "v_range": [["v7.0.0", ""]]}, + {"value": "MR", "v_range": [["v7.0.0", ""]]}, + {"value": "MU", "v_range": [["v7.0.0", ""]]}, + {"value": "YT", "v_range": [["v7.0.0", ""]]}, + {"value": "MX"}, + {"value": "FM", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "MD", "v_range": [["v7.0.0", ""]]}, + {"value": "MC"}, + {"value": "MN", "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.4", ""]]}, + {"value": "MA"}, + {"value": "MZ"}, + {"value": "MM"}, + {"value": "NA"}, + {"value": "NP"}, + {"value": "NL"}, + {"value": "AN"}, + {"value": "AW"}, + {"value": "NZ"}, + {"value": "NI", "v_range": [["v7.0.0", ""]]}, + {"value": "NE", "v_range": [["v7.0.0", ""]]}, + {"value": "NG", "v_range": [["v7.4.1", ""]]}, + {"value": "NO"}, + {"value": "MP", "v_range": [["v7.0.0", ""]]}, + {"value": "OM"}, + {"value": "PK"}, + {"value": "PW", "v_range": [["v7.0.0", ""]]}, + {"value": "PA"}, + {"value": "PG"}, + {"value": "PY"}, + {"value": "PE"}, + {"value": "PH"}, + {"value": "PL"}, + {"value": "PT"}, + {"value": "PR"}, + {"value": "QA"}, + {"value": "RE", "v_range": [["v7.0.0", ""]]}, + {"value": "RO"}, + {"value": "RU"}, + {"value": "RW"}, + {"value": "BL", "v_range": [["v7.0.0", ""]]}, + {"value": "KN", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "LC", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "MF", "v_range": [["v7.0.0", ""]]}, + {"value": "PM", "v_range": [["v7.0.0", ""]]}, + {"value": "VC", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "SA"}, + {"value": "SN", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "RS"}, + {"value": "ME"}, + {"value": "SL", "v_range": [["v7.0.0", ""]]}, + {"value": "SG"}, + {"value": "SK"}, + {"value": "SI"}, + {"value": "SO", "v_range": [["v7.4.1", ""]]}, + {"value": "ZA"}, + {"value": "ES"}, + {"value": "LK"}, + {"value": "SR", "v_range": [["v7.0.0", ""]]}, + {"value": "SZ", "v_range": [["v7.4.1", ""]]}, + {"value": "SE"}, + {"value": "CH"}, + {"value": "TW"}, + {"value": "TZ"}, + {"value": "TH"}, + {"value": "TG", "v_range": [["v7.0.0", ""]]}, + {"value": "TT"}, + {"value": "TN"}, + {"value": "TR"}, + {"value": "TM", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "AE"}, + {"value": "TC", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "UG", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "UA"}, + {"value": "GB"}, + {"value": "US"}, + {"value": "PS"}, + {"value": "UY"}, + {"value": "UZ"}, + {"value": "VU", "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]]}, + {"value": "VE"}, + {"value": "VN"}, + {"value": "VI", "v_range": [["v7.0.0", ""]]}, + {"value": "WF", "v_range": [["v7.0.0", ""]]}, + {"value": "YE"}, + {"value": "ZM", "v_range": [["v7.0.0", ""]]}, + {"value": "ZW"}, + {"value": "JP"}, + {"value": "CA"}, + {"value": "IR", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "KP", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "SD", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "SY", "v_range": [["v6.0.0", "v6.4.4"]]}, + {"value": "ZB", "v_range": [["v6.0.0", "v6.4.4"]]}, ], }, - "deny_mac_list": { + "ip_fragment_preventing": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [{"value": "tcp-mss-adjust"}, {"value": "icmp-unreachable"}], + "multiple_values": True, + "elements": "str", + }, + "tun_mtu_uplink": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "tun_mtu_downlink": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "split_tunneling_acl_path": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "tunnel"}, {"value": "local"}], + }, + "split_tunneling_acl_local_ap_subnet": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "split_tunneling_acl": { "type": "list", "elements": "dict", "children": { "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", "required": True, }, - "mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, + "dest_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, }, + "v_range": [["v6.0.0", ""]], }, - "ap_country": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "allowaccess": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [ + {"value": "https"}, + {"value": "ssh"}, + {"value": "snmp", "v_range": [["v6.2.0", ""]]}, + {"value": "telnet", "v_range": [["v6.0.0", "v6.0.11"]]}, + {"value": "http", "v_range": [["v6.0.0", "v6.0.11"]]}, + ], + "multiple_values": True, + "elements": "str", + }, + "login_passwd_change": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "yes"}, {"value": "default"}, {"value": "no"}], + }, + "login_passwd": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "lldp": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "poe_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "--", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + {"value": "auto"}, + {"value": "8023af"}, + {"value": "8023at"}, + {"value": "power-adapter"}, + {"value": "full", "v_range": [["v6.4.4", ""]]}, + {"value": "high", "v_range": [["v6.4.4", ""]]}, + {"value": "low", "v_range": [["v6.4.4", ""]]}, + ], + }, + "frequency_handoff": { + "v_range": [["v6.4.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_handoff": { + "v_range": [["v6.4.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "radio_1": { + "v_range": [["v6.0.0", ""]], + "type": "dict", + "children": { + "mode": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "disabled"}, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "sniffer"}, + {"value": "sam", "v_range": [["v7.0.0", ""]]}, + ], }, - { - "value": "AF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "band": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ac-2G", "v_range": [["v6.4.0", ""]]}, + { + "value": "802.11ax-6G", + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,ac,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-5G-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n,g-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-only", "v_range": [["v6.2.0", ""]]}, + ], }, - { - "value": "AL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "band_5g_type": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "string", + "options": [ + {"value": "5g-full"}, + {"value": "5g-high"}, + {"value": "5g-low"}, + ], }, - { - "value": "DZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "drma": { + "v_range": [["v6.4.4", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], }, - { - "value": "AS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "drma_sensitivity": { + "v_range": [["v6.4.4", ""]], + "type": "string", + "options": [ + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, + ], }, - { - "value": "AO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "airtime_fairness": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - { - "value": "AR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "protection_mode": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [ + {"value": "rtscts"}, + {"value": "ctsonly"}, + {"value": "disable"}, + ], }, - { - "value": "AM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "powersave_optimize": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [ + {"value": "tim"}, + {"value": "ac-vo"}, + {"value": "no-obss-scan"}, + {"value": "no-11b-rate"}, + {"value": "client-rate-follow"}, + ], + "multiple_values": True, + "elements": "str", }, - { - "value": "AU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "transmit_optimize": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [ + {"value": "disable"}, + {"value": "power-save"}, + {"value": "aggr-limit"}, + {"value": "retry-limit"}, + {"value": "send-bar"}, + ], + "multiple_values": True, + "elements": "str", }, - { - "value": "AT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "amsdu": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - { - "value": "AZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "coexistence": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - { - "value": "BS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BJ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "BR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "KH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "KY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CX", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "DO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "EC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "EG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ET", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "EE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "PF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "FO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "FJ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "FI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "DE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "GI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "GR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "GU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "HT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "HU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ID", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IQ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "IE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "IL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "JM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "JO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MV", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ML", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MQ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "YT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MX", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "FM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MD", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "AW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "NI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "NE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "NO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "MP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "OM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "PA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "QA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "RE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "RO", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "RU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "RW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "BL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "KN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "LC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "MF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "PM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "VC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "SA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "RS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ME", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SL", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "SG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ZA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ES", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "LK", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "CH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TH", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "TT", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TR", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "AE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "TC", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "UG", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "UA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "GB", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "US", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "PS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "UY", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "UZ", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "VU", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "VE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "VN", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "VI", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "WF", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "YE", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ZM", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "ZW", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "JP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "CA", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "IR", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "KP", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SD", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "SY", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ZB", - "revisions": { - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ip_fragment_preventing": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "tcp-mss-adjust", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "icmp-unreachable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "tun_mtu_uplink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "tun_mtu_downlink": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "split_tunneling_acl_path": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "local", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "split_tunneling_acl_local_ap_subnet": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "split_tunneling_acl": { - "type": "list", - "elements": "dict", - "children": { - "id": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - "required": True, - }, - "dest_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "allowaccess": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "https", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ssh", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "snmp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "telnet", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - { - "value": "http", - "revisions": {"v6.0.5": True, "v6.0.11": True, "v6.0.0": True}, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "login_passwd_change": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "yes", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "default", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "login_passwd": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "lldp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "poe_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8023af", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "8023at", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "power-adapter", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - }, - "frequency_handoff": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "ap_handoff": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - }, - }, - ], - }, - "radio_1": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "dict", - "children": { - "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sniffer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - }, - "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - }, - "band_5g_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "5g-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "drma": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "drma_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "airtime_fairness": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "protection_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "rtscts", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ctsonly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "powersave_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "tim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ac-vo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no-obss-scan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no-11b-rate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client-rate-follow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "transmit_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "power-save", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aggr-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "retry-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send-bar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "amsdu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "coexistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "zero_wait_dfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "bss_color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "bss_color_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "short_guard_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "channel_bonding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "160MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "80MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "optional_antenna": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "none", "revisions": {"v7.4.0": True}}, - { - "value": "FANT-04ABGN-0606-O-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-1414-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-8065-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-O-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-P-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-10ACAX-1213-D-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-08ABGN-1213-D-R", - "revisions": {"v7.4.0": True}, - }, - ], - }, - "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "dtim": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "beacon_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "rts_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "frag_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_sniffer_bufsize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_sniffer_chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_sniffer_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ap_sniffer_mgmt_beacon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_mgmt_probe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_mgmt_other": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_ctl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sam_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_bssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_security_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-personal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_captive_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_cwp_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_test_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_match_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_success_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_failure_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_test": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "iperf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "sam_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_server_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "iperf_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "iperf_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "channel_utilization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "wids_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "darrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "arrp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "max_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vaps": { - "type": "list", - "elements": "dict", - "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "channel": { - "type": "list", - "elements": "dict", - "children": { - "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "call_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "call_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bandwidth_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "bandwidth_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sam_server": { - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "frequency_handoff": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_handoff": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "radio_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "set_80211d": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - }, - }, - "radio_2": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "dict", - "children": { - "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sniffer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "sam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - }, - "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - ], - }, - "band_5g_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "5g-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "drma": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "drma_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], - }, - "airtime_fairness": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "protection_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "rtscts", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ctsonly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "powersave_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "tim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "ac-vo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no-obss-scan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "no-11b-rate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "client-rate-follow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "transmit_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "list", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "power-save", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "aggr-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "retry-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "send-bar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "amsdu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "coexistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "zero_wait_dfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "bss_color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "bss_color_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "short_guard_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "channel_bonding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "160MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "80MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "40MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "20MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "optional_antenna": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - {"value": "none", "revisions": {"v7.4.0": True}}, - { - "value": "FANT-04ABGN-0606-O-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-1414-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-8065-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-O-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-P-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-10ACAX-1213-D-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-08ABGN-1213-D-R", - "revisions": {"v7.4.0": True}, - }, - ], - }, - "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "dtim": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "beacon_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "rts_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "frag_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_sniffer_bufsize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_sniffer_chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "ap_sniffer_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "ap_sniffer_mgmt_beacon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_mgmt_probe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_mgmt_other": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_ctl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_sniffer_data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "sam_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_bssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_security_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-personal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_captive_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_cwp_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_test_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_match_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_success_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_cwp_failure_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_test": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "iperf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "sam_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "sam_server_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "iperf_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "iperf_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], - }, - "sam_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "integer", - }, - "channel_utilization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "wids_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "darrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "arrp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "max_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "max_distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "vaps": { - "type": "list", - "elements": "dict", - "children": { - "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "channel": { - "type": "list", - "elements": "dict", - "children": { - "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "required": True, - } - }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - "call_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "call_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "bandwidth_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "bandwidth_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "sam_server": { - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "frequency_handoff": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ap_handoff": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "zero_wait_dfs": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "radio_id": { - "revisions": { - "v6.2.3": True, - "v6.2.0": False, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "bss_color": { + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, - "set_80211d": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], - }, - }, - }, - "radio_3": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "dict", - "children": { - "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sniffer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "sam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - ], - }, - "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "bss_color_mode": { + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "static"}], }, - "band_5g_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - }, + "short_guard_interval": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "5g-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "drma": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "mimo_mode": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "default"}, + {"value": "1x1"}, + {"value": "2x2"}, + {"value": "3x3"}, + {"value": "4x4"}, + {"value": "8x8"}, ], }, - "drma_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "channel_bonding": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "160MHz", "v_range": [["v6.2.0", ""]]}, + {"value": "80MHz"}, + {"value": "40MHz"}, + {"value": "20MHz"}, ], }, - "airtime_fairness": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "optional_antenna": { + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "none"}, + {"value": "FANT-04ABGN-0606-O-N"}, + {"value": "FANT-04ABGN-1414-P-N"}, + {"value": "FANT-04ABGN-8065-P-N"}, + {"value": "FANT-04ABGN-0606-O-R"}, + {"value": "FANT-04ABGN-0606-P-R"}, + {"value": "FANT-10ACAX-1213-D-N"}, + {"value": "FANT-08ABGN-1213-D-R"}, ], }, - "protection_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "auto_power_level": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "rtscts", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ctsonly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "powersave_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "list", - "options": [ - { - "value": "tim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "ac-vo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "no-obss-scan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "no-11b-rate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "client-rate-follow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", - }, - "transmit_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "list", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "power-save", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "aggr-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "retry-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "send-bar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - "multiple_values": True, - "elements": "str", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "amsdu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "auto_power_high": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_low": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "power_mode": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "dBm"}, {"value": "percentage"}], + }, + "power_level": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "dtim": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "beacon_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "rts_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "frag_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_sniffer_bufsize": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_sniffer_chan": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_sniffer_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ap_sniffer_mgmt_beacon": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "coexistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "ap_sniffer_mgmt_probe": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "zero_wait_dfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - }, + "ap_sniffer_mgmt_other": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "bss_color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "bss_color_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "ap_sniffer_ctl": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "short_guard_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "ap_sniffer_data": { + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "channel_bonding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "sam_ssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_bssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_security_type": { + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "160MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "80MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "40MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "20MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "open"}, + {"value": "wpa-personal"}, + {"value": "wpa-enterprise"}, ], }, - "optional_antenna": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "sam_captive_portal": { + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - {"value": "none", "revisions": {"v7.4.0": True}}, - { - "value": "FANT-04ABGN-0606-O-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-1414-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-8065-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-O-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-P-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-10ACAX-1213-D-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-08ABGN-1213-D-R", - "revisions": {"v7.4.0": True}, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "sam_cwp_username": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_password": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_test_url": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_match_string": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_success_string": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], }, - "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "sam_cwp_failure_string": { + "v_range": [["v7.0.1", ""]], + "type": "string", }, - "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "sam_username": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_password": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_test": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "ping"}, {"value": "iperf"}], }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "sam_server_type": { + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "ip"}, {"value": "fqdn"}], }, - "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "sam_server_ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_server_fqdn": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "iperf_server_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "iperf_protocol": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "udp"}, {"value": "tcp"}], + }, + "sam_report_intv": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "channel_utilization": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "wids_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "darrp": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "arrp_profile": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "max_clients": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "vap_all": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, + {"value": "enable", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "disable", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, - "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, + "vaps": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "required": True, + } }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, + "channel": { + "type": "list", + "elements": "dict", + "children": { + "chan": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "required": True, + } }, - "type": "integer", + "v_range": [["v6.0.0", ""]], }, - "dtim": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "call_admission_control": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "beacon_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "call_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "bandwidth_admission_control": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "rts_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "bandwidth_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sam_server": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, + "spectrum_analysis": { + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], + "type": "string", + "options": [ + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, + ], }, - "frag_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "frequency_handoff": { + "v_range": [["v6.0.0", "v6.2.7"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_sniffer_bufsize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "ap_handoff": { + "v_range": [["v6.0.0", "v6.2.7"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_sniffer_chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "radio_id": { + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, - "ap_sniffer_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "set_80211d": { + "v_range": [["v7.2.1", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_sniffer_mgmt_beacon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + }, + }, + "radio_2": { + "v_range": [["v6.0.0", ""]], + "type": "dict", + "children": { + "mode": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "disabled"}, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "sniffer"}, + {"value": "sam", "v_range": [["v7.0.0", ""]]}, ], }, - "ap_sniffer_mgmt_probe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "band": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ac-2G", "v_range": [["v6.4.0", ""]]}, { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + "value": "802.11ax-6G", + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,ac,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-5G-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax,n,g-only", "v_range": [["v6.2.0", ""]]}, + {"value": "802.11ax-only", "v_range": [["v6.2.0", ""]]}, ], }, - "ap_sniffer_mgmt_other": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "band_5g_type": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "5g-full"}, + {"value": "5g-high"}, + {"value": "5g-low"}, ], }, - "ap_sniffer_ctl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "drma": { + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, - "ap_sniffer_data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "drma_sensitivity": { + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, ], }, - "sam_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", - }, - "sam_bssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "airtime_fairness": { + "v_range": [["v6.2.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_security_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "protection_mode": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-personal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "rtscts"}, + {"value": "ctsonly"}, + {"value": "disable"}, ], }, - "sam_captive_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", + "powersave_optimize": { + "v_range": [["v6.0.0", ""]], + "type": "list", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "tim"}, + {"value": "ac-vo"}, + {"value": "no-obss-scan"}, + {"value": "no-11b-rate"}, + {"value": "client-rate-follow"}, ], + "multiple_values": True, + "elements": "str", }, - "sam_cwp_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", + "transmit_optimize": { + "v_range": [["v6.0.0", ""]], + "type": "list", + "options": [ + {"value": "disable"}, + {"value": "power-save"}, + {"value": "aggr-limit"}, + {"value": "retry-limit"}, + {"value": "send-bar"}, + ], + "multiple_values": True, + "elements": "str", }, - "sam_cwp_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "amsdu": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_cwp_test_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "coexistence": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_cwp_match_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "zero_wait_dfs": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_cwp_success_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "string", + "bss_color": { + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], + "type": "integer", }, - "sam_cwp_failure_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "bss_color_mode": { + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "auto"}, {"value": "static"}], }, - "sam_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "short_guard_interval": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "mimo_mode": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [ + {"value": "default"}, + {"value": "1x1"}, + {"value": "2x2"}, + {"value": "3x3"}, + {"value": "4x4"}, + {"value": "8x8"}, + ], }, - "sam_test": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "channel_bonding": { + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "iperf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "160MHz", "v_range": [["v6.2.0", ""]]}, + {"value": "80MHz"}, + {"value": "40MHz"}, + {"value": "20MHz"}, ], }, - "sam_server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "optional_antenna": { + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "none"}, + {"value": "FANT-04ABGN-0606-O-N"}, + {"value": "FANT-04ABGN-1414-P-N"}, + {"value": "FANT-04ABGN-8065-P-N"}, + {"value": "FANT-04ABGN-0606-O-R"}, + {"value": "FANT-04ABGN-0606-P-R"}, + {"value": "FANT-10ACAX-1213-D-N"}, + {"value": "FANT-08ABGN-1213-D-R"}, ], }, - "sam_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "auto_power_level": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_server_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "auto_power_high": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_low": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "power_mode": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "dBm"}, {"value": "percentage"}], + }, + "power_level": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "dtim": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "beacon_interval": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "rts_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "frag_threshold": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_sniffer_bufsize": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_sniffer_chan": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "ap_sniffer_addr": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "ap_sniffer_mgmt_beacon": { + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "iperf_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", + "ap_sniffer_mgmt_probe": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_sniffer_mgmt_other": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_sniffer_ctl": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_sniffer_data": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "iperf_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "sam_ssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_bssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_security_type": { + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "open"}, + {"value": "wpa-personal"}, + {"value": "wpa-enterprise"}, ], }, - "sam_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - "type": "integer", + "sam_captive_portal": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "channel_utilization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "sam_cwp_username": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_password": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_test_url": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_match_string": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_success_string": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], }, - "wids_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "sam_cwp_failure_string": { + "v_range": [["v7.0.1", ""]], "type": "string", }, - "darrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "sam_username": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_password": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_test": { + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "ping"}, {"value": "iperf"}], }, - "arrp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "sam_server_type": { + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "ip"}, {"value": "fqdn"}], }, - "max_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "sam_server_ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_server_fqdn": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "iperf_server_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "iperf_protocol": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "udp"}, {"value": "tcp"}], }, - "max_distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "sam_report_intv": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "channel_utilization": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "wids_profile": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "darrp": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "arrp_profile": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "max_clients": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "max_distance": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, + {"value": "enable", "v_range": [["v6.0.0", "v6.2.7"]]}, + {"value": "disable", "v_range": [["v6.0.0", "v6.2.7"]]}, ], }, "vaps": { @@ -30204,4457 +5184,764 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "channel": { "type": "list", "elements": "dict", "children": { "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", ""]], }, "call_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "call_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "call_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "bandwidth_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], - }, - "bandwidth_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - "type": "integer", - }, - "sam_server": { - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "bandwidth_capacity": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "sam_server": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, ], }, "frequency_handoff": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ap_handoff": { - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, + "v_range": [["v6.0.0", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "radio_id": { - "revisions": {"v6.2.3": True, "v6.2.0": False}, + "v_range": [["v6.0.0", "v6.0.11"], ["v6.2.3", "v6.2.3"]], "type": "integer", }, "set_80211d": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, - "radio_4": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": False, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "radio_3": { + "v_range": [["v6.2.0", ""]], "type": "dict", "children": { "mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "disabled", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "ap", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "monitor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sniffer", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "sam", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, + {"value": "disabled"}, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "sniffer"}, + {"value": "sam", "v_range": [["v7.0.0", ""]]}, ], }, "band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "802.11a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac-2G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G"}, + {"value": "802.11ax"}, + {"value": "802.11ac-2G", "v_range": [["v6.4.0", ""]]}, { "value": "802.11ax-6G", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": True, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "802.11n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11n-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,ac,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-5G-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax,n,g-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "802.11ax-only", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only"}, + {"value": "802.11ax,ac,n-only"}, + {"value": "802.11ax-5G-only"}, + {"value": "802.11ax,n-only"}, + {"value": "802.11ax,n,g-only"}, + {"value": "802.11ax-only"}, ], }, "band_5g_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "5g-full", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "5g-low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "5g-full"}, + {"value": "5g-high"}, + {"value": "5g-low"}, ], }, "drma": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - ], + "options": [{"value": "disable"}, {"value": "enable"}], }, "drma_sensitivity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "low", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "medium", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, - { - "value": "high", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - }, - }, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, ], }, "airtime_fairness": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "protection_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "rtscts", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "ctsonly", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "rtscts"}, + {"value": "ctsonly"}, + {"value": "disable"}, ], }, "powersave_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "list", "options": [ - { - "value": "tim", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "ac-vo", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "no-obss-scan", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "no-11b-rate", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "client-rate-follow", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "tim"}, + {"value": "ac-vo"}, + {"value": "no-obss-scan"}, + {"value": "no-11b-rate"}, + {"value": "client-rate-follow"}, ], "multiple_values": True, "elements": "str", }, "transmit_optimize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "list", - "options": [ - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "power-save", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "aggr-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "retry-limit", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "send-bar", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + "v_range": [["v6.2.0", ""]], + "type": "list", + "options": [ + {"value": "disable"}, + {"value": "power-save"}, + {"value": "aggr-limit"}, + {"value": "retry-limit"}, + {"value": "send-bar"}, ], "multiple_values": True, "elements": "str", }, "amsdu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "coexistence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "zero_wait_dfs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bss_color": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], "type": "integer", }, "bss_color_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "auto", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "static", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "static"}], }, "short_guard_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "mimo_mode": { + "v_range": [["v7.4.1", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "default"}, + {"value": "1x1"}, + {"value": "2x2"}, + {"value": "3x3"}, + {"value": "4x4"}, + {"value": "8x8"}, ], }, "channel_bonding": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "160MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "80MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "40MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "20MHz", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "160MHz"}, + {"value": "80MHz"}, + {"value": "40MHz"}, + {"value": "20MHz"}, ], }, "optional_antenna": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - {"value": "none", "revisions": {"v7.4.0": True}}, - { - "value": "FANT-04ABGN-0606-O-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-1414-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-8065-P-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-O-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-04ABGN-0606-P-R", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-10ACAX-1213-D-N", - "revisions": {"v7.4.0": True}, - }, - { - "value": "FANT-08ABGN-1213-D-R", - "revisions": {"v7.4.0": True}, - }, + {"value": "none"}, + {"value": "FANT-04ABGN-0606-O-N"}, + {"value": "FANT-04ABGN-1414-P-N"}, + {"value": "FANT-04ABGN-8065-P-N"}, + {"value": "FANT-04ABGN-0606-O-R"}, + {"value": "FANT-04ABGN-0606-P-R"}, + {"value": "FANT-10ACAX-1213-D-N"}, + {"value": "FANT-08ABGN-1213-D-R"}, ], }, "auto_power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "auto_power_high": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "auto_power_low": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "power_mode": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "dBm"}, {"value": "percentage"}], + }, + "power_level": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "dtim": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "beacon_interval": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "rts_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "frag_threshold": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "ap_sniffer_bufsize": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "ap_sniffer_chan": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "ap_sniffer_addr": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "ap_sniffer_mgmt_beacon": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_sniffer_mgmt_probe": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_sniffer_mgmt_other": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_sniffer_ctl": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "ap_sniffer_data": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "sam_ssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_bssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_security_type": { + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "open"}, + {"value": "wpa-personal"}, + {"value": "wpa-enterprise"}, ], }, - "auto_power_high": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "sam_captive_portal": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "auto_power_low": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "sam_cwp_username": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_password": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_test_url": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_match_string": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_success_string": { + "v_range": [["v7.0.1", ""]], + "type": "string", }, - "auto_power_target": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "sam_cwp_failure_string": { + "v_range": [["v7.0.1", ""]], "type": "string", }, - "power_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "sam_username": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_password": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_test": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "ping"}, {"value": "iperf"}], + }, + "sam_server_type": { + "v_range": [["v7.0.1", ""]], + "type": "string", + "options": [{"value": "ip"}, {"value": "fqdn"}], + }, + "sam_server_ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_server_fqdn": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "iperf_server_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "iperf_protocol": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "udp"}, {"value": "tcp"}], + }, + "sam_report_intv": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "channel_utilization": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "wids_profile": {"v_range": [["v6.2.0", ""]], "type": "string"}, + "darrp": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "arrp_profile": {"v_range": [["v7.0.4", ""]], "type": "string"}, + "max_clients": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "max_distance": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "vap_all": { + "v_range": [["v6.2.0", ""]], "type": "string", "options": [ - { - "value": "dBm", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "percentage", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, + {"value": "enable", "v_range": [["v6.2.0", "v6.2.7"]]}, + {"value": "disable", "v_range": [["v6.2.0", "v6.2.7"]]}, ], }, - "power_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, + "vaps": { + "type": "list", + "elements": "dict", + "children": { + "name": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "required": True, + } }, - "type": "integer", + "v_range": [["v6.2.0", ""]], }, - "power_value": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, + "channel": { + "type": "list", + "elements": "dict", + "children": { + "chan": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "required": True, + } }, - "type": "integer", + "v_range": [["v6.2.0", ""]], }, - "dtim": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "call_admission_control": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "beacon_interval": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "call_capacity": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "bandwidth_admission_control": { + "v_range": [["v6.2.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "rts_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "bandwidth_capacity": {"v_range": [["v6.2.0", ""]], "type": "integer"}, + "sam_server": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, + "spectrum_analysis": { + "v_range": [["v6.2.0", "v6.2.7"], ["v6.4.1", "v6.4.1"]], + "type": "string", + "options": [ + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, + ], }, - "frag_threshold": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "frequency_handoff": { + "v_range": [["v6.2.0", "v6.2.7"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_sniffer_bufsize": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "ap_handoff": { + "v_range": [["v6.2.0", "v6.2.7"]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_sniffer_chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "integer", + "radio_id": {"v_range": [["v6.2.3", "v6.2.3"]], "type": "integer"}, + "set_80211d": { + "v_range": [["v7.2.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_sniffer_addr": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + }, + }, + "radio_4": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "dict", + "children": { + "mode": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [ + {"value": "disabled"}, + {"value": "ap"}, + {"value": "monitor"}, + {"value": "sniffer"}, + {"value": "sam", "v_range": [["v7.0.0", ""]]}, + ], }, - "ap_sniffer_mgmt_beacon": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "band": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ + {"value": "802.11a"}, + {"value": "802.11b"}, + {"value": "802.11g"}, + {"value": "802.11n"}, + {"value": "802.11n-5G"}, + {"value": "802.11ac"}, + {"value": "802.11ax-5G"}, + {"value": "802.11ax"}, + {"value": "802.11ac-2G", "v_range": [["v6.4.0", ""]]}, { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + "value": "802.11ax-6G", + "v_range": [["v7.0.8", "v7.0.12"], ["v7.2.1", ""]], + }, + {"value": "802.11n,g-only"}, + {"value": "802.11g-only"}, + {"value": "802.11n-only"}, + {"value": "802.11n-5G-only"}, + {"value": "802.11ac,n-only"}, + {"value": "802.11ac-only"}, + {"value": "802.11ax,ac-only"}, + {"value": "802.11ax,ac,n-only"}, + {"value": "802.11ax-5G-only"}, + {"value": "802.11ax,n-only"}, + {"value": "802.11ax,n,g-only"}, + {"value": "802.11ax-only"}, ], }, - "ap_sniffer_mgmt_probe": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "band_5g_type": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "5g-full"}, + {"value": "5g-high"}, + {"value": "5g-low"}, ], }, - "ap_sniffer_mgmt_other": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "drma": { + "v_range": [["v6.4.4", ""]], + "type": "string", + "options": [{"value": "disable"}, {"value": "enable"}], + }, + "drma_sensitivity": { + "v_range": [["v6.4.4", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "low"}, + {"value": "medium"}, + {"value": "high"}, ], }, - "ap_sniffer_ctl": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "airtime_fairness": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "protection_mode": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "rtscts"}, + {"value": "ctsonly"}, + {"value": "disable"}, + ], + }, + "powersave_optimize": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "list", + "options": [ + {"value": "tim"}, + {"value": "ac-vo"}, + {"value": "no-obss-scan"}, + {"value": "no-11b-rate"}, + {"value": "client-rate-follow"}, + ], + "multiple_values": True, + "elements": "str", + }, + "transmit_optimize": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "list", + "options": [ + {"value": "disable"}, + {"value": "power-save"}, + {"value": "aggr-limit"}, + {"value": "retry-limit"}, + {"value": "send-bar"}, ], + "multiple_values": True, + "elements": "str", + }, + "amsdu": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "coexistence": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "zero_wait_dfs": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "ap_sniffer_data": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "bss_color": { + "v_range": [["v6.4.0", "v6.4.0"], ["v6.4.4", ""]], + "type": "integer", + }, + "bss_color_mode": { + "v_range": [["v7.0.2", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "auto"}, {"value": "static"}], }, - "sam_ssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "short_guard_interval": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_bssid": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "mimo_mode": { + "v_range": [["v7.4.1", ""]], "type": "string", + "options": [ + {"value": "default"}, + {"value": "1x1"}, + {"value": "2x2"}, + {"value": "3x3"}, + {"value": "4x4"}, + {"value": "8x8"}, + ], }, - "sam_security_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "channel_bonding": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "open", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-personal", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "wpa-enterprise", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "160MHz"}, + {"value": "80MHz"}, + {"value": "40MHz"}, + {"value": "20MHz"}, ], }, - "sam_captive_portal": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "optional_antenna": { + "v_range": [["v7.4.0", ""]], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "none"}, + {"value": "FANT-04ABGN-0606-O-N"}, + {"value": "FANT-04ABGN-1414-P-N"}, + {"value": "FANT-04ABGN-8065-P-N"}, + {"value": "FANT-04ABGN-0606-O-R"}, + {"value": "FANT-04ABGN-0606-P-R"}, + {"value": "FANT-10ACAX-1213-D-N"}, + {"value": "FANT-08ABGN-1213-D-R"}, ], }, - "sam_cwp_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "auto_power_level": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_cwp_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "auto_power_high": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "auto_power_low": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "auto_power_target": {"v_range": [["v6.4.4", ""]], "type": "string"}, + "power_mode": { + "v_range": [["v7.0.0", ""]], "type": "string", + "options": [{"value": "dBm"}, {"value": "percentage"}], }, - "sam_cwp_test_url": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "power_level": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "power_value": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "dtim": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "beacon_interval": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "rts_threshold": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "frag_threshold": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "ap_sniffer_bufsize": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "ap_sniffer_chan": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], + "type": "integer", + }, + "ap_sniffer_addr": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, - "sam_cwp_match_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "ap_sniffer_mgmt_beacon": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_cwp_success_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "ap_sniffer_mgmt_probe": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_cwp_failure_string": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "ap_sniffer_mgmt_other": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_username": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "ap_sniffer_ctl": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "ap_sniffer_data": { + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_test": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "sam_ssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_bssid": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_security_type": { + "v_range": [["v7.0.0", ""]], "type": "string", "options": [ - { - "value": "ping", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "iperf", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, + {"value": "open"}, + {"value": "wpa-personal"}, + {"value": "wpa-enterprise"}, ], }, - "sam_server_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "sam_captive_portal": { + "v_range": [["v7.0.0", ""]], "type": "string", - "options": [ - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, - "sam_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "sam_cwp_username": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_password": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_test_url": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_match_string": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_cwp_success_string": { + "v_range": [["v7.0.1", ""]], "type": "string", }, - "sam_server_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "sam_cwp_failure_string": { + "v_range": [["v7.0.1", ""]], "type": "string", }, - "iperf_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - "type": "integer", + "sam_username": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_password": {"v_range": [["v7.0.0", ""]], "type": "string"}, + "sam_test": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "ping"}, {"value": "iperf"}], }, - "iperf_protocol": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "sam_server_type": { + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "udp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - { - "value": "tcp", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - }, - }, - ], + "options": [{"value": "ip"}, {"value": "fqdn"}], }, - "sam_report_intv": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - "type": "integer", + "sam_server_ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "sam_server_fqdn": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "iperf_server_port": {"v_range": [["v7.0.0", ""]], "type": "integer"}, + "iperf_protocol": { + "v_range": [["v7.0.0", ""]], + "type": "string", + "options": [{"value": "udp"}, {"value": "tcp"}], }, + "sam_report_intv": {"v_range": [["v7.0.0", ""]], "type": "integer"}, "channel_utilization": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wids_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", }, "darrp": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], - }, - "arrp_profile": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "arrp_profile": {"v_range": [["v7.0.4", ""]], "type": "string"}, "max_clients": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, "max_distance": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, "vap_all": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "options": [ - { - "value": "tunnel", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "bridge", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "manual", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, + {"value": "tunnel", "v_range": [["v6.4.0", ""]]}, + {"value": "bridge", "v_range": [["v6.4.0", ""]]}, + {"value": "manual", "v_range": [["v6.4.0", ""]]}, { "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], }, { "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], }, ], }, @@ -34663,3167 +5950,330 @@ versioned_schema = { "elements": "dict", "children": { "name": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, "channel": { "type": "list", "elements": "dict", "children": { "chan": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", "required": True, } }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], }, "call_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "call_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, "bandwidth_admission_control": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "bandwidth_capacity": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", ""]], "type": "integer", }, - "sam_server": { - "revisions": { - "v7.0.0": True, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - "type": "string", - }, + "sam_server": {"v_range": [["v7.0.0", "v7.0.0"]], "type": "string"}, "spectrum_analysis": { - "revisions": { - "v6.4.1": True, - "v6.4.0": False, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v6.2.7"], + ["v6.4.1", "v6.4.1"], + ], "type": "string", "options": [ - { - "value": "enable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "scan-only", - "revisions": { - "v6.4.1": True, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, - }, - { - "value": "disable", - "revisions": { - "v6.4.1": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, + {"value": "enable"}, + {"value": "scan-only", "v_range": [["v6.4.1", "v6.4.1"]]}, + {"value": "disable"}, ], }, "frequency_handoff": { - "revisions": {"v6.2.7": True, "v6.2.5": True, "v6.2.0": True}, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "ap_handoff": { - "revisions": {"v6.2.7": True, "v6.2.5": True, "v6.2.0": True}, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v6.2.7"]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "set_80211d": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.0": False, - }, + "v_range": [["v7.2.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "lbs": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "dict", "children": { "ekahau_blink_mode": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "ekahau_tag": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - }, - "erc_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "erc_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, + "ekahau_tag": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "erc_server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "erc_server_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "aeroscout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "aeroscout_server_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, - "aeroscout_server_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "aeroscout_mu": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "aeroscout_server_ip": {"v_range": [["v6.0.0", ""]], "type": "string"}, + "aeroscout_server_port": { + "v_range": [["v6.0.0", ""]], + "type": "integer", + }, + "aeroscout_mu": { + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], }, "aeroscout_ap_mac": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "bssid", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "board-mac", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "bssid"}, {"value": "board-mac"}], }, "aeroscout_mmu_report": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], - }, - "aeroscout_mu_factor": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", + "options": [{"value": "enable"}, {"value": "disable"}], }, + "aeroscout_mu_factor": {"v_range": [["v6.0.0", ""]], "type": "integer"}, "aeroscout_mu_timeout": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "fortipresence": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", "options": [ - { - "value": "foreign", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "both", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, + {"value": "foreign"}, + {"value": "both"}, + {"value": "disable"}, ], }, "fortipresence_server_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "ipv4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "fortipresence_server": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "ipv4"}, {"value": "fqdn"}], }, + "fortipresence_server": {"v_range": [["v6.0.0", ""]], "type": "string"}, "fortipresence_server_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "fortipresence_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - "type": "integer", - }, - "fortipresence_secret": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v7.0.2", ""]], "type": "string", }, + "fortipresence_port": {"v_range": [["v6.0.0", ""]], "type": "integer"}, + "fortipresence_secret": {"v_range": [["v6.0.0", ""]], "type": "string"}, "fortipresence_project": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", }, "fortipresence_frequency": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "integer", }, "fortipresence_rogue": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortipresence_unassoc": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "fortipresence_ble": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v6.2.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "station_locate": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "polestar": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "enable"}, {"value": "disable"}], + }, + "polestar_protocol": { + "v_range": [["v7.4.1", ""]], + "type": "string", + "options": [{"value": "WSS"}], + }, + "polestar_server_fqdn": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "polestar_server_path": {"v_range": [["v7.4.1", ""]], "type": "string"}, + "polestar_server_token": { + "v_range": [["v7.4.1", ""]], + "type": "string", + }, + "polestar_server_port": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "polestar_accumulation_interval": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "polestar_reporting_interval": { + "v_range": [["v7.4.1", ""]], + "type": "integer", + }, + "polestar_asset_uuid_list1": { + "v_range": [["v7.4.1", ""]], + "type": "string", + }, + "polestar_asset_uuid_list2": { + "v_range": [["v7.4.1", ""]], + "type": "string", + }, + "polestar_asset_uuid_list3": { + "v_range": [["v7.4.1", ""]], + "type": "string", + }, + "polestar_asset_uuid_list4": { + "v_range": [["v7.4.1", ""]], + "type": "string", + }, + "polestar_asset_addrgrp_list": { + "v_range": [["v7.4.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], }, }, }, "ext_info_enable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "indoor_outdoor_deployment": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "platform-determined", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "outdoor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "indoor", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "platform-determined"}, + {"value": "outdoor"}, + {"value": "indoor"}, ], }, "esl_ses_dongle": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "dict", "children": { "compliance_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "compliance-level-2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - } - ], + "options": [{"value": "compliance-level-2"}], }, "scd_enable": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "esl_channel": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "-1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "0", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "1", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "2", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "3", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "4", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "5", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "6", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "7", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "8", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "9", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "10", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "127", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "-1"}, + {"value": "0"}, + {"value": "1"}, + {"value": "2"}, + {"value": "3"}, + {"value": "4"}, + {"value": "5"}, + {"value": "6"}, + {"value": "7"}, + {"value": "8"}, + {"value": "9"}, + {"value": "10"}, + {"value": "127"}, ], }, "output_power": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", "options": [ - { - "value": "a", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "b", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "c", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "d", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "e", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "f", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "g", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "h", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, + {"value": "a"}, + {"value": "b"}, + {"value": "c"}, + {"value": "d"}, + {"value": "e"}, + {"value": "f"}, + {"value": "g"}, + {"value": "h"}, ], }, "apc_addr_type": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - "options": [ - { - "value": "fqdn", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "ip", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], - }, - "apc_fqdn": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "string", - }, - "apc_ip": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", + "options": [{"value": "fqdn"}, {"value": "ip"}], }, - "apc_port": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - "type": "integer", - }, + "apc_fqdn": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "apc_ip": {"v_range": [["v7.0.1", ""]], "type": "string"}, + "apc_port": {"v_range": [["v7.0.1", ""]], "type": "integer"}, "coex_level": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - } - ], + "options": [{"value": "none"}], }, "tls_cert_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "tls_fqdn_verification": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, }, "console_login": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.1", ""]], "type": "string", - "options": [ - { - "value": "enable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - { - "value": "disable", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - }, - }, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, "wan_port_auth": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - "options": [ - { - "value": "none", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "802.1x", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - ], - }, - "wan_port_auth_usrname": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, - "type": "string", - }, - "wan_port_auth_password": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", + "options": [{"value": "none"}, {"value": "802.1x"}], }, + "wan_port_auth_usrname": {"v_range": [["v7.0.2", ""]], "type": "string"}, + "wan_port_auth_password": {"v_range": [["v7.0.2", ""]], "type": "string"}, "wan_port_auth_methods": { - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.0.2", ""]], "type": "string", "options": [ - { - "value": "all", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "EAP-FAST", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "EAP-TLS", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, - { - "value": "EAP-PEAP", - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - }, - }, + {"value": "all"}, + {"value": "EAP-FAST"}, + {"value": "EAP-TLS"}, + {"value": "EAP-PEAP"}, ], }, "unii_4_5ghz_band": { - "revisions": { - "v7.4.0": True, - "v7.2.4": False, - "v7.2.2": False, - "v7.2.1": False, - "v7.2.0": False, - "v7.0.8": False, - "v7.0.7": False, - "v7.0.6": False, - "v7.0.5": False, - "v7.0.4": False, - "v7.0.3": False, - "v7.0.2": False, - "v7.0.1": False, - "v7.0.0": False, - "v6.4.4": False, - "v6.4.1": False, - "v6.4.0": False, - "v6.2.7": False, - "v6.2.5": False, - "v6.2.3": False, - "v6.2.0": False, - "v6.0.5": False, - "v6.0.11": False, - "v6.0.0": False, - }, + "v_range": [["v7.4.0", ""]], "type": "string", - "options": [ - {"value": "enable", "revisions": {"v7.4.0": True}}, - {"value": "disable", "revisions": {"v7.4.0": True}}, - ], + "options": [{"value": "enable"}, {"value": "disable"}], }, }, - "revisions": { - "v7.4.0": True, - "v7.2.4": True, - "v7.2.2": True, - "v7.2.1": True, - "v7.2.0": True, - "v7.0.8": True, - "v7.0.7": True, - "v7.0.6": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.3": True, - "v6.2.0": True, - "v6.0.5": True, - "v6.0.11": True, - "v6.0.0": True, - }, + "v_range": [["v6.0.0", ""]], } @@ -37845,6 +6295,7 @@ def main(): "required": False, "type": "dict", "default": None, + "no_log": True, "options": {}, }, } @@ -37860,6 +6311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=True) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) diff --git a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_status.py b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_status.py index 77b60301c..e7e3e0827 100644 --- a/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_status.py +++ b/ansible_collections/fortinet/fortios/plugins/modules/fortios_wireless_controller_wtp_status.py @@ -38,7 +38,7 @@ notes: - Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks requirements: - - ansible>=2.9 + - ansible>=2.14 options: access_token: description: @@ -87,22 +87,11 @@ options: """ EXAMPLES = """ -- hosts: fortigates - collections: - - fortinet.fortios - connection: httpapi - vars: - vdom: "root" - ansible_httpapi_use_ssl: yes - ansible_httpapi_validate_certs: no - ansible_httpapi_port: 443 - tasks: - - name: Wireless controller WTP-status. - fortios_wireless_controller_wtp_status: - vdom: "{{ vdom }}" +- name: Wireless controller WTP-status. + fortinet.fortios.fortios_wireless_controller_wtp_status: + vdom: "{{ vdom }}" wireless_controller_wtp_status: - wtp_id: "" - + wtp_id: "" """ RETURN = """ @@ -161,7 +150,6 @@ version: returned: always type: str sample: "v5.6.3" - """ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.connection import Connection @@ -258,7 +246,6 @@ def is_successful_status(resp): def fortios_wireless_controller(data, fos): - fos.do_member_operation("wireless-controller", "wtp-status") if data["wireless_controller_wtp_status"]: resp = wireless_controller_wtp_status(data, fos) @@ -277,39 +264,15 @@ def fortios_wireless_controller(data, fos): versioned_schema = { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [["v6.2.0", "v6.2.0"], ["v6.2.5", "v7.0.5"], ["v7.2.0", "v7.2.0"]], "type": "dict", "children": { "wtp_id": { - "revisions": { - "v7.2.0": True, - "v7.0.5": True, - "v7.0.4": True, - "v7.0.3": True, - "v7.0.2": True, - "v7.0.1": True, - "v7.0.0": True, - "v6.4.4": True, - "v6.4.1": True, - "v6.4.0": True, - "v6.2.7": True, - "v6.2.5": True, - "v6.2.0": True, - }, + "v_range": [ + ["v6.2.0", "v6.2.0"], + ["v6.2.5", "v7.0.5"], + ["v7.2.0", "v7.2.0"], + ], "type": "string", } }, @@ -348,6 +311,11 @@ def main(): module = AnsibleModule(argument_spec=fields, supports_check_mode=False) check_legacy_fortiosapi(module) + is_error = False + has_changed = False + result = None + diff = None + versions_check_result = None if module._socket_path: connection = Connection(module._socket_path) -- cgit v1.2.3